sneakyfree commited on
Commit
2e74133
·
verified ·
1 Parent(s): c6fafec

Promote from WindstormLabs/translate-windy-hplt-en-vi

Browse files
.gitattributes CHANGED
@@ -33,3 +33,5 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
 
 
 
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
36
+ source.spm filter=lfs diff=lfs merge=lfs -text
37
+ target.spm filter=lfs diff=lfs merge=lfs -text
README.md ADDED
@@ -0,0 +1,54 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: cc-by-4.0
3
+ base_model: HPLT/translate-en-vi-v2.0-hplt_opus
4
+ library_name: ctranslate2
5
+ pipeline_tag: translation
6
+ tags: [translation, marian, ctranslate2, int8, en, vi]
7
+ ---
8
+
9
+ # translate-windy-hplt-en — en to vi
10
+
11
+ Bilingual machine translation in **CTranslate2 INT8** for fast CPU inference.
12
+ Fine-tuned by **Windstorm Labs** from [`HPLT/translate-en-vi-v2.0-hplt_opus`](https://huggingface.co/HPLT/translate-en-vi-v2.0-hplt_opus).
13
+
14
+ ## Attribution
15
+
16
+ Derived from [`HPLT/translate-en-vi-v2.0-hplt_opus`](https://huggingface.co/HPLT/translate-en-vi-v2.0-hplt_opus), from the **HPLT** project, licensed under
17
+ **CC-BY-4.0**. **Modified by Windstorm Labs.** Attribution is retained as the licence requires.
18
+
19
+ ## What we did
20
+
21
+ Converted from the upstream Marian release, LoRA fine-tuned on parallel data for this
22
+ language pair, merged into the base weights, then quantized to INT8.
23
+
24
+ | | |
25
+ |---|---|
26
+ | Rank / alpha | 8 / 16 |
27
+ | Learning rate / steps | 2.5e-06 / 50 |
28
+ | Target modules | `q_proj`, `v_proj` |
29
+ | Seed | 42 |
30
+ | Training data | opus100_en-vi (clinic cache), 2,000 sentence pairs |
31
+ | Tensors modified | 36 |
32
+
33
+ ## Provenance
34
+
35
+ ```
36
+ base model.bin sha256 0c94dc9fcf527ddab4e9df98dee176b401213aa3fbaf9c4feed5623e439b9c99
37
+ this model.bin sha256 d2108b1d5cf28a080d3ca20b17a17f313ed6f731a24a9bb9e155a0c05d08b1a9
38
+ ```
39
+
40
+ Verified after INT8 quantization, on the published artifact.
41
+
42
+ ## Evaluation
43
+
44
+ FLORES-200 devtest, 200 sentences, beam 4, CTranslate2 INT8 on CPU.
45
+
46
+ | | spBLEU | chrF |
47
+ |---|---:|---:|
48
+ | this model | **40.35** | 57.7 |
49
+
50
+ ## Notes
51
+
52
+ - Single language pair: en to vi.
53
+ - FLORES-200 is news and encyclopedic prose.
54
+ - No human evaluation was performed.
config.json ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_source_bos": false,
3
+ "add_source_eos": false,
4
+ "bos_token": "<s>",
5
+ "decoder_start_token": "</s>",
6
+ "eos_token": "</s>",
7
+ "layer_norm_epsilon": null,
8
+ "multi_query_attention": false,
9
+ "unk_token": "<unk>"
10
+ }
model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d2108b1d5cf28a080d3ca20b17a17f313ed6f731a24a9bb9e155a0c05d08b1a9
3
+ size 79047635
shared_vocabulary.json ADDED
The diff for this file is too large to render. See raw diff
 
source.spm ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4ee5740271c3510149e02e0cd4211a832d967874e695e606a8b7eb78261d1739
3
+ size 1333836
special_tokens_map.json ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "eos_token": {
3
+ "content": "</s>",
4
+ "lstrip": false,
5
+ "normalized": false,
6
+ "rstrip": false,
7
+ "single_word": false
8
+ },
9
+ "pad_token": {
10
+ "content": "<pad>",
11
+ "lstrip": false,
12
+ "normalized": false,
13
+ "rstrip": false,
14
+ "single_word": false
15
+ },
16
+ "unk_token": {
17
+ "content": "<unk>",
18
+ "lstrip": false,
19
+ "normalized": false,
20
+ "rstrip": false,
21
+ "single_word": false
22
+ }
23
+ }
target.spm ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4ee5740271c3510149e02e0cd4211a832d967874e695e606a8b7eb78261d1739
3
+ size 1333836
tokenizer_config.json ADDED
@@ -0,0 +1,38 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "added_tokens_decoder": {
3
+ "0": {
4
+ "content": "</s>",
5
+ "lstrip": false,
6
+ "normalized": false,
7
+ "rstrip": false,
8
+ "single_word": false,
9
+ "special": true
10
+ },
11
+ "1": {
12
+ "content": "<unk>",
13
+ "lstrip": false,
14
+ "normalized": false,
15
+ "rstrip": false,
16
+ "single_word": false,
17
+ "special": true
18
+ },
19
+ "64000": {
20
+ "content": "<pad>",
21
+ "lstrip": false,
22
+ "normalized": false,
23
+ "rstrip": false,
24
+ "single_word": false,
25
+ "special": true
26
+ }
27
+ },
28
+ "clean_up_tokenization_spaces": false,
29
+ "eos_token": "</s>",
30
+ "model_max_length": 512,
31
+ "pad_token": "<pad>",
32
+ "separate_vocabs": false,
33
+ "source_lang": "",
34
+ "sp_model_kwargs": {},
35
+ "target_lang": "marian",
36
+ "tokenizer_class": "MarianTokenizer",
37
+ "unk_token": "<unk>"
38
+ }
vocab.json ADDED
The diff for this file is too large to render. See raw diff