Xhosa to French translation model translate-xh-fr
Open machine translation from Xhosa into French, published by Windstorm Labs on Hugging Face.
- Task
- Translation: Xhosa → French
- Languages
- Xhosa xh, French fr
- Lineage
- OPUS-MT
- Format
- transformers (Marian), safetensors
- Hugging Face
- WindyTranslate/translate-xh-fr
- Last updated on HF
- 2026-08-04
Quality
| Benchmark | chrF++ | BLEU | Band | Measured |
|---|---|---|---|---|
| FLORES-200 dev, 48 sentences | 33.53 | 10.65 | Usable | 2026-08-04 |
A screening score on 48 sentences, not a publication result. Bands: Excellent ≥ 60, Good 45–60, Usable 30–45, Limited 15–30, Not recommended < 15. Method and caveats.
Recorded output (sentence 1, first 110 characters)
- Source
- NgoMvulo, iinzululwazi ezivela eStandford University School of Medicine zazise ngesixhobo sokuxilonga esitsha …
- Reference
- Des scientifiques de l’école de médecine de l’université de Stanford ont annoncé ce lundi la création d'un nou…
- This model
- Le lundi, les scientifiques de Standford, de l'université de médecine de Standford, ont mis au point un nouvea
How to run
Shell
pip install transformers sentencepiece torchPython
from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
repo = "WindyTranslate/translate-xh-fr"
tok = AutoTokenizer.from_pretrained(repo)
model = AutoModelForSeq2SeqLM.from_pretrained(repo)
batch = tok(["<Xhosa 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-xh-fr
- Upstream licence
- Apache-2.0
- Attribution
- Based on OPUS-MT model Helsinki-NLP/opus-mt-xh-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-xh-fr
(https://huggingface.co/WindyTranslate/translate-xh-fr), published by Windstorm Labs (https://windstormlabs.com).
Based on OPUS-MT model Helsinki-NLP/opus-mt-xh-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.0This is a convenience, not legal advice. See Licensing.
Related models
| Model | chrF++ (FLORES-200 dev) | Licence |
|---|---|---|
| French to Xhosa translate-fr-xh | 32.2 Usable | Apache-2.0 |
| English to French translate-tc-big-en-fr | 69.6 Excellent | CC-BY-4.0 |
| English to French translate-en-fr | 66.2 Excellent | Apache-2.0 |
| Romanian to French translate-ro-fr | 60.9 Excellent | Apache-2.0 |
| Italian to French translate-it-fr | 57.7 Good | Apache-2.0 |
| Danish to French translate-da-fr | 57.1 Good | Apache-2.0 |
| Czech to French translate-cs-fr | 56.9 Good | Apache-2.0 |
| German to French translate-de-fr | 56.7 Good | Apache-2.0 |