Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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"`