Home / Models / Latvian / translate-windy-hplt-en-lv

English to Latvian translation model translate-windy-hplt-en-lv

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

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

Quality

Not yet scored. FLORES-200 has no test set for English → Latvian, 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-lv")
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-lv-v2.0-hplt_opus
Upstream licence
CC-BY-4.0
Attribution
Based on HPLT/translate-en-lv-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-lv
(https://huggingface.co/WindyTranslate/translate-windy-hplt-en-lv), published by Windstorm Labs (https://windstormlabs.com).
Based on HPLT/translate-en-lv-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
Latvian to English
translate-lv-en
not in FLORES-200Apache-2.0
Latvian to English
translate-tc-big-lv-en
not in FLORES-200CC-BY-4.0
Latvian to English
translate-windy-hplt-lv-en
not yet scoredCC-BY-4.0
English to Latvian language-verified
translate-tc-big-en-lv
not in FLORES-200CC-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