Just exploring NLP using 🤗 Transformers.
For now, only French text generation with CamemBERT is implemented.
source env/bin/activate
pip install -r requirements.txt
For now, only available in French with CamemBERT, adapted from RoBERTa.
Just run one of:
python generate.py
Or
python generate.py --text "Ton texte ici est <mask> et fun."
See all the available options by running python generate.py -h
.
If
<mask>
is at the end of the text, you can omit it:
python generate.py -t "Je m'appelle"