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