Downloads · 30 days
15
20% of all-time downloads
BikoRiko/Gpt-2.2
Gpt-2.2 is a text generation model from BikoRiko. Use it when you need the model to write or continue text. The card lists the license as mit.
Gpt-2.2 is a fine-tuned version of the GPT-2 base model, optimized for language modeling tasks using the Hugging Face transformers library.
Downloads · 30 days
15
20% of all-time downloads
All-time downloads
76
Public
Parameters
124M
996 MB on disk
Likes
1
Public
Click a slice to open those files.
.safetensors498 MB · 99%
From the Hugging Face model README
Gpt-2.2 is a fine-tuned version of the GPT-2 base model, optimized for language modeling tasks using the Hugging Face transformers library.
This model works through causal language modeling, predicting the next token in a sequence based on previous context.
To download and use Gpt-2.2, other users simply need the transformers library installed. They can load it directly from the Hugging Face Hub using your repository ID:
from transformers import GPT2LMHeadModel, GPT2Tokenizer
# Replace with your actual repo ID if different
repo_id = "BikoRiko/Gpt-2.2"
# Download and load the model
model = GPT2LMHeadModel.from_pretrained(repo_id)
tokenizer = GPT2Tokenizer.from_pretrained(repo_id)
# Ready to generate text!