Downloads · 30 days
226
0% of all-time downloads
ClassCat/gpt2-base-french
gpt2-base-french is a text generation model from ClassCat. 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-by-sa-4.0.
Downloads · 30 days
226
0% of all-time downloads
All-time downloads
113K
Public
Repo size
11.2 GB
Likes
6
Public
Click a slice to open those files.
.bin510 MB · 99%
From the Hugging Face model README
transformers==4.19.2
This model uses GPT2 base setttings except vocabulary size.
Using BPE tokenizer with vocabulary size 50,000.
from transformers import pipeline
generator = pipeline('text-generation', model='ClassCat/gpt2-base-french')
generator("Je vais à la", max_length=50, num_return_sequences=5)