Instructions to use Helsinki-NLP/opus-mt-nl-eo with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Helsinki-NLP/opus-mt-nl-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-nl-eo")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("Helsinki-NLP/opus-mt-nl-eo") model = AutoModelForSeq2SeqLM.from_pretrained("Helsinki-NLP/opus-mt-nl-eo", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
set `renormalize_logits=True` for better performance (see `transformers` issue #4290)
573143d
-
Adding generation config file(s)
9cb9444
-
Add TF weights
Joao Gante8b1cbde
-
Update README.md
9d5c377 -
Update README.md
44c20e6 -
Update metadata.json
b369f3c
-
Update README.md
df1eb61 -
Update config.json
dc53b8b -
Update metadata.json
f6a636c -
Update tokenizer_config.json
b191623 -
Update vocab.json
bedc7b5 -
Update README.md
8229399 -
Update metadata.json
95d6fe3 -
Update README.md
2fd9fe3 -
Update config.json
13f2d0a -
Update metadata.json
3b460b1 -
Update pytorch_model.bin
96cac48 -
Update source.spm
aeaadcd -
Update target.spm
07456ad -
Update tokenizer_config.json
bbc6b89 -
Update vocab.json
2f8c301 -
initial commit
812645e