Instructions to use Helsinki-NLP/opus-mt-mfe-es with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Helsinki-NLP/opus-mt-mfe-es 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-mfe-es")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("Helsinki-NLP/opus-mt-mfe-es") model = AutoModelForSeq2SeqLM.from_pretrained("Helsinki-NLP/opus-mt-mfe-es", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
set `renormalize_logits=True` for better performance (see `transformers` issue #4290)
3eee87a
-
Adding generation config file(s)
010789e
-
Add TF weights
Joao Gante35f8cc6
-
metadata: add license
21ab6da
-
Update README.md
e64a4ca
-
Update README.md
0aa78b7 -
Update config.json
d0c9ae1 -
Update tokenizer_config.json
2b616d1 -
Update vocab.json
32139bd
-
Update README.md
4b840a7 -
Update config.json
500e7d0 -
Update tokenizer_config.json
f6dbb50 -
Update vocab.json
6d57ad7 -
Update README.md
79bb7c2
-
Update README.md
274a3f5 -
Update README.md
70342a5
-
Update README.md
d59ae45
-
Update README.md
7f1a0b8
-
Update config.json
ae0d98e -
Update config.json
c774443
-
Update config.json
1f95c71 -
Update config.json
e8815df
-
Update target.spm
d312c38 -
Update tokenizer_config.json
7ccd084 -
Update vocab.json
1d662c2 -
Update source.spm
3b1a758 -
Update config.json
d32c747 -
Update pytorch_model.bin
6f6a4f1 -
initial commit
8c01e47