Initial commit
Browse files- README.md +96 -0
- config.json +56 -0
- metadata.json +1 -0
- pytorch_model.bin +3 -0
- source.spm +0 -0
- special_tokens_map.json +1 -0
- target.spm +0 -0
- tokenizer_config.json +1 -0
- vocab.json +0 -0
README.md
ADDED
@@ -0,0 +1,96 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
language:
|
3 |
+
- it
|
4 |
+
- he
|
5 |
+
|
6 |
+
tags:
|
7 |
+
- translation
|
8 |
+
|
9 |
+
license: apache-2.0
|
10 |
+
---
|
11 |
+
### it-he
|
12 |
+
|
13 |
+
* source group: Italian
|
14 |
+
* target group: Hebrew
|
15 |
+
* OPUS readme: [ita-heb](https://github.com/Helsinki-NLP/Tatoeba-Challenge/tree/master/models/ita-heb/README.md)
|
16 |
+
|
17 |
+
* model: transformer
|
18 |
+
* source language(s): ita
|
19 |
+
* target language(s): heb
|
20 |
+
* model: transformer
|
21 |
+
* pre-processing: normalization + SentencePiece (spm32k,spm32k)
|
22 |
+
* download original weights: [opus-2020-12-10.zip](https://object.pouta.csc.fi/Tatoeba-MT-models/ita-heb/opus-2020-12-10.zip)
|
23 |
+
* test set translations: [opus-2020-12-10.test.txt](https://object.pouta.csc.fi/Tatoeba-MT-models/ita-heb/opus-2020-12-10.test.txt)
|
24 |
+
* test set scores: [opus-2020-12-10.eval.txt](https://object.pouta.csc.fi/Tatoeba-MT-models/ita-heb/opus-2020-12-10.eval.txt)
|
25 |
+
|
26 |
+
## Benchmarks
|
27 |
+
|
28 |
+
| testset | BLEU | chr-F |
|
29 |
+
|-----------------------|-------|-------|
|
30 |
+
| Tatoeba-test.ita.heb | 38.5 | 0.593 |
|
31 |
+
|
32 |
+
|
33 |
+
### System Info:
|
34 |
+
- hf_name: it-he
|
35 |
+
|
36 |
+
- source_languages: ita
|
37 |
+
|
38 |
+
- target_languages: heb
|
39 |
+
|
40 |
+
- opus_readme_url: https://github.com/Helsinki-NLP/Tatoeba-Challenge/tree/master/models/ita-heb/README.md
|
41 |
+
|
42 |
+
- original_repo: Tatoeba-Challenge
|
43 |
+
|
44 |
+
- tags: ['translation']
|
45 |
+
|
46 |
+
- languages: ['it', 'he']
|
47 |
+
|
48 |
+
- src_constituents: ('Italian', {'ita'})
|
49 |
+
|
50 |
+
- tgt_constituents: ('Hebrew', {'heb'})
|
51 |
+
|
52 |
+
- src_multilingual: False
|
53 |
+
|
54 |
+
- tgt_multilingual: False
|
55 |
+
|
56 |
+
- long_pair: ita-heb
|
57 |
+
|
58 |
+
- prepro: normalization + SentencePiece (spm32k,spm32k)
|
59 |
+
|
60 |
+
- url_model: https://object.pouta.csc.fi/Tatoeba-MT-models/ita-heb/opus-2020-12-10.zip
|
61 |
+
|
62 |
+
- url_test_set: https://object.pouta.csc.fi/Tatoeba-MT-models/ita-heb/opus-2020-12-10.test.txt
|
63 |
+
|
64 |
+
- src_alpha3: ita
|
65 |
+
|
66 |
+
- tgt_alpha3: heb
|
67 |
+
|
68 |
+
- chrF2_score: 0.593
|
69 |
+
|
70 |
+
- bleu: 38.5
|
71 |
+
|
72 |
+
- brevity_penalty: 0.985
|
73 |
+
|
74 |
+
- ref_len: 9796.0
|
75 |
+
|
76 |
+
- src_name: Italian
|
77 |
+
|
78 |
+
- tgt_name: Hebrew
|
79 |
+
|
80 |
+
- train_date: 2020-12-10 00:00:00
|
81 |
+
|
82 |
+
- src_alpha2: it
|
83 |
+
|
84 |
+
- tgt_alpha2: he
|
85 |
+
|
86 |
+
- prefer_old: False
|
87 |
+
|
88 |
+
- short_pair: it-he
|
89 |
+
|
90 |
+
- helsinki_git_sha: b317f78a3ec8a556a481b6a53dc70dc11769ca96
|
91 |
+
|
92 |
+
- transformers_git_sha: 1310e1a758edc8e89ec363db76863c771fbeb1de
|
93 |
+
|
94 |
+
- port_machine: LM0-400-22516.local
|
95 |
+
|
96 |
+
- port_time: 2020-12-11-16:02
|
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 |
+
63129
|
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": 63129,
|
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": 63129,
|
52 |
+
"scale_embedding": true,
|
53 |
+
"static_position_embeddings": true,
|
54 |
+
"use_cache": true,
|
55 |
+
"vocab_size": 63130
|
56 |
+
}
|
metadata.json
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"hf_name":"it-he","source_languages":"ita","target_languages":"heb","opus_readme_url":"https:\/\/github.com\/Helsinki-NLP\/Tatoeba-Challenge\/tree\/master\/models\/ita-heb\/README.md","original_repo":"Tatoeba-Challenge","tags":["translation"],"languages":["it","he"],"src_constituents":["Italian",["ita"]],"tgt_constituents":["Hebrew",["heb"]],"src_multilingual":false,"tgt_multilingual":false,"long_pair":"ita-heb","prepro":" normalization + SentencePiece (spm32k,spm32k)","url_model":"https:\/\/object.pouta.csc.fi\/Tatoeba-MT-models\/ita-heb\/opus-2020-12-10.zip","url_test_set":"https:\/\/object.pouta.csc.fi\/Tatoeba-MT-models\/ita-heb\/opus-2020-12-10.test.txt","src_alpha3":"ita","tgt_alpha3":"heb","chrF2_score":0.593,"bleu":38.5,"brevity_penalty":0.985,"ref_len":9796.0,"src_name":"Italian","tgt_name":"Hebrew","train_date":1607558400000,"src_alpha2":"it","tgt_alpha2":"he","prefer_old":false,"short_pair":"it-he","helsinki_git_sha":"b317f78a3ec8a556a481b6a53dc70dc11769ca96","transformers_git_sha":"1310e1a758edc8e89ec363db76863c771fbeb1de","port_machine":"LM0-400-22516.local","port_time":"2020-12-11-16:02"}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:bf021b0f024caf716cd60857051e565bafa7bee2e08885a087ef4759e92d6522
|
3 |
+
size 153136027
|
source.spm
ADDED
Binary file (825 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 (896 kB). View file
|
|
tokenizer_config.json
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"source_lang": "ita", "target_lang": "heb", "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/ita-heb"}
|
vocab.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|