Translation
Transformers
PyTorch
TensorFlow
Safetensors
English
Tigrinya
marian
text2text-generation
Instructions to use Helsinki-NLP/opus-mt-en-ti with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Helsinki-NLP/opus-mt-en-ti 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-en-ti")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("Helsinki-NLP/opus-mt-en-ti") model = AutoModelForSeq2SeqLM.from_pretrained("Helsinki-NLP/opus-mt-en-ti", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Adding `safetensors` variant of this model (#2)
- Adding `safetensors` variant of this model (632534fa0e0d9efd54dbea7f5a5ea5dc0ab89898) Co-authored-by: Safetensors convertbot <SFconvertbot@users.noreply.huggingface.co>72f1e40
-
set `renormalize_logits=True` for better performance (see `transformers` issue #4290)
8c3dc7c
-
Adding generation config file(s)
695870f
-
Add TF weights
Joao Gantec532e43
-
metadata: add license
55151ff
-
Changed num_beams to 4
56d920f
-
Update README.md
eab69c9
-
Update README.md
5bbb8e3 -
Update config.json
fb72c5a -
Update tokenizer_config.json
bbe9b07 -
Update vocab.json
af9b1d0
-
Update README.md
b9cc049 -
Update config.json
ded45ed -
Update tokenizer_config.json
31a3632 -
Update vocab.json
7aa568c -
Update README.md
cb1657d
-
Update README.md
180b8c0 -
Update README.md
f4c7e53
-
Update README.md
58053b1
-
Update README.md
3b2a3f8
-
Update config.json
9fa6597 -
Update config.json
f79e98c
-
Update config.json
a1ddfe6 -
Update config.json
c0cef37
-
Update vocab.json
12adcd3 -
Update source.spm
87b5a65 -
Update target.spm
5a86309 -
Update tokenizer_config.json
e57e739 -
Update config.json
25522d7 -
Update pytorch_model.bin
d47b4f2 -
initial commit
d0a6dc0