Home / Models / Persian / translate-windy-hplt-en-fa

English to Persian translation model translate-windy-hplt-en-fa

Open machine translation from English into Persian, published by Windstorm Labs on Hugging Face.

Task
Translation: English → Persian
Languages
English en, Persian fa
Lineage
HPLT
Format
CTranslate2 (INT8)
Hugging Face
WindyTranslate/translate-windy-hplt-en-fa
Last updated on HF
2026-08-04

Quality

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

How to run

Shell
pip install ctranslate2 sentencepiece huggingface_hub
Python
import ctranslate2
import sentencepiece as spm
from huggingface_hub import snapshot_download

path = snapshot_download("WindyTranslate/translate-windy-hplt-en-fa")
sp_src = spm.SentencePieceProcessor(model_file=f"{path}/source.spm")
sp_tgt = spm.SentencePieceProcessor(model_file=f"{path}/target.spm")
translator = ctranslate2.Translator(path, device="cpu")

tokens = sp_src.encode("Where is the train station?", out_type=str) + ["</s>"]
result = translator.translate_batch([tokens], beam_size=4)
print(sp_tgt.decode(result[0].hypotheses[0]))

Tested: Pattern run on 2026-10-01 against WindyTranslate/translate-windy-hplt-af-en with ctranslate2 4.8.2 on CPU. Not run on every model individually.

Licence and attribution

Licence
CC-BY-4.0
Upstream
HPLT/translate-en-fa-v2.0-hplt_opus
Upstream licence
CC-BY-4.0
Attribution
Based on HPLT/translate-en-fa-v2.0-hplt_opus by the HPLT project (High Performance Language Technologies). Licensed CC-BY-4.0.

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

NOTICE
This product uses the model WindyTranslate/translate-windy-hplt-en-fa
(https://huggingface.co/WindyTranslate/translate-windy-hplt-en-fa), published by Windstorm Labs (https://windstormlabs.com).
Based on HPLT/translate-en-fa-v2.0-hplt_opus by the HPLT project (High Performance Language Technologies). Licensed CC-BY-4.0.
Windstorm Labs modified the upstream weights; the model card describes what was changed.
Licensed under Creative Commons Attribution 4.0 International: https://creativecommons.org/licenses/by/4.0/

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

Related models

ModelchrF++ (FLORES-200 dev)Licence
Persian to English
translate-windy-hplt-fa-en
not yet scoredCC-BY-4.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
English to Swedish
translate-en-sv
64.7 ExcellentApache-2.0
English to Romanian
translate-tc-big-en-ro
64.4 ExcellentCC-BY-4.0