Home / Models / Afro-Asiatic languages / translate-en-afa

English to Afro-Asiatic languages translation model translate-en-afa

Open machine translation from English into Afro-Asiatic languages, published by Windstorm Labs on Hugging Face. This model covers several target languages; see the snippet for the target token.

Task
Translation: English → Afro-Asiatic languages
Languages
English en, Afro-Asiatic languages afa
Lineage
OPUS-MT
Format
transformers (Marian), safetensors
Hugging Face
WindyTranslate/translate-en-afa
Last updated on HF
2026-08-04

Quality

Not yet scored. FLORES-200 has no test set for English → Afro-Asiatic languages, 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-en-afa"
tok = AutoTokenizer.from_pretrained(repo)
model = AutoModelForSeq2SeqLM.from_pretrained(repo)

# Several target languages: start each input with a target token such as >>xxx<<.
# The valid tokens are listed in the upstream model card.
batch = tok([">>xxx<< Where is the train station?"], 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-en-afa
Upstream licence
Apache-2.0
Attribution
Based on OPUS-MT model Helsinki-NLP/opus-mt-en-afa 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-en-afa
(https://huggingface.co/WindyTranslate/translate-en-afa), published by Windstorm Labs (https://windstormlabs.com).
Based on OPUS-MT model Helsinki-NLP/opus-mt-en-afa 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
Afro-Asiatic languages to English
translate-afa-en
not in FLORES-200Apache-2.0
Afro-Asiatic languages to English
translate-tc-bible-big-afa-en
not in FLORES-200Apache-2.0
Afro-Asiatic languages to English
translate-tcbig-bible_afa-en
not in FLORES-200Apache-2.0
English to French
translate-tc-big-en-fr
69.6 ExcellentCC-BY-4.0
English to Portuguese
translate-tc-big-en-pt
66.6 ExcellentCC-BY-4.0
English to Bulgarian
translate-tc-big-en-bg
66.6 ExcellentCC-BY-4.0
English to French
translate-en-fr
66.2 ExcellentApache-2.0
English to Danish
translate-en-da
65.6 ExcellentApache-2.0