Downloads · 30 days
31
0% of all-time downloads
nandinib1999/quote-generator
quote-generator is a text generation model from nandinib1999. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as cc.
This is a GPT2 model fine-tuned on the Quotes-500K dataset.
Downloads · 30 days
31
0% of all-time downloads
All-time downloads
6.2K
Public
Repo size
1.5 GB
Likes
5
Public
Click a slice to open those files.
.bin510 MB · 51%
From the Hugging Face model README
This is a GPT2 model fine-tuned on the Quotes-500K dataset.
For a given user prompt, it can generate motivational quotes starting with it.
from transformers import AutoTokenizer, AutoModelWithLMHead
tokenizer = AutoTokenizer.from_pretrained("nandinib1999/quote-generator")
model = AutoModelWithLMHead.from_pretrained("nandinib1999/quote-generator")
This is the distribution of the total dataset into training, validation and test dataset for the fine-tuning task.
<table style="width:30%"> <tr> <th>train</th> <td>349796</td> </tr> <tr> <th>validation</th> <td>99942</td> </tr> <tr> <th>test</th> <td>49971</td> </tr> </table>The model was fine-tuned using the Google Colab GPU for one epoch. The weights of the pre-trained GPT2 model were used as a base.