Downloads · 30 days
12
20% of all-time downloads
Ketansomewhere/gpt-neo
gpt-neo is a text generation model from Ketansomewhere. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as mit.
should probably proofread and complete it, then remove this comment. --
Downloads · 30 days
12
20% of all-time downloads
All-time downloads
60
Public
Parameters
110M
884 MB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors442 MB · 100%
From the Hugging Face model README
This model is a fine-tuned version of gpt2 on an unknown dataset. It achieves the following results on the evaluation set:
More information needed
More information needed
More information needed
The following hyperparameters were used during training:
| Training Loss | Epoch | Step | Validation Loss |
|---|---|---|---|
| 4.7567 | 0.9972 | 269 | 4.8276 |
| 4.4098 | 1.9944 | 538 | 4.5624 |
To run:-
import torch
from transformers import pipeline, T5Tokenizer
tokenizer = T5Tokenizer.from_pretrained("t5-base")
device = 'cuda'
device = 0 if torch.cuda.is_available() else -1 # Use GPU if available, otherwise CPU
# Create the pipeline
text_generator = pipeline("text-generation", model="Ketansomewhere/gpt-neo", tokenizer=tokenizer, device=device)