Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/basilenouvellet/hugging-face-exploration
Just exploring NLP with 🤗 Transformers
https://github.com/basilenouvellet/hugging-face-exploration
camembert huggingface nlp roberta text-generation transformers
Last synced: 2 months ago
JSON representation
Just exploring NLP with 🤗 Transformers
- Host: GitHub
- URL: https://github.com/basilenouvellet/hugging-face-exploration
- Owner: basilenouvellet
- Created: 2020-01-13T02:02:32.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2022-12-08T03:26:01.000Z (about 2 years ago)
- Last Synced: 2023-03-08T07:50:54.098Z (almost 2 years ago)
- Topics: camembert, huggingface, nlp, roberta, text-generation, transformers
- Language: Python
- Size: 9.77 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Hugging Face Exploration
Just exploring NLP using 🤗 Transformers.
For now, only French text generation with CamemBERT is implemented.
## Install
```bash
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:
```bash
python generate.py
```Or
```bash
python generate.py --text "Ton texte ici est et fun."
```See all the available options by running `python generate.py -h`.
> If `` is at the end of the text, you can omit it:
>
> `python generate.py -t "Je m'appelle"`