Downloads · 30 days
14
6% of all-time downloads
Mayko2995/gpt2-quote-fr-v1.1
gpt2-quote-fr-v1.1 is a text generation model from Mayko2995. 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.
A fine-tuned GPT-2 model for generating philosophical and inspirational quotes in French.
Downloads · 30 days
14
6% of all-time downloads
All-time downloads
239
Public
Parameters
163M
651 MB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors651 MB · 99%
From the Hugging Face model README
A fine-tuned GPT-2 model for generating philosophical and inspirational quotes in French.
This model is based on asi/gpt-fr-cased-small and has been
fine-tuned on a dataset of 975 carefully collected French quotes
covering various philosophical themes.
from transformers import pipeline
generator = pipeline(
"text-generation",
model="Mayko2995/gpt2-quote-fr-v1.1"
)
result = generator(
"Le bonheur est",
max_new_tokens=20,
temperature=0.8,
do_sample=True,
repetition_penalty=2.0,
no_repeat_ngram_size=3
)
print(result[0]["generated_text"])
"Le bonheur est une petite chose que l'on invente
avec la sagesse de chaque instant."
"Dans l'existence, il faut avoir une âme pour
comprendre que tout existe."
"La vie est un voyage vers son avenir qu'il nous
faudra parcourir avec sagesse et humilité."
✅ Generating inspirational French quotes ✅ Creative writing assistance ✅ Educational NLP projects ✅ French language generation research
❌ Factual information generation ❌ Translation tasks ❌ Other languages
Jonasson Claubert Joachin — Self-taught AI Engineer 🇭🇹 Based in Haiti — passionate about NLP and LLMs
Building AI tools adapted to the Haitian context
| Version | Dataset | Val Loss |
|---|---|---|
| v1.0 | 300 quotes | 1.12 |
| v1.1 | 975 quotes | 0.71 ✅ |
The following hyperparameters were used during training:
| Training Loss | Epoch | Step | Validation Loss |
|---|---|---|---|
| 1.5437 | 1.0 | 49 | 1.2013 |
| 1.0311 | 2.0 | 98 | 0.9540 |
| 0.8106 | 3.0 | 147 | 0.8370 |
| 0.7146 | 4.0 | 196 | 0.7859 |
| 0.6868 | 5.0 | 245 | 0.7580 |
| 0.5707 | 6.0 | 294 | 0.7380 |
| 0.5532 | 7.0 | 343 | 0.7201 |
| 0.5705 | 8.0 | 392 | 0.7145 |
| 0.5311 | 9.0 | 441 | 0.7129 |
| 0.5057 | 10.0 | 490 | 0.7113 |