Downloads · 30 days
13
7% of all-time downloads
cglez/gpt2-ohsumed
gpt2-ohsumed is a text generation model from cglez. 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.
An in-domain GPT-2, pre-trained from scratch on the Ohsumed dataset text.
Downloads · 30 days
13
7% of all-time downloads
All-time downloads
178
Public
Parameters
124M
6.5 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors498 MB · 99%
From the Hugging Face model README
An in-domain GPT-2, pre-trained from scratch on the Ohsumed dataset text.
This model is based on the GPT-2 architecture and was pre-trained from scratch (in-domain) using the text in Ohsumed dataset, excluding its test split.
Intermediate checkpoints from the pre-training process are available and can be accessed using specific tags, which correspond to training epochs and steps:
| Epoch | Step | Tags | |
|---|---|---|---|
| 1 | 97 | epoch-1 | step-97 |
| 5 | 489 | epoch-5 | step-489 |
| 10 | 978 | epoch-10 | step-978 |
| 20 | 1956 | epoch-20 | step-1956 |
| 40 | 3913 | epoch-40 | step-3913 |
| 60 | 5870 | epoch-60 | step-5870 |
| 80 | 7826 | epoch-80 | step-7826 |
| 100 | 9783 | epoch-100 | step-9783 |
| 120 | 11740 | epoch-120 | step-11740 |
| 140 | 13696 | epoch-140 | step-13696 |
| 160 | 15653 | epoch-160 | step-15653 |
| 180 | 17468 | epoch-180 | step-17468 |
| 200 | 19400 | epoch-200 | step-19400 |
To load a model from a specific intermediate checkpoint, use the revision parameter with the corresponding tag:
from transformers import AutoModelForCausalLM
model = AutoModelForMaskedLM.from_pretrained("<model-name>", revision="<checkpoint-tag>")
For more details on the training procedure, please refer to the base model's documentation: Training procedure.
All texts from Ohsumed dataset, excluding the test partition.
For typical use cases and limitations, please refer to the base model's guidance: Inteded uses & limitations.
This model inherits potential risks and limitations from the base model. Refer to: Limitations and bias.
BibTeX:
[More Information Needed]