Instructions to use Helsinki-NLP/opus-mt-fr-eo with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Helsinki-NLP/opus-mt-fr-eo 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-fr-eo")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("Helsinki-NLP/opus-mt-fr-eo") model = AutoModelForSeq2SeqLM.from_pretrained("Helsinki-NLP/opus-mt-fr-eo", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
set `renormalize_logits=True` for better performance (see `transformers` issue #4290)
0b93f80
-
Adding generation config file(s)
9bd7924
-
Add TF weights
Joao Gantee14d3e8
-
metadata: add license
8b7be50
-
Changed num_beams to 4
780f18c
-
Update README.md
a23069d
-
Update README.md
b9838b6 -
Update config.json
318373c -
Update tokenizer_config.json
76423e3 -
Update vocab.json
bd84b8f
-
Update README.md
4e485bb -
Update config.json
8fa8c24 -
Update tokenizer_config.json
462ea46 -
Update vocab.json
59d20c9 -
Update README.md
fcbac68
-
Update README.md
6987307 -
Update README.md
fbd2911
-
Update README.md
0055dee
-
Update README.md
833a28b
-
Update config.json
be0a4f9 -
Update config.json
a731fe8
-
Update config.json
a6d4ffb -
Update config.json
ae1375e
-
Update source.spm
a14d820 -
Update target.spm
f8c4888 -
Update tokenizer_config.json
d90dd4a -
Update vocab.json
010b1c3 -
Update config.json
29c8a44 -
Update pytorch_model.bin
388a520 -
initial commit
49d6974