Home / Models / French / translate-niu-fr

Niuean to French translation model translate-niu-fr

Open machine translation from Niuean into French, published by Windstorm Labs on Hugging Face.

Task
Translation: Niuean → French
Languages
Niuean niu, French fr
Lineage
OPUS-MT
Format
transformers (Marian), safetensors
Hugging Face
WindyTranslate/translate-niu-fr
Last updated on HF
2026-08-04

Quality

Not yet scored. FLORES-200 has no test set for Niuean → French, so this pair is outside the screening run.

How to run

Shell
pip install transformers sentencepiece torch
Python
from transformers import AutoTokenizer, AutoModelForSeq2SeqLM

repo = "WindyTranslate/translate-niu-fr"
tok = AutoTokenizer.from_pretrained(repo)
model = AutoModelForSeq2SeqLM.from_pretrained(repo)

batch = tok(["<Niuean text>"], return_tensors="pt", padding=True)
print(tok.batch_decode(model.generate(**batch), skip_special_tokens=True)[0])

Tested: Pattern run on 2026-10-01 against WindyTranslate/translate-tc-big-en-fr with transformers 4.57.6 and 5.18.0 on CPU ("Où se trouve la gare ?"); multi-target token prefix run against translate-tc-bible-big-mul-deu_eng_nld. Not run on every model individually.

Licence and attribution

Licence
Apache-2.0
Upstream
Helsinki-NLP/opus-mt-niu-fr
Upstream licence
Apache-2.0
Attribution
Based on OPUS-MT model Helsinki-NLP/opus-mt-niu-fr by Helsinki-NLP (Language Technology Research Group, University of Helsinki). Licensed Apache-2.0.

Copy this into your NOTICE file (or equivalent) when you ship the model:

NOTICE
This product uses the model WindyTranslate/translate-niu-fr
(https://huggingface.co/WindyTranslate/translate-niu-fr), published by Windstorm Labs (https://windstormlabs.com).
Based on OPUS-MT model Helsinki-NLP/opus-mt-niu-fr by Helsinki-NLP (Language Technology Research Group, University of Helsinki). Licensed Apache-2.0.
Windstorm Labs modified the upstream weights; the model card describes what was changed.
Licensed under the Apache License, Version 2.0: https://www.apache.org/licenses/LICENSE-2.0

This is a convenience, not legal advice. See Licensing.

Related models

ModelchrF++ (FLORES-200 dev)Licence
French to Niuean
translate-fr-niu
not in FLORES-200Apache-2.0
English to French
translate-tc-big-en-fr
69.6 ExcellentCC-BY-4.0
English to French
translate-en-fr
66.2 ExcellentApache-2.0
Romanian to French
translate-ro-fr
60.9 ExcellentApache-2.0
Italian to French
translate-it-fr
57.7 GoodApache-2.0
Danish to French
translate-da-fr
57.1 GoodApache-2.0
Czech to French
translate-cs-fr
56.9 GoodApache-2.0
German to French
translate-de-fr
56.7 GoodApache-2.0