Downloads · 30 days
17
15% of all-time downloads
Jjzzzz/distilgpt2-finetuned-stories
distilgpt2-finetuned-stories is a text generation model from Jjzzzz. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as apache-2.0.
should probably proofread and complete it, then remove this comment. --
Downloads · 30 days
17
15% of all-time downloads
All-time downloads
115
Public
Parameters
81.9M
328 MB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors328 MB · 100%
From the Hugging Face model README
This model is a fine-tuned version of distilgpt2 on the demelin/understanding_fables dataset. It achieves the following results on the evaluation set:
Language Modelling, especially text generation works on the principle of generating the next token based on its previous antecedents.
This is what Autoregressive modelling are based on, it predicts the next token i.e. word here on the basis of token preceding it. Here, we take P(wi|wi-1), where wi is next word and wi-1 is token preceeding it, and P is the probbaility pf generating wi wrt wi-1
But for Prefix Language modelling, we consider input into function and consider it in generation of our next word, i.e. the input is used as a context for generation of next tokens, calculating the conditional probability of next work wrt context. P(w|x), where w is next token and x is context and P is probability of getting w wrt x context.
The following hyperparameters were used during training:
| Training Loss | Epoch | Step | Validation Loss |
|---|---|---|---|
| No log | 1.0 | 20 | 3.4065 |
| No log | 2.0 | 40 | 3.3288 |
| No log | 3.0 | 60 | 3.3089 |