Downloads · 30 days
15
2% of all-time downloads
mgfrantz/distilgpt2-finetuned-reddit-tifu
distilgpt2-finetuned-reddit-tifu is a text generation model from mgfrantz. 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.
This model was trained to as practice for fine-tuning a causal language model. There was no intended use case for this model besides having some fun seeing how different things might be screwed up.
Downloads · 30 days
15
2% of all-time downloads
All-time downloads
743
Public
Parameters
88.2M
3.6 GB on disk
Likes
0
Public
Click a slice to open those files.
.pt2 GB · 54%
How the weights are stored.
F3281.9M · 93%
From the Hugging Face model README
This model was trained to as practice for fine-tuning a causal language model. There was no intended use case for this model besides having some fun seeing how different things might be screwed up.
This model was trained on "short" subset of reddit_tifu dataset.
The data was split into 90% train and 10% validation using dataset.train_test_split, with a seed of 0.
To prepare the data for training, the "tldr" and "documents" fields were joined by "\n\n".
When multiple items were in the "tldr" or "documents" fields, only the first item was selected for joining.
These joined documents were tokenized using the "distilgpt2" tokenizer.
Finally, tokenized texts were concatenated end-to-end and split into blocks of 128 tokens.
TODO: Add a different separation token between documents that can be used to stop generation.
This model was trained in Colab by fine-tuning distilgpt2 for 174390 steps (3 epochs).
Default training arguments were used, except for learning_rate=2e-5 and weight_decay=0.01.
At the conclusion of training, a training loss of 3.52 and a validation loss of 3.44 were observed.