tiedeman commited on
Commit
66c9fde
1 Parent(s): e6c43bf

Initial commit

Browse files
README.md ADDED
@@ -0,0 +1,97 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ language:
3
+ - es
4
+ - zh
5
+
6
+ tags:
7
+ - translation
8
+
9
+ license: apache-2.0
10
+ ---
11
+ ### es-zh
12
+
13
+ * source group: Spanish
14
+ * target group: Chinese
15
+ * OPUS readme: [spa-zho](https://github.com/Helsinki-NLP/Tatoeba-Challenge/tree/master/models/spa-zho/README.md)
16
+
17
+ * model: transformer
18
+ * source language(s): spa
19
+ * target language(s): cjy_Hans cjy_Hant cmn cmn_Hans cmn_Hant hsn hsn_Hani lzh nan wuu yue_Hans yue_Hant
20
+ * model: transformer
21
+ * pre-processing: normalization + SentencePiece (spm32k,spm32k)
22
+ * a sentence initial language token is required in the form of `>>id<<` (id = valid target language ID)
23
+ * download original weights: [opus-2021-01-04.zip](https://object.pouta.csc.fi/Tatoeba-MT-models/spa-zho/opus-2021-01-04.zip)
24
+ * test set translations: [opus-2021-01-04.test.txt](https://object.pouta.csc.fi/Tatoeba-MT-models/spa-zho/opus-2021-01-04.test.txt)
25
+ * test set scores: [opus-2021-01-04.eval.txt](https://object.pouta.csc.fi/Tatoeba-MT-models/spa-zho/opus-2021-01-04.eval.txt)
26
+
27
+ ## Benchmarks
28
+
29
+ | testset | BLEU | chr-F |
30
+ |-----------------------|-------|-------|
31
+ | Tatoeba-test.spa.zho | 38.8 | 0.324 |
32
+
33
+
34
+ ### System Info:
35
+ - hf_name: es-zh
36
+
37
+ - source_languages: spa
38
+
39
+ - target_languages: zho
40
+
41
+ - opus_readme_url: https://github.com/Helsinki-NLP/Tatoeba-Challenge/tree/master/models/spa-zho/README.md
42
+
43
+ - original_repo: Tatoeba-Challenge
44
+
45
+ - tags: ['translation']
46
+
47
+ - languages: ['es', 'zh']
48
+
49
+ - src_constituents: ('Spanish', {'spa'})
50
+
51
+ - tgt_constituents: ('Chinese', {'wuu_Bopo', 'wuu', 'cmn_Hang', 'lzh_Kana', 'lzh', 'wuu_Hani', 'lzh_Yiii', 'yue_Hans', 'cmn_Hani', 'cjy_Hans', 'cmn_Hans', 'cmn_Kana', 'zho_Hans', 'zho_Hant', 'yue', 'cmn_Bopo', 'yue_Hang', 'lzh_Hans', 'wuu_Latn', 'yue_Hant', 'hak_Hani', 'lzh_Bopo', 'cmn_Hant', 'lzh_Hani', 'lzh_Hang', 'cmn', 'lzh_Hira', 'yue_Bopo', 'yue_Hani', 'gan', 'zho', 'cmn_Yiii', 'yue_Hira', 'cmn_Latn', 'yue_Kana', 'cjy_Hant', 'cmn_Hira', 'nan_Hani', 'nan'})
52
+
53
+ - src_multilingual: False
54
+
55
+ - tgt_multilingual: False
56
+
57
+ - long_pair: spa-zho
58
+
59
+ - prepro: normalization + SentencePiece (spm32k,spm32k)
60
+
61
+ - url_model: https://object.pouta.csc.fi/Tatoeba-MT-models/spa-zho/opus-2021-01-04.zip
62
+
63
+ - url_test_set: https://object.pouta.csc.fi/Tatoeba-MT-models/spa-zho/opus-2021-01-04.test.txt
64
+
65
+ - src_alpha3: spa
66
+
67
+ - tgt_alpha3: zho
68
+
69
+ - chrF2_score: 0.324
70
+
71
+ - bleu: 38.8
72
+
73
+ - brevity_penalty: 0.878
74
+
75
+ - ref_len: 22762.0
76
+
77
+ - src_name: Spanish
78
+
79
+ - tgt_name: Chinese
80
+
81
+ - train_date: 2021-01-04 00:00:00
82
+
83
+ - src_alpha2: es
84
+
85
+ - tgt_alpha2: zh
86
+
87
+ - prefer_old: False
88
+
89
+ - short_pair: es-zh
90
+
91
+ - helsinki_git_sha: dfdcef114ffb8a8dbb7a3fcf84bde5af50309500
92
+
93
+ - transformers_git_sha: 1310e1a758edc8e89ec363db76863c771fbeb1de
94
+
95
+ - port_machine: LM0-400-22516.local
96
+
97
+ - port_time: 2021-01-04-18:53
config.json ADDED
@@ -0,0 +1,56 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "activation_dropout": 0.0,
3
+ "activation_function": "swish",
4
+ "add_bias_logits": false,
5
+ "add_final_layer_norm": false,
6
+ "architectures": [
7
+ "MarianMTModel"
8
+ ],
9
+ "attention_dropout": 0.0,
10
+ "bad_words_ids": [
11
+ [
12
+ 65000
13
+ ]
14
+ ],
15
+ "bos_token_id": 0,
16
+ "classifier_dropout": 0.0,
17
+ "d_model": 512,
18
+ "decoder_attention_heads": 8,
19
+ "decoder_ffn_dim": 2048,
20
+ "decoder_layerdrop": 0.0,
21
+ "decoder_layers": 6,
22
+ "decoder_start_token_id": 65000,
23
+ "do_blenderbot_90_layernorm": false,
24
+ "dropout": 0.1,
25
+ "encoder_attention_heads": 8,
26
+ "encoder_ffn_dim": 2048,
27
+ "encoder_layerdrop": 0.0,
28
+ "encoder_layers": 6,
29
+ "eos_token_id": 0,
30
+ "extra_pos_embeddings": 2,
31
+ "force_bos_token_to_be_generated": false,
32
+ "id2label": {
33
+ "0": "LABEL_0",
34
+ "1": "LABEL_1",
35
+ "2": "LABEL_2"
36
+ },
37
+ "init_std": 0.02,
38
+ "is_encoder_decoder": true,
39
+ "label2id": {
40
+ "LABEL_0": 0,
41
+ "LABEL_1": 1,
42
+ "LABEL_2": 2
43
+ },
44
+ "max_length": 512,
45
+ "max_position_embeddings": 512,
46
+ "model_type": "marian",
47
+ "normalize_before": false,
48
+ "normalize_embedding": false,
49
+ "num_beams": 6,
50
+ "num_hidden_layers": 6,
51
+ "pad_token_id": 65000,
52
+ "scale_embedding": true,
53
+ "static_position_embeddings": true,
54
+ "use_cache": true,
55
+ "vocab_size": 65001
56
+ }
metadata.json ADDED
@@ -0,0 +1 @@
 
1
+ {"hf_name":"es-zh","source_languages":"spa","target_languages":"zho","opus_readme_url":"https:\/\/github.com\/Helsinki-NLP\/Tatoeba-Challenge\/tree\/master\/models\/spa-zho\/README.md","original_repo":"Tatoeba-Challenge","tags":["translation"],"languages":["es","zh"],"src_constituents":["Spanish",["spa"]],"tgt_constituents":["Chinese",["wuu_Bopo","wuu","cmn_Hang","lzh_Kana","lzh","wuu_Hani","lzh_Yiii","yue_Hans","cmn_Hani","cjy_Hans","cmn_Hans","cmn_Kana","zho_Hans","zho_Hant","yue","cmn_Bopo","yue_Hang","lzh_Hans","wuu_Latn","yue_Hant","hak_Hani","lzh_Bopo","cmn_Hant","lzh_Hani","lzh_Hang","cmn","lzh_Hira","yue_Bopo","yue_Hani","gan","zho","cmn_Yiii","yue_Hira","cmn_Latn","yue_Kana","cjy_Hant","cmn_Hira","nan_Hani","nan"]],"src_multilingual":false,"tgt_multilingual":false,"long_pair":"spa-zho","prepro":" normalization + SentencePiece (spm32k,spm32k)","url_model":"https:\/\/object.pouta.csc.fi\/Tatoeba-MT-models\/spa-zho\/opus-2021-01-04.zip","url_test_set":"https:\/\/object.pouta.csc.fi\/Tatoeba-MT-models\/spa-zho\/opus-2021-01-04.test.txt","src_alpha3":"spa","tgt_alpha3":"zho","chrF2_score":0.324,"bleu":38.8,"brevity_penalty":0.878,"ref_len":22762.0,"src_name":"Spanish","tgt_name":"Chinese","train_date":1609718400000,"src_alpha2":"es","tgt_alpha2":"zh","prefer_old":false,"short_pair":"es-zh","helsinki_git_sha":"dfdcef114ffb8a8dbb7a3fcf84bde5af50309500","transformers_git_sha":"1310e1a758edc8e89ec363db76863c771fbeb1de","port_machine":"LM0-400-22516.local","port_time":"2021-01-04-18:53"}
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:53269d122666ef14b68d3b410ca89000d9c2b3eddd75fd7e38c7a69035df7620
3
+ size 155055643
source.spm ADDED
Binary file (835 kB). View file
special_tokens_map.json ADDED
@@ -0,0 +1 @@
 
1
+ {"eos_token": "</s>", "unk_token": "<unk>", "pad_token": "<pad>"}
target.spm ADDED
Binary file (809 kB). View file
tokenizer_config.json ADDED
@@ -0,0 +1 @@
 
1
+ {"source_lang": "spa", "target_lang": "zho", "unk_token": "<unk>", "eos_token": "</s>", "pad_token": "<pad>", "model_max_length": 512, "special_tokens_map_file": null, "tokenizer_file": null, "name_or_path": "marian_ckpt/spa-zho"}
vocab.json ADDED
The diff for this file is too large to render. See raw diff