Instructions to use Helsinki-NLP/opus-mt-lue-es with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Helsinki-NLP/opus-mt-lue-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-lue-es")# Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("Helsinki-NLP/opus-mt-lue-es") model = AutoModelForSeq2SeqLM.from_pretrained("Helsinki-NLP/opus-mt-lue-es", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Xet hash:
- b501d0eb4a1f5d60edf6f2cc063afcbd19fea821c33ab631450931e30b76634c
- Size of remote file:
- 306 MB
- SHA256:
- 613821b2766f4dea1a04a7b08634110bdf7b9e754c771620e3578eaf28973def
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.