Downloads · 30 days
0
mkd13mkd/gpt-fr-sentiment-classifier
gpt-fr-sentiment-classifier is a text generation model from mkd13mkd. Use it when you need the model to write or continue text. The card lists the license as mit.
Modèle GPT-2 affiné sur un roman français (“Les belles-de-nuit, tome IV” – Paul Féval, Project Gutenberg 43554). Idéal pour la génération créative façon roman-feuilleton XIXᵉ siècle.
Downloads · 30 days
0
Access
Public
Updated Jul 7, 2025
Repo size
—
Likes
0
Public
Click a slice to open those files.
Other1.5 KB · 56%
From the Hugging Face model README
Modèle GPT-2 affiné sur un roman français
(“Les belles-de-nuit, tome IV” – Paul Féval, Project Gutenberg #43554).
Idéal pour la génération créative façon roman-feuilleton XIXᵉ siècle.
| Valeur | |
|---|---|
| Base | asi/gpt-fr-cased-small |
| Corpus | 1 roman FR (~1,2 M tokens) |
| Époques | 40 |
| Perplexité (val) | 12 |
| Token accuracy | 88 % |
from transformers import pipeline
gen = pipeline("text-generation",
model="mkd13mkd/gpt-fr-gutenberg-clm",
tokenizer="asi/gpt-fr-cased-small",
max_new_tokens=60, do_sample=True, temperature=0.8)
print(gen("Une silhouette drapée de voiles noirs errait dans le château, et")[0]["generated_text"])