Translation
Transformers
Safetensors
Kinyarwanda
Swedish
marian
text2text-generation
candle
opus-mt
malinali
Instructions to use malinali-app/opus-mt-rw-sv with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use malinali-app/opus-mt-rw-sv 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="malinali-app/opus-mt-rw-sv")# Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("malinali-app/opus-mt-rw-sv") model = AutoModelForSeq2SeqLM.from_pretrained("malinali-app/opus-mt-rw-sv", device_map="auto") - Notebooks
- Google Colab
- Kaggle
rw β sv Marian / Candle (Malinali)
Public on-device pack for Malinali: Helsinki-NLP OPUS-MT
weights in safetensors form plus fast tokenizers for Candle (marian_flutter).
Upstream credit
- Base model:
Helsinki-NLP/opus-mt-rw-sv - Project: Helsinki-NLP / OPUS-MT
- License: follow the upstream model card (typically CC-BY 4.0 for OPUS-MT)
Malinali only repackages weights + converts SentencePiece β Hugging Face fast tokenizer JSON for on-device inference. We do not claim ownership of the trained model.
Files (required)
| File | Role |
|---|---|
config.json |
Marian config |
model.safetensors |
Weights |
tokenizer-enc.json |
Source fast tokenizer |
tokenizer-dec.json |
Target fast tokenizer |
Direction: rw β sv.
- Downloads last month
- -
Model tree for malinali-app/opus-mt-rw-sv
Base model
Helsinki-NLP/opus-mt-rw-sv