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