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