How to use from the
Use from the
Transformers library
# 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-fr-yo")
# pip install -U transformers accelerate
# Load model directly
from transformers import AutoTokenizer, AutoModelForSeq2SeqLM

tokenizer = AutoTokenizer.from_pretrained("malinali-app/opus-mt-fr-yo")
model = AutoModelForSeq2SeqLM.from_pretrained("malinali-app/opus-mt-fr-yo", device_map="auto")
Quick Links

fr โ†’ yo 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

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: fr โ†’ yo.

Downloads last month
27
Safetensors
Model size
75.2M params
Tensor type
F32
ยท
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Model tree for malinali-app/opus-mt-fr-yo

Finetuned
(4)
this model