Instructions to use Helsinki-NLP/opus-mt-eo-fr with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Helsinki-NLP/opus-mt-eo-fr with Transformers:
# Use a pipeline as a high-level helper # Warning: Pipeline type "translation" is no longer supported in transformers v5. # You must load the model directly (see below) or downgrade to v4.x with: # pip install "transformers<5.0.0" from transformers import pipeline pipe = pipeline("translation", model="Helsinki-NLP/opus-mt-eo-fr")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("Helsinki-NLP/opus-mt-eo-fr") model = AutoModelForSeq2SeqLM.from_pretrained("Helsinki-NLP/opus-mt-eo-fr", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
set `renormalize_logits=True` for better performance (see `transformers` issue #4290)
c3e195f
-
Adding generation config file(s)
c0b1848
-
Add TF weights
Joao Ganteb7b8327
-
metadata: add license
3d9fb1c
-
Changed num_beams to 4
af0fbbd
-
Update README.md
af8aff5
-
Update README.md
c600877 -
Update config.json
fa122e9 -
Update tokenizer_config.json
9ced968 -
Update vocab.json
4cc89eb
-
Update README.md
261a11f -
Update vocab.json
73a560c -
Update config.json
b625ea0 -
Update tokenizer_config.json
a31a5a2 -
Update README.md
e1d2faf
-
Update README.md
bdf7e72 -
Update README.md
52bce45
-
Update README.md
672eaef
-
Update README.md
9bafc86
-
Update config.json
de03290 -
Update config.json
f5aa6a8
-
Update config.json
f486c36 -
Update config.json
4d06dfd
-
Update target.spm
5a1c068 -
Update tokenizer_config.json
2e4c0c5 -
Update vocab.json
f7087b0 -
Update source.spm
cdc67f9 -
Update config.json
7042653 -
Update pytorch_model.bin
87dbc97 -
initial commit
f20ca21