Views
No views yet
facebook/m2m100_1.2B.facebook/m2m100_1.2B, copyright
Meta Platforms, Inc., licensed under MIT. Modified by Windstorm Labs.
The upstream copyright notice is retained as the licence requires.| Method | LoRA, merged into base |
| Rank / alpha | 8 / 16 |
| Learning rate / steps | 2.5e-06 / 50 |
| Target modules | q_proj, v_proj |
| Precision | bfloat16 |
| Seed | 42 |
| Training data | OPUS-100, 3,200 sentence pairs, 8 languages |
| Tensors modified | 144 of 1016 |
model.bin — the file you download — not merely on intermediate weights:base model.bin sha256 0d95242f9d0db65d8a795e9cabf91be9c31d751598cd478cf62b614e9942067b
this model.bin sha256 1e5b5de892bfcafe58c99379c03ab8aceb9ed7da8e8de425bf525faef59ff3f3sacrebleu, flores200 tokenizer) and chrF (word_order=0) — both
script-uniform, so CJK and Latin pairs are directly comparable.| pair | spBLEU | chrF |
|---|---|---|
| en-es | 29.37 | 53.61 |
| en-fr | 49.56 | 67.72 |
| en-de | 41.30 | 62.54 |
| en-it | 31.93 | 56.29 |
| en-pt | 50.19 | 68.54 |
| en-ru | 36.05 | 55.85 |
| en-zh | 27.36 | 29.68 |
| en-ja | 23.11 | 35.10 |
| en-ko | 19.01 | 32.57 |
| en-ar | 20.57 | 42.28 |
| en-hi | 29.24 | 51.42 |
| en-sw | 28.19 | 55.32 |
| es-en | 30.46 | 56.90 |
| fr-en | 44.93 | 66.08 |
| zh-en | 27.52 | 54.56 |
| ja-en | 26.19 | 53.38 |
| mean | 32.19 | 52.62 |
1import ctranslate2
2from transformers import AutoTokenizer
3
4tok = AutoTokenizer.from_pretrained("WindstormLabs/translate-windy-core") # tokenizer ships in this repo
5tr = ctranslate2.Translator("WindstormLabs/translate-windy-core", device="cpu", compute_type="int8")
6
7tok.src_lang = "en"
8src = tok.convert_ids_to_tokens(tok.encode("Where can I find a pharmacy?"))
9res = tr.translate_batch([src], target_prefix=[[tok.lang_code_to_token["es"]]], beam_size=4)
10print(tok.decode(tok.convert_tokens_to_ids(res[0].hypotheses[0][1:]), skip_special_tokens=True))