Skip to content
This repository has been archived by the owner on Jan 4, 2024. It is now read-only.

basilenouvellet/hugging-face-exploration

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hugging Face Exploration

Just exploring NLP using 🤗 Transformers.

For now, only French text generation with CamemBERT is implemented.

Install

source env/bin/activate
pip install -r requirements.txt

Text generation

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"

Releases

No releases published

Packages

 
 
 

Languages