Home / Models / Tswana / translate-es-tn

Spanish to Tswana translation model translate-es-tn

Open machine translation from Spanish into Tswana, published by Windstorm Labs on Hugging Face.

Task
Translation: Spanish → Tswana
Languages
Spanish es, Tswana tn
Lineage
OPUS-MT
Format
transformers (Marian), safetensors
Hugging Face
WindyTranslate/translate-es-tn
Last updated on HF
2026-08-04

Quality

BenchmarkchrF++BLEUBandMeasured
FLORES-200 dev, 48 sentences36.128.64Usable2026-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
El lunes, los científicos de la facultad de medicina de la Universidad de Stanford anunciaron el invento de un…
Reference
Ka Mosupologo, baitsanape ba Sekwele sa Bongaka sa Yunibesithi ya Stanford ba ntsi tse pego ya go re ba dirile…
This model
Ka Mantaga, borasaense ba tsa kalafi kwa Yunibesithing ya boitshwaro ba ne ba itsise ka sedirisiwa sengwe se s

How to run

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

repo = "WindyTranslate/translate-es-tn"
tok = AutoTokenizer.from_pretrained(repo)
model = AutoModelForSeq2SeqLM.from_pretrained(repo)

batch = tok(["<Spanish 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-es-tn
Upstream licence
Apache-2.0
Attribution
Based on OPUS-MT model Helsinki-NLP/opus-mt-es-tn 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-es-tn
(https://huggingface.co/WindyTranslate/translate-es-tn), published by Windstorm Labs (https://windstormlabs.com).
Based on OPUS-MT model Helsinki-NLP/opus-mt-es-tn 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
Tswana to Spanish
translate-tn-es
33.6 UsableApache-2.0
Spanish to English
translate-es-en
57.7 GoodApache-2.0
Spanish to French
translate-es-fr
55.9 GoodApache-2.0
Spanish to Catalan
translate-es-ca
53.5 GoodApache-2.0
Spanish to Danish
translate-es-da
53.1 GoodApache-2.0
Spanish to Romanian
translate-es-ro
50.4 GoodApache-2.0
Spanish to Galician
translate-es-gl
50.2 GoodApache-2.0
Spanish to Dutch
translate-es-nl
50.1 GoodApache-2.0