init
Browse files- .gitattributes +6 -24
- README.md +104 -3
- config.json +59 -0
- flax_model.msgpack +3 -0
- metadata.json +1 -0
- pytorch_model.bin +3 -0
- source.spm +0 -0
- target.spm +0 -0
- tokenizer_config.json +1 -0
- vocab.json +0 -0
.gitattributes
CHANGED
@@ -1,27 +1,9 @@
|
|
1 |
-
*.7z filter=lfs diff=lfs merge=lfs -text
|
2 |
-
*.arrow filter=lfs diff=lfs merge=lfs -text
|
3 |
-
*.bin filter=lfs diff=lfs merge=lfs -text
|
4 |
*.bin.* filter=lfs diff=lfs merge=lfs -text
|
5 |
-
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
6 |
-
*.ftz filter=lfs diff=lfs merge=lfs -text
|
7 |
-
*.gz filter=lfs diff=lfs merge=lfs -text
|
8 |
-
*.h5 filter=lfs diff=lfs merge=lfs -text
|
9 |
-
*.joblib filter=lfs diff=lfs merge=lfs -text
|
10 |
*.lfs.* filter=lfs diff=lfs merge=lfs -text
|
11 |
-
*.
|
12 |
-
*.
|
13 |
-
*.onnx filter=lfs diff=lfs merge=lfs -text
|
14 |
-
*.ot filter=lfs diff=lfs merge=lfs -text
|
15 |
-
*.parquet filter=lfs diff=lfs merge=lfs -text
|
16 |
-
*.pb filter=lfs diff=lfs merge=lfs -text
|
17 |
-
*.pt filter=lfs diff=lfs merge=lfs -text
|
18 |
-
*.pth filter=lfs diff=lfs merge=lfs -text
|
19 |
-
*.rar filter=lfs diff=lfs merge=lfs -text
|
20 |
-
saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
21 |
-
*.tar.* filter=lfs diff=lfs merge=lfs -text
|
22 |
*.tflite filter=lfs diff=lfs merge=lfs -text
|
23 |
-
*.
|
24 |
-
*.
|
25 |
-
*.
|
26 |
-
*.
|
27 |
-
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
1 |
*.bin.* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
2 |
*.lfs.* filter=lfs diff=lfs merge=lfs -text
|
3 |
+
*.bin filter=lfs diff=lfs merge=lfs -text
|
4 |
+
*.h5 filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
5 |
*.tflite filter=lfs diff=lfs merge=lfs -text
|
6 |
+
*.tar.gz filter=lfs diff=lfs merge=lfs -text
|
7 |
+
*.ot filter=lfs diff=lfs merge=lfs -text
|
8 |
+
*.onnx filter=lfs diff=lfs merge=lfs -text
|
9 |
+
*.msgpack filter=lfs diff=lfs merge=lfs -text
|
|
README.md
CHANGED
@@ -1,3 +1,104 @@
|
|
1 |
-
---
|
2 |
-
|
3 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
language:
|
3 |
+
- en
|
4 |
+
- es
|
5 |
+
|
6 |
+
tags:
|
7 |
+
- translation
|
8 |
+
|
9 |
+
license: apache-2.0
|
10 |
+
---
|
11 |
+
|
12 |
+
### eng-spa
|
13 |
+
|
14 |
+
* source group: English
|
15 |
+
* target group: Spanish
|
16 |
+
* OPUS readme: [eng-spa](https://github.com/Helsinki-NLP/Tatoeba-Challenge/tree/master/models/eng-spa/README.md)
|
17 |
+
|
18 |
+
* model: transformer
|
19 |
+
* source language(s): eng
|
20 |
+
* target language(s): spa
|
21 |
+
* model: transformer
|
22 |
+
* pre-processing: normalization + SentencePiece (spm32k,spm32k)
|
23 |
+
* download original weights: [opus-2020-08-18.zip](https://object.pouta.csc.fi/Tatoeba-MT-models/eng-spa/opus-2020-08-18.zip)
|
24 |
+
* test set translations: [opus-2020-08-18.test.txt](https://object.pouta.csc.fi/Tatoeba-MT-models/eng-spa/opus-2020-08-18.test.txt)
|
25 |
+
* test set scores: [opus-2020-08-18.eval.txt](https://object.pouta.csc.fi/Tatoeba-MT-models/eng-spa/opus-2020-08-18.eval.txt)
|
26 |
+
|
27 |
+
## Benchmarks
|
28 |
+
|
29 |
+
| testset | BLEU | chr-F |
|
30 |
+
|-----------------------|-------|-------|
|
31 |
+
| newssyscomb2009-engspa.eng.spa | 31.0 | 0.583 |
|
32 |
+
| news-test2008-engspa.eng.spa | 29.7 | 0.564 |
|
33 |
+
| newstest2009-engspa.eng.spa | 30.2 | 0.578 |
|
34 |
+
| newstest2010-engspa.eng.spa | 36.9 | 0.620 |
|
35 |
+
| newstest2011-engspa.eng.spa | 38.2 | 0.619 |
|
36 |
+
| newstest2012-engspa.eng.spa | 39.0 | 0.625 |
|
37 |
+
| newstest2013-engspa.eng.spa | 35.0 | 0.598 |
|
38 |
+
| Tatoeba-test.eng.spa | 54.9 | 0.721 |
|
39 |
+
|
40 |
+
|
41 |
+
### System Info:
|
42 |
+
- hf_name: eng-spa
|
43 |
+
|
44 |
+
- source_languages: eng
|
45 |
+
|
46 |
+
- target_languages: spa
|
47 |
+
|
48 |
+
- opus_readme_url: https://github.com/Helsinki-NLP/Tatoeba-Challenge/tree/master/models/eng-spa/README.md
|
49 |
+
|
50 |
+
- original_repo: Tatoeba-Challenge
|
51 |
+
|
52 |
+
- tags: ['translation']
|
53 |
+
|
54 |
+
- languages: ['en', 'es']
|
55 |
+
|
56 |
+
- src_constituents: {'eng'}
|
57 |
+
|
58 |
+
- tgt_constituents: {'spa'}
|
59 |
+
|
60 |
+
- src_multilingual: False
|
61 |
+
|
62 |
+
- tgt_multilingual: False
|
63 |
+
|
64 |
+
- prepro: normalization + SentencePiece (spm32k,spm32k)
|
65 |
+
|
66 |
+
- url_model: https://object.pouta.csc.fi/Tatoeba-MT-models/eng-spa/opus-2020-08-18.zip
|
67 |
+
|
68 |
+
- url_test_set: https://object.pouta.csc.fi/Tatoeba-MT-models/eng-spa/opus-2020-08-18.test.txt
|
69 |
+
|
70 |
+
- src_alpha3: eng
|
71 |
+
|
72 |
+
- tgt_alpha3: spa
|
73 |
+
|
74 |
+
- short_pair: en-es
|
75 |
+
|
76 |
+
- chrF2_score: 0.721
|
77 |
+
|
78 |
+
- bleu: 54.9
|
79 |
+
|
80 |
+
- brevity_penalty: 0.978
|
81 |
+
|
82 |
+
- ref_len: 77311.0
|
83 |
+
|
84 |
+
- src_name: English
|
85 |
+
|
86 |
+
- tgt_name: Spanish
|
87 |
+
|
88 |
+
- train_date: 2020-08-18 00:00:00
|
89 |
+
|
90 |
+
- src_alpha2: en
|
91 |
+
|
92 |
+
- tgt_alpha2: es
|
93 |
+
|
94 |
+
- prefer_old: False
|
95 |
+
|
96 |
+
- long_pair: eng-spa
|
97 |
+
|
98 |
+
- helsinki_git_sha: d2f0910c89026c34a44e331e785dec1e0faa7b82
|
99 |
+
|
100 |
+
- transformers_git_sha: f7af09b4524b784d67ae8526f0e2fcc6f5ed0de9
|
101 |
+
|
102 |
+
- port_machine: brutasse
|
103 |
+
|
104 |
+
- port_time: 2020-08-24-18:20
|
config.json
ADDED
@@ -0,0 +1,59 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 |
+
"classif_dropout": 0.0,
|
17 |
+
"classifier_dropout": 0.0,
|
18 |
+
"d_model": 512,
|
19 |
+
"decoder_attention_heads": 8,
|
20 |
+
"decoder_ffn_dim": 2048,
|
21 |
+
"decoder_layerdrop": 0.0,
|
22 |
+
"decoder_layers": 6,
|
23 |
+
"decoder_start_token_id": 65000,
|
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": 65001,
|
31 |
+
"force_bos_token_to_be_generated": false,
|
32 |
+
"forced_eos_token_id": 0,
|
33 |
+
"gradient_checkpointing": false,
|
34 |
+
"id2label": {
|
35 |
+
"0": "LABEL_0",
|
36 |
+
"1": "LABEL_1",
|
37 |
+
"2": "LABEL_2"
|
38 |
+
},
|
39 |
+
"init_std": 0.02,
|
40 |
+
"is_encoder_decoder": true,
|
41 |
+
"label2id": {
|
42 |
+
"LABEL_0": 0,
|
43 |
+
"LABEL_1": 1,
|
44 |
+
"LABEL_2": 2
|
45 |
+
},
|
46 |
+
"max_length": 700,
|
47 |
+
"max_position_embeddings": 700,
|
48 |
+
"model_type": "marian",
|
49 |
+
"normalize_before": false,
|
50 |
+
"normalize_embedding": false,
|
51 |
+
"num_beams": 4,
|
52 |
+
"num_hidden_layers": 6,
|
53 |
+
"pad_token_id": 65000,
|
54 |
+
"scale_embedding": true,
|
55 |
+
"static_position_embeddings": true,
|
56 |
+
"transformers_version": "4.9.0.dev0",
|
57 |
+
"use_cache": true,
|
58 |
+
"vocab_size": 65001
|
59 |
+
}
|
flax_model.msgpack
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:14b5e0865da9b6764e18b637e7c7e34b04be927dc41a1ba97bff23962c2f5857
|
3 |
+
size 309944974
|
metadata.json
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"hf_name":"eng-spa","source_languages":"eng","target_languages":"spa","opus_readme_url":"https:\/\/github.com\/Helsinki-NLP\/Tatoeba-Challenge\/tree\/master\/models\/eng-spa\/README.md","original_repo":"Tatoeba-Challenge","tags":["translation"],"languages":["en","es"],"src_constituents":["eng"],"tgt_constituents":["spa"],"src_multilingual":false,"tgt_multilingual":false,"prepro":" normalization + SentencePiece (spm32k,spm32k)","url_model":"https:\/\/object.pouta.csc.fi\/Tatoeba-MT-models\/eng-spa\/opus-2020-08-18.zip","url_test_set":"https:\/\/object.pouta.csc.fi\/Tatoeba-MT-models\/eng-spa\/opus-2020-08-18.test.txt","src_alpha3":"eng","tgt_alpha3":"spa","short_pair":"en-es","chrF2_score":0.721,"bleu":54.9,"brevity_penalty":0.978,"ref_len":77311.0,"src_name":"English","tgt_name":"Spanish","train_date":1597708800000,"src_alpha2":"en","tgt_alpha2":"es","prefer_old":false,"long_pair":"eng-spa","helsinki_git_sha":"d2f0910c89026c34a44e331e785dec1e0faa7b82","transformers_git_sha":"f7af09b4524b784d67ae8526f0e2fcc6f5ed0de9","port_machine":"brutasse","port_time":"2020-08-24-18:20"}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:befce0f620e8e63f83bbb7f0818eb51d541cba28057a7cc14b00466d85c4994c
|
3 |
+
size 312087523
|
source.spm
ADDED
Binary file (802 kB). View file
|
|
target.spm
ADDED
Binary file (826 kB). View file
|
|
tokenizer_config.json
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"target_lang": "spa", "source_lang": "eng"}
|
vocab.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|