aoiandroid commited on
Commit
e1f2996
·
verified ·
1 Parent(s): e514b2c

Add files using upload-large-folder tool

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. Helsinki-NLP-opus-mt-ar-en/tokenizer_config.json +39 -0
  2. Helsinki-NLP-opus-mt-ar-en/vocab.json +0 -0
  3. Helsinki-NLP-opus-mt-ar-eo/README.md +97 -0
  4. Helsinki-NLP-opus-mt-ar-eo/config.json +56 -0
  5. Helsinki-NLP-opus-mt-ar-eo/generation_config.json +16 -0
  6. Helsinki-NLP-opus-mt-ar-eo/special_tokens_map.json +5 -0
  7. Helsinki-NLP-opus-mt-ar-eo/tokenizer.json +0 -0
  8. Helsinki-NLP-opus-mt-ar-eo/tokenizer_config.json +39 -0
  9. Helsinki-NLP-opus-mt-ar-eo/vocab.json +0 -0
  10. Helsinki-NLP-opus-mt-ar-es/README.md +97 -0
  11. Helsinki-NLP-opus-mt-ar-es/config.json +56 -0
  12. Helsinki-NLP-opus-mt-ar-es/generation_config.json +16 -0
  13. Helsinki-NLP-opus-mt-ar-es/special_tokens_map.json +5 -0
  14. Helsinki-NLP-opus-mt-ar-es/tokenizer.json +0 -0
  15. Helsinki-NLP-opus-mt-ar-es/tokenizer_config.json +39 -0
  16. Helsinki-NLP-opus-mt-ar-es/vocab.json +0 -0
  17. Helsinki-NLP-opus-mt-ar-fr/README.md +25 -0
  18. Helsinki-NLP-opus-mt-ar-fr/config.json +56 -0
  19. Helsinki-NLP-opus-mt-ar-fr/generation_config.json +16 -0
  20. Helsinki-NLP-opus-mt-ar-fr/special_tokens_map.json +5 -0
  21. Helsinki-NLP-opus-mt-ar-fr/tokenizer.json +0 -0
  22. Helsinki-NLP-opus-mt-ar-fr/tokenizer_config.json +39 -0
  23. Helsinki-NLP-opus-mt-ar-fr/vocab.json +0 -0
  24. Helsinki-NLP-opus-mt-ar-he/README.md +97 -0
  25. Helsinki-NLP-opus-mt-ar-he/config.json +56 -0
  26. Helsinki-NLP-opus-mt-ar-he/generation_config.json +16 -0
  27. Helsinki-NLP-opus-mt-ar-he/special_tokens_map.json +5 -0
  28. Helsinki-NLP-opus-mt-ar-he/tokenizer.json +0 -0
  29. Helsinki-NLP-opus-mt-ar-he/tokenizer_config.json +39 -0
  30. Helsinki-NLP-opus-mt-ar-he/vocab.json +0 -0
  31. Helsinki-NLP-opus-mt-ar-it/README.md +97 -0
  32. Helsinki-NLP-opus-mt-ar-it/config.json +56 -0
  33. Helsinki-NLP-opus-mt-ar-it/generation_config.json +16 -0
  34. Helsinki-NLP-opus-mt-ar-it/special_tokens_map.json +5 -0
  35. Helsinki-NLP-opus-mt-ar-it/tokenizer.json +0 -0
  36. Helsinki-NLP-opus-mt-ar-it/tokenizer_config.json +39 -0
  37. Helsinki-NLP-opus-mt-ar-it/vocab.json +0 -0
  38. Helsinki-NLP-opus-mt-ar-pl/README.md +97 -0
  39. Helsinki-NLP-opus-mt-ar-pl/config.json +56 -0
  40. Helsinki-NLP-opus-mt-ar-pl/generation_config.json +16 -0
  41. Helsinki-NLP-opus-mt-ar-pl/special_tokens_map.json +5 -0
  42. Helsinki-NLP-opus-mt-ar-pl/tokenizer.json +0 -0
  43. Helsinki-NLP-opus-mt-ar-pl/tokenizer_config.json +39 -0
  44. Helsinki-NLP-opus-mt-ar-pl/vocab.json +0 -0
  45. Helsinki-NLP-opus-mt-ar-ru/README.md +97 -0
  46. Helsinki-NLP-opus-mt-ar-ru/config.json +56 -0
  47. Helsinki-NLP-opus-mt-ar-ru/generation_config.json +16 -0
  48. Helsinki-NLP-opus-mt-ar-ru/special_tokens_map.json +5 -0
  49. Helsinki-NLP-opus-mt-ar-ru/tokenizer.json +0 -0
  50. Helsinki-NLP-opus-mt-ar-ru/tokenizer_config.json +39 -0
Helsinki-NLP-opus-mt-ar-en/tokenizer_config.json ADDED
@@ -0,0 +1,39 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ "62833": {
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
+ "extra_special_tokens": {},
31
+ "model_max_length": 512,
32
+ "pad_token": "<pad>",
33
+ "separate_vocabs": false,
34
+ "source_lang": "ar",
35
+ "sp_model_kwargs": {},
36
+ "target_lang": "en",
37
+ "tokenizer_class": "MarianTokenizer",
38
+ "unk_token": "<unk>"
39
+ }
Helsinki-NLP-opus-mt-ar-en/vocab.json ADDED
The diff for this file is too large to render. See raw diff
 
Helsinki-NLP-opus-mt-ar-eo/README.md ADDED
@@ -0,0 +1,97 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ language:
3
+ - ar
4
+ - eo
5
+
6
+ tags:
7
+ - translation
8
+
9
+ license: apache-2.0
10
+ ---
11
+
12
+ ### ara-epo
13
+
14
+ * source group: Arabic
15
+ * target group: Esperanto
16
+ * OPUS readme: [ara-epo](https://github.com/Helsinki-NLP/Tatoeba-Challenge/tree/master/models/ara-epo/README.md)
17
+
18
+ * model: transformer-align
19
+ * source language(s): apc apc_Latn ara arq arq_Latn arz
20
+ * target language(s): epo
21
+ * model: transformer-align
22
+ * pre-processing: normalization + SentencePiece (spm4k,spm4k)
23
+ * download original weights: [opus-2020-06-16.zip](https://object.pouta.csc.fi/Tatoeba-MT-models/ara-epo/opus-2020-06-16.zip)
24
+ * test set translations: [opus-2020-06-16.test.txt](https://object.pouta.csc.fi/Tatoeba-MT-models/ara-epo/opus-2020-06-16.test.txt)
25
+ * test set scores: [opus-2020-06-16.eval.txt](https://object.pouta.csc.fi/Tatoeba-MT-models/ara-epo/opus-2020-06-16.eval.txt)
26
+
27
+ ## Benchmarks
28
+
29
+ | testset | BLEU | chr-F |
30
+ |-----------------------|-------|-------|
31
+ | Tatoeba-test.ara.epo | 18.9 | 0.376 |
32
+
33
+
34
+ ### System Info:
35
+ - hf_name: ara-epo
36
+
37
+ - source_languages: ara
38
+
39
+ - target_languages: epo
40
+
41
+ - opus_readme_url: https://github.com/Helsinki-NLP/Tatoeba-Challenge/tree/master/models/ara-epo/README.md
42
+
43
+ - original_repo: Tatoeba-Challenge
44
+
45
+ - tags: ['translation']
46
+
47
+ - languages: ['ar', 'eo']
48
+
49
+ - src_constituents: {'apc', 'ara', 'arq_Latn', 'arq', 'afb', 'ara_Latn', 'apc_Latn', 'arz'}
50
+
51
+ - tgt_constituents: {'epo'}
52
+
53
+ - src_multilingual: False
54
+
55
+ - tgt_multilingual: False
56
+
57
+ - prepro: normalization + SentencePiece (spm4k,spm4k)
58
+
59
+ - url_model: https://object.pouta.csc.fi/Tatoeba-MT-models/ara-epo/opus-2020-06-16.zip
60
+
61
+ - url_test_set: https://object.pouta.csc.fi/Tatoeba-MT-models/ara-epo/opus-2020-06-16.test.txt
62
+
63
+ - src_alpha3: ara
64
+
65
+ - tgt_alpha3: epo
66
+
67
+ - short_pair: ar-eo
68
+
69
+ - chrF2_score: 0.376
70
+
71
+ - bleu: 18.9
72
+
73
+ - brevity_penalty: 0.948
74
+
75
+ - ref_len: 4506.0
76
+
77
+ - src_name: Arabic
78
+
79
+ - tgt_name: Esperanto
80
+
81
+ - train_date: 2020-06-16
82
+
83
+ - src_alpha2: ar
84
+
85
+ - tgt_alpha2: eo
86
+
87
+ - prefer_old: False
88
+
89
+ - long_pair: ara-epo
90
+
91
+ - helsinki_git_sha: 480fcbe0ee1bf4774bcbe6226ad9f58e63f6c535
92
+
93
+ - transformers_git_sha: 2207e5d8cb224e954a7cba69fa4ac2309e9ff30b
94
+
95
+ - port_machine: brutasse
96
+
97
+ - port_time: 2020-08-21-14:41
Helsinki-NLP-opus-mt-ar-eo/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
+ "bos_token_id": 0,
11
+ "classif_dropout": 0.0,
12
+ "classifier_dropout": 0.0,
13
+ "d_model": 512,
14
+ "decoder_attention_heads": 8,
15
+ "decoder_ffn_dim": 2048,
16
+ "decoder_layerdrop": 0.0,
17
+ "decoder_layers": 6,
18
+ "decoder_start_token_id": 7740,
19
+ "decoder_vocab_size": 7741,
20
+ "dropout": 0.1,
21
+ "encoder_attention_heads": 8,
22
+ "encoder_ffn_dim": 2048,
23
+ "encoder_layerdrop": 0.0,
24
+ "encoder_layers": 6,
25
+ "eos_token_id": 0,
26
+ "extra_pos_embeddings": 7741,
27
+ "forced_eos_token_id": 0,
28
+ "id2label": {
29
+ "0": "LABEL_0",
30
+ "1": "LABEL_1",
31
+ "2": "LABEL_2"
32
+ },
33
+ "init_std": 0.02,
34
+ "is_encoder_decoder": true,
35
+ "is_transformers_support_available": true,
36
+ "label2id": {
37
+ "LABEL_0": 0,
38
+ "LABEL_1": 1,
39
+ "LABEL_2": 2
40
+ },
41
+ "max_length": null,
42
+ "max_position_embeddings": 512,
43
+ "model_type": "marian",
44
+ "normalize_before": false,
45
+ "normalize_embedding": false,
46
+ "num_beams": null,
47
+ "num_hidden_layers": 6,
48
+ "pad_token_id": 7740,
49
+ "scale_embedding": true,
50
+ "share_encoder_decoder_embeddings": true,
51
+ "static_position_embeddings": true,
52
+ "torch_dtype": "float32",
53
+ "transformers_version": "4.53.3",
54
+ "use_cache": true,
55
+ "vocab_size": 7741
56
+ }
Helsinki-NLP-opus-mt-ar-eo/generation_config.json ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bad_words_ids": [
3
+ [
4
+ 7740
5
+ ]
6
+ ],
7
+ "bos_token_id": 0,
8
+ "decoder_start_token_id": 7740,
9
+ "eos_token_id": 0,
10
+ "forced_eos_token_id": 0,
11
+ "max_length": 512,
12
+ "num_beams": 4,
13
+ "pad_token_id": 7740,
14
+ "renormalize_logits": true,
15
+ "transformers_version": "4.53.3"
16
+ }
Helsinki-NLP-opus-mt-ar-eo/special_tokens_map.json ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ {
2
+ "eos_token": "</s>",
3
+ "pad_token": "<pad>",
4
+ "unk_token": "<unk>"
5
+ }
Helsinki-NLP-opus-mt-ar-eo/tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
Helsinki-NLP-opus-mt-ar-eo/tokenizer_config.json ADDED
@@ -0,0 +1,39 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ "7740": {
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
+ "extra_special_tokens": {},
31
+ "model_max_length": 512,
32
+ "pad_token": "<pad>",
33
+ "separate_vocabs": false,
34
+ "source_lang": "ara",
35
+ "sp_model_kwargs": {},
36
+ "target_lang": "epo",
37
+ "tokenizer_class": "MarianTokenizer",
38
+ "unk_token": "<unk>"
39
+ }
Helsinki-NLP-opus-mt-ar-eo/vocab.json ADDED
The diff for this file is too large to render. See raw diff
 
Helsinki-NLP-opus-mt-ar-es/README.md ADDED
@@ -0,0 +1,97 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ language:
3
+ - ar
4
+ - es
5
+
6
+ tags:
7
+ - translation
8
+
9
+ license: apache-2.0
10
+ ---
11
+
12
+ ### ara-spa
13
+
14
+ * source group: Arabic
15
+ * target group: Spanish
16
+ * OPUS readme: [ara-spa](https://github.com/Helsinki-NLP/Tatoeba-Challenge/tree/master/models/ara-spa/README.md)
17
+
18
+ * model: transformer
19
+ * source language(s): apc apc_Latn ara arq
20
+ * target language(s): spa
21
+ * model: transformer
22
+ * pre-processing: normalization + SentencePiece (spm32k,spm32k)
23
+ * download original weights: [opus-2020-07-03.zip](https://object.pouta.csc.fi/Tatoeba-MT-models/ara-spa/opus-2020-07-03.zip)
24
+ * test set translations: [opus-2020-07-03.test.txt](https://object.pouta.csc.fi/Tatoeba-MT-models/ara-spa/opus-2020-07-03.test.txt)
25
+ * test set scores: [opus-2020-07-03.eval.txt](https://object.pouta.csc.fi/Tatoeba-MT-models/ara-spa/opus-2020-07-03.eval.txt)
26
+
27
+ ## Benchmarks
28
+
29
+ | testset | BLEU | chr-F |
30
+ |-----------------------|-------|-------|
31
+ | Tatoeba-test.ara.spa | 46.0 | 0.641 |
32
+
33
+
34
+ ### System Info:
35
+ - hf_name: ara-spa
36
+
37
+ - source_languages: ara
38
+
39
+ - target_languages: spa
40
+
41
+ - opus_readme_url: https://github.com/Helsinki-NLP/Tatoeba-Challenge/tree/master/models/ara-spa/README.md
42
+
43
+ - original_repo: Tatoeba-Challenge
44
+
45
+ - tags: ['translation']
46
+
47
+ - languages: ['ar', 'es']
48
+
49
+ - src_constituents: {'apc', 'ara', 'arq_Latn', 'arq', 'afb', 'ara_Latn', 'apc_Latn', 'arz'}
50
+
51
+ - tgt_constituents: {'spa'}
52
+
53
+ - src_multilingual: False
54
+
55
+ - tgt_multilingual: False
56
+
57
+ - prepro: normalization + SentencePiece (spm32k,spm32k)
58
+
59
+ - url_model: https://object.pouta.csc.fi/Tatoeba-MT-models/ara-spa/opus-2020-07-03.zip
60
+
61
+ - url_test_set: https://object.pouta.csc.fi/Tatoeba-MT-models/ara-spa/opus-2020-07-03.test.txt
62
+
63
+ - src_alpha3: ara
64
+
65
+ - tgt_alpha3: spa
66
+
67
+ - short_pair: ar-es
68
+
69
+ - chrF2_score: 0.6409999999999999
70
+
71
+ - bleu: 46.0
72
+
73
+ - brevity_penalty: 0.9620000000000001
74
+
75
+ - ref_len: 9708.0
76
+
77
+ - src_name: Arabic
78
+
79
+ - tgt_name: Spanish
80
+
81
+ - train_date: 2020-07-03
82
+
83
+ - src_alpha2: ar
84
+
85
+ - tgt_alpha2: es
86
+
87
+ - prefer_old: False
88
+
89
+ - long_pair: ara-spa
90
+
91
+ - helsinki_git_sha: 480fcbe0ee1bf4774bcbe6226ad9f58e63f6c535
92
+
93
+ - transformers_git_sha: 2207e5d8cb224e954a7cba69fa4ac2309e9ff30b
94
+
95
+ - port_machine: brutasse
96
+
97
+ - port_time: 2020-08-21-14:41
Helsinki-NLP-opus-mt-ar-es/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
+ "bos_token_id": 0,
11
+ "classif_dropout": 0.0,
12
+ "classifier_dropout": 0.0,
13
+ "d_model": 512,
14
+ "decoder_attention_heads": 8,
15
+ "decoder_ffn_dim": 2048,
16
+ "decoder_layerdrop": 0.0,
17
+ "decoder_layers": 6,
18
+ "decoder_start_token_id": 62525,
19
+ "decoder_vocab_size": 62526,
20
+ "dropout": 0.1,
21
+ "encoder_attention_heads": 8,
22
+ "encoder_ffn_dim": 2048,
23
+ "encoder_layerdrop": 0.0,
24
+ "encoder_layers": 6,
25
+ "eos_token_id": 0,
26
+ "extra_pos_embeddings": 62526,
27
+ "forced_eos_token_id": 0,
28
+ "id2label": {
29
+ "0": "LABEL_0",
30
+ "1": "LABEL_1",
31
+ "2": "LABEL_2"
32
+ },
33
+ "init_std": 0.02,
34
+ "is_encoder_decoder": true,
35
+ "is_transformers_support_available": true,
36
+ "label2id": {
37
+ "LABEL_0": 0,
38
+ "LABEL_1": 1,
39
+ "LABEL_2": 2
40
+ },
41
+ "max_length": null,
42
+ "max_position_embeddings": 512,
43
+ "model_type": "marian",
44
+ "normalize_before": false,
45
+ "normalize_embedding": false,
46
+ "num_beams": null,
47
+ "num_hidden_layers": 6,
48
+ "pad_token_id": 62525,
49
+ "scale_embedding": true,
50
+ "share_encoder_decoder_embeddings": true,
51
+ "static_position_embeddings": true,
52
+ "torch_dtype": "float32",
53
+ "transformers_version": "4.53.3",
54
+ "use_cache": true,
55
+ "vocab_size": 62526
56
+ }
Helsinki-NLP-opus-mt-ar-es/generation_config.json ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bad_words_ids": [
3
+ [
4
+ 62525
5
+ ]
6
+ ],
7
+ "bos_token_id": 0,
8
+ "decoder_start_token_id": 62525,
9
+ "eos_token_id": 0,
10
+ "forced_eos_token_id": 0,
11
+ "max_length": 512,
12
+ "num_beams": 4,
13
+ "pad_token_id": 62525,
14
+ "renormalize_logits": true,
15
+ "transformers_version": "4.53.3"
16
+ }
Helsinki-NLP-opus-mt-ar-es/special_tokens_map.json ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ {
2
+ "eos_token": "</s>",
3
+ "pad_token": "<pad>",
4
+ "unk_token": "<unk>"
5
+ }
Helsinki-NLP-opus-mt-ar-es/tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
Helsinki-NLP-opus-mt-ar-es/tokenizer_config.json ADDED
@@ -0,0 +1,39 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ "62525": {
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
+ "extra_special_tokens": {},
31
+ "model_max_length": 512,
32
+ "pad_token": "<pad>",
33
+ "separate_vocabs": false,
34
+ "source_lang": "ara",
35
+ "sp_model_kwargs": {},
36
+ "target_lang": "spa",
37
+ "tokenizer_class": "MarianTokenizer",
38
+ "unk_token": "<unk>"
39
+ }
Helsinki-NLP-opus-mt-ar-es/vocab.json ADDED
The diff for this file is too large to render. See raw diff
 
Helsinki-NLP-opus-mt-ar-fr/README.md ADDED
@@ -0,0 +1,25 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ tags:
3
+ - translation
4
+ license: apache-2.0
5
+ ---
6
+
7
+ ### opus-mt-ar-fr
8
+
9
+ * source languages: ar
10
+ * target languages: fr
11
+ * OPUS readme: [ar-fr](https://github.com/Helsinki-NLP/OPUS-MT-train/blob/master/models/ar-fr/README.md)
12
+
13
+ * dataset: opus
14
+ * model: transformer-align
15
+ * pre-processing: normalization + SentencePiece
16
+ * download original weights: [opus-2020-01-24.zip](https://object.pouta.csc.fi/OPUS-MT-models/ar-fr/opus-2020-01-24.zip)
17
+ * test set translations: [opus-2020-01-24.test.txt](https://object.pouta.csc.fi/OPUS-MT-models/ar-fr/opus-2020-01-24.test.txt)
18
+ * test set scores: [opus-2020-01-24.eval.txt](https://object.pouta.csc.fi/OPUS-MT-models/ar-fr/opus-2020-01-24.eval.txt)
19
+
20
+ ## Benchmarks
21
+
22
+ | testset | BLEU | chr-F |
23
+ |-----------------------|-------|-------|
24
+ | Tatoeba.ar.fr | 43.5 | 0.602 |
25
+
Helsinki-NLP-opus-mt-ar-fr/config.json ADDED
@@ -0,0 +1,56 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_num_labels": 3,
3
+ "activation_dropout": 0.0,
4
+ "activation_function": "swish",
5
+ "add_bias_logits": false,
6
+ "add_final_layer_norm": false,
7
+ "architectures": [
8
+ "MarianMTModel"
9
+ ],
10
+ "attention_dropout": 0.0,
11
+ "bos_token_id": 0,
12
+ "classif_dropout": 0.0,
13
+ "classifier_dropout": 0.0,
14
+ "d_model": 512,
15
+ "decoder_attention_heads": 8,
16
+ "decoder_ffn_dim": 2048,
17
+ "decoder_layerdrop": 0.0,
18
+ "decoder_layers": 6,
19
+ "decoder_start_token_id": 64504,
20
+ "decoder_vocab_size": 64505,
21
+ "dropout": 0.1,
22
+ "encoder_attention_heads": 8,
23
+ "encoder_ffn_dim": 2048,
24
+ "encoder_layerdrop": 0.0,
25
+ "encoder_layers": 6,
26
+ "eos_token_id": 0,
27
+ "forced_eos_token_id": 0,
28
+ "id2label": {
29
+ "0": "LABEL_0",
30
+ "1": "LABEL_1",
31
+ "2": "LABEL_2"
32
+ },
33
+ "init_std": 0.02,
34
+ "is_encoder_decoder": true,
35
+ "is_transformers_support_available": true,
36
+ "label2id": {
37
+ "LABEL_0": 0,
38
+ "LABEL_1": 1,
39
+ "LABEL_2": 2
40
+ },
41
+ "max_length": null,
42
+ "max_position_embeddings": 512,
43
+ "model_type": "marian",
44
+ "normalize_before": false,
45
+ "normalize_embedding": false,
46
+ "num_beams": null,
47
+ "num_hidden_layers": 6,
48
+ "pad_token_id": 64504,
49
+ "scale_embedding": true,
50
+ "share_encoder_decoder_embeddings": true,
51
+ "static_position_embeddings": true,
52
+ "torch_dtype": "float32",
53
+ "transformers_version": "4.53.3",
54
+ "use_cache": true,
55
+ "vocab_size": 64505
56
+ }
Helsinki-NLP-opus-mt-ar-fr/generation_config.json ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bad_words_ids": [
3
+ [
4
+ 64504
5
+ ]
6
+ ],
7
+ "bos_token_id": 0,
8
+ "decoder_start_token_id": 64504,
9
+ "eos_token_id": 0,
10
+ "forced_eos_token_id": 0,
11
+ "max_length": 512,
12
+ "num_beams": 4,
13
+ "pad_token_id": 64504,
14
+ "renormalize_logits": true,
15
+ "transformers_version": "4.53.3"
16
+ }
Helsinki-NLP-opus-mt-ar-fr/special_tokens_map.json ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ {
2
+ "eos_token": "</s>",
3
+ "pad_token": "<pad>",
4
+ "unk_token": "<unk>"
5
+ }
Helsinki-NLP-opus-mt-ar-fr/tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
Helsinki-NLP-opus-mt-ar-fr/tokenizer_config.json ADDED
@@ -0,0 +1,39 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ "64504": {
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
+ "extra_special_tokens": {},
31
+ "model_max_length": 512,
32
+ "pad_token": "<pad>",
33
+ "separate_vocabs": false,
34
+ "source_lang": "ar",
35
+ "sp_model_kwargs": {},
36
+ "target_lang": "fr",
37
+ "tokenizer_class": "MarianTokenizer",
38
+ "unk_token": "<unk>"
39
+ }
Helsinki-NLP-opus-mt-ar-fr/vocab.json ADDED
The diff for this file is too large to render. See raw diff
 
Helsinki-NLP-opus-mt-ar-he/README.md ADDED
@@ -0,0 +1,97 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ language:
3
+ - ar
4
+ - he
5
+
6
+ tags:
7
+ - translation
8
+
9
+ license: apache-2.0
10
+ ---
11
+
12
+ ### ara-heb
13
+
14
+ * source group: Arabic
15
+ * target group: Hebrew
16
+ * OPUS readme: [ara-heb](https://github.com/Helsinki-NLP/Tatoeba-Challenge/tree/master/models/ara-heb/README.md)
17
+
18
+ * model: transformer
19
+ * source language(s): apc apc_Latn ara arq arz
20
+ * target language(s): heb
21
+ * model: transformer
22
+ * pre-processing: normalization + SentencePiece (spm32k,spm32k)
23
+ * download original weights: [opus-2020-07-03.zip](https://object.pouta.csc.fi/Tatoeba-MT-models/ara-heb/opus-2020-07-03.zip)
24
+ * test set translations: [opus-2020-07-03.test.txt](https://object.pouta.csc.fi/Tatoeba-MT-models/ara-heb/opus-2020-07-03.test.txt)
25
+ * test set scores: [opus-2020-07-03.eval.txt](https://object.pouta.csc.fi/Tatoeba-MT-models/ara-heb/opus-2020-07-03.eval.txt)
26
+
27
+ ## Benchmarks
28
+
29
+ | testset | BLEU | chr-F |
30
+ |-----------------------|-------|-------|
31
+ | Tatoeba-test.ara.heb | 40.4 | 0.605 |
32
+
33
+
34
+ ### System Info:
35
+ - hf_name: ara-heb
36
+
37
+ - source_languages: ara
38
+
39
+ - target_languages: heb
40
+
41
+ - opus_readme_url: https://github.com/Helsinki-NLP/Tatoeba-Challenge/tree/master/models/ara-heb/README.md
42
+
43
+ - original_repo: Tatoeba-Challenge
44
+
45
+ - tags: ['translation']
46
+
47
+ - languages: ['ar', 'he']
48
+
49
+ - src_constituents: {'apc', 'ara', 'arq_Latn', 'arq', 'afb', 'ara_Latn', 'apc_Latn', 'arz'}
50
+
51
+ - tgt_constituents: {'heb'}
52
+
53
+ - src_multilingual: False
54
+
55
+ - tgt_multilingual: False
56
+
57
+ - prepro: normalization + SentencePiece (spm32k,spm32k)
58
+
59
+ - url_model: https://object.pouta.csc.fi/Tatoeba-MT-models/ara-heb/opus-2020-07-03.zip
60
+
61
+ - url_test_set: https://object.pouta.csc.fi/Tatoeba-MT-models/ara-heb/opus-2020-07-03.test.txt
62
+
63
+ - src_alpha3: ara
64
+
65
+ - tgt_alpha3: heb
66
+
67
+ - short_pair: ar-he
68
+
69
+ - chrF2_score: 0.605
70
+
71
+ - bleu: 40.4
72
+
73
+ - brevity_penalty: 1.0
74
+
75
+ - ref_len: 6801.0
76
+
77
+ - src_name: Arabic
78
+
79
+ - tgt_name: Hebrew
80
+
81
+ - train_date: 2020-07-03
82
+
83
+ - src_alpha2: ar
84
+
85
+ - tgt_alpha2: he
86
+
87
+ - prefer_old: False
88
+
89
+ - long_pair: ara-heb
90
+
91
+ - helsinki_git_sha: 480fcbe0ee1bf4774bcbe6226ad9f58e63f6c535
92
+
93
+ - transformers_git_sha: 2207e5d8cb224e954a7cba69fa4ac2309e9ff30b
94
+
95
+ - port_machine: brutasse
96
+
97
+ - port_time: 2020-08-21-14:41
Helsinki-NLP-opus-mt-ar-he/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
+ "bos_token_id": 0,
11
+ "classif_dropout": 0.0,
12
+ "classifier_dropout": 0.0,
13
+ "d_model": 512,
14
+ "decoder_attention_heads": 8,
15
+ "decoder_ffn_dim": 2048,
16
+ "decoder_layerdrop": 0.0,
17
+ "decoder_layers": 6,
18
+ "decoder_start_token_id": 63333,
19
+ "decoder_vocab_size": 63334,
20
+ "dropout": 0.1,
21
+ "encoder_attention_heads": 8,
22
+ "encoder_ffn_dim": 2048,
23
+ "encoder_layerdrop": 0.0,
24
+ "encoder_layers": 6,
25
+ "eos_token_id": 0,
26
+ "extra_pos_embeddings": 63334,
27
+ "forced_eos_token_id": 0,
28
+ "id2label": {
29
+ "0": "LABEL_0",
30
+ "1": "LABEL_1",
31
+ "2": "LABEL_2"
32
+ },
33
+ "init_std": 0.02,
34
+ "is_encoder_decoder": true,
35
+ "is_transformers_support_available": true,
36
+ "label2id": {
37
+ "LABEL_0": 0,
38
+ "LABEL_1": 1,
39
+ "LABEL_2": 2
40
+ },
41
+ "max_length": null,
42
+ "max_position_embeddings": 512,
43
+ "model_type": "marian",
44
+ "normalize_before": false,
45
+ "normalize_embedding": false,
46
+ "num_beams": null,
47
+ "num_hidden_layers": 6,
48
+ "pad_token_id": 63333,
49
+ "scale_embedding": true,
50
+ "share_encoder_decoder_embeddings": true,
51
+ "static_position_embeddings": true,
52
+ "torch_dtype": "float32",
53
+ "transformers_version": "4.53.3",
54
+ "use_cache": true,
55
+ "vocab_size": 63334
56
+ }
Helsinki-NLP-opus-mt-ar-he/generation_config.json ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bad_words_ids": [
3
+ [
4
+ 63333
5
+ ]
6
+ ],
7
+ "bos_token_id": 0,
8
+ "decoder_start_token_id": 63333,
9
+ "eos_token_id": 0,
10
+ "forced_eos_token_id": 0,
11
+ "max_length": 512,
12
+ "num_beams": 4,
13
+ "pad_token_id": 63333,
14
+ "renormalize_logits": true,
15
+ "transformers_version": "4.53.3"
16
+ }
Helsinki-NLP-opus-mt-ar-he/special_tokens_map.json ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ {
2
+ "eos_token": "</s>",
3
+ "pad_token": "<pad>",
4
+ "unk_token": "<unk>"
5
+ }
Helsinki-NLP-opus-mt-ar-he/tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
Helsinki-NLP-opus-mt-ar-he/tokenizer_config.json ADDED
@@ -0,0 +1,39 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ "63333": {
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
+ "extra_special_tokens": {},
31
+ "model_max_length": 512,
32
+ "pad_token": "<pad>",
33
+ "separate_vocabs": false,
34
+ "source_lang": "ara",
35
+ "sp_model_kwargs": {},
36
+ "target_lang": "heb",
37
+ "tokenizer_class": "MarianTokenizer",
38
+ "unk_token": "<unk>"
39
+ }
Helsinki-NLP-opus-mt-ar-he/vocab.json ADDED
The diff for this file is too large to render. See raw diff
 
Helsinki-NLP-opus-mt-ar-it/README.md ADDED
@@ -0,0 +1,97 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ language:
3
+ - ar
4
+ - it
5
+
6
+ tags:
7
+ - translation
8
+
9
+ license: apache-2.0
10
+ ---
11
+
12
+ ### ara-ita
13
+
14
+ * source group: Arabic
15
+ * target group: Italian
16
+ * OPUS readme: [ara-ita](https://github.com/Helsinki-NLP/Tatoeba-Challenge/tree/master/models/ara-ita/README.md)
17
+
18
+ * model: transformer
19
+ * source language(s): ara
20
+ * target language(s): ita
21
+ * model: transformer
22
+ * pre-processing: normalization + SentencePiece (spm32k,spm32k)
23
+ * download original weights: [opus-2020-07-03.zip](https://object.pouta.csc.fi/Tatoeba-MT-models/ara-ita/opus-2020-07-03.zip)
24
+ * test set translations: [opus-2020-07-03.test.txt](https://object.pouta.csc.fi/Tatoeba-MT-models/ara-ita/opus-2020-07-03.test.txt)
25
+ * test set scores: [opus-2020-07-03.eval.txt](https://object.pouta.csc.fi/Tatoeba-MT-models/ara-ita/opus-2020-07-03.eval.txt)
26
+
27
+ ## Benchmarks
28
+
29
+ | testset | BLEU | chr-F |
30
+ |-----------------------|-------|-------|
31
+ | Tatoeba-test.ara.ita | 44.2 | 0.658 |
32
+
33
+
34
+ ### System Info:
35
+ - hf_name: ara-ita
36
+
37
+ - source_languages: ara
38
+
39
+ - target_languages: ita
40
+
41
+ - opus_readme_url: https://github.com/Helsinki-NLP/Tatoeba-Challenge/tree/master/models/ara-ita/README.md
42
+
43
+ - original_repo: Tatoeba-Challenge
44
+
45
+ - tags: ['translation']
46
+
47
+ - languages: ['ar', 'it']
48
+
49
+ - src_constituents: {'apc', 'ara', 'arq_Latn', 'arq', 'afb', 'ara_Latn', 'apc_Latn', 'arz'}
50
+
51
+ - tgt_constituents: {'ita'}
52
+
53
+ - src_multilingual: False
54
+
55
+ - tgt_multilingual: False
56
+
57
+ - prepro: normalization + SentencePiece (spm32k,spm32k)
58
+
59
+ - url_model: https://object.pouta.csc.fi/Tatoeba-MT-models/ara-ita/opus-2020-07-03.zip
60
+
61
+ - url_test_set: https://object.pouta.csc.fi/Tatoeba-MT-models/ara-ita/opus-2020-07-03.test.txt
62
+
63
+ - src_alpha3: ara
64
+
65
+ - tgt_alpha3: ita
66
+
67
+ - short_pair: ar-it
68
+
69
+ - chrF2_score: 0.6579999999999999
70
+
71
+ - bleu: 44.2
72
+
73
+ - brevity_penalty: 0.9890000000000001
74
+
75
+ - ref_len: 1495.0
76
+
77
+ - src_name: Arabic
78
+
79
+ - tgt_name: Italian
80
+
81
+ - train_date: 2020-07-03
82
+
83
+ - src_alpha2: ar
84
+
85
+ - tgt_alpha2: it
86
+
87
+ - prefer_old: False
88
+
89
+ - long_pair: ara-ita
90
+
91
+ - helsinki_git_sha: 480fcbe0ee1bf4774bcbe6226ad9f58e63f6c535
92
+
93
+ - transformers_git_sha: 2207e5d8cb224e954a7cba69fa4ac2309e9ff30b
94
+
95
+ - port_machine: brutasse
96
+
97
+ - port_time: 2020-08-21-14:41
Helsinki-NLP-opus-mt-ar-it/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
+ "bos_token_id": 0,
11
+ "classif_dropout": 0.0,
12
+ "classifier_dropout": 0.0,
13
+ "d_model": 512,
14
+ "decoder_attention_heads": 8,
15
+ "decoder_ffn_dim": 2048,
16
+ "decoder_layerdrop": 0.0,
17
+ "decoder_layers": 6,
18
+ "decoder_start_token_id": 63293,
19
+ "decoder_vocab_size": 63294,
20
+ "dropout": 0.1,
21
+ "encoder_attention_heads": 8,
22
+ "encoder_ffn_dim": 2048,
23
+ "encoder_layerdrop": 0.0,
24
+ "encoder_layers": 6,
25
+ "eos_token_id": 0,
26
+ "extra_pos_embeddings": 63294,
27
+ "forced_eos_token_id": 0,
28
+ "id2label": {
29
+ "0": "LABEL_0",
30
+ "1": "LABEL_1",
31
+ "2": "LABEL_2"
32
+ },
33
+ "init_std": 0.02,
34
+ "is_encoder_decoder": true,
35
+ "is_transformers_support_available": true,
36
+ "label2id": {
37
+ "LABEL_0": 0,
38
+ "LABEL_1": 1,
39
+ "LABEL_2": 2
40
+ },
41
+ "max_length": null,
42
+ "max_position_embeddings": 512,
43
+ "model_type": "marian",
44
+ "normalize_before": false,
45
+ "normalize_embedding": false,
46
+ "num_beams": null,
47
+ "num_hidden_layers": 6,
48
+ "pad_token_id": 63293,
49
+ "scale_embedding": true,
50
+ "share_encoder_decoder_embeddings": true,
51
+ "static_position_embeddings": true,
52
+ "torch_dtype": "float32",
53
+ "transformers_version": "4.53.3",
54
+ "use_cache": true,
55
+ "vocab_size": 63294
56
+ }
Helsinki-NLP-opus-mt-ar-it/generation_config.json ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bad_words_ids": [
3
+ [
4
+ 63293
5
+ ]
6
+ ],
7
+ "bos_token_id": 0,
8
+ "decoder_start_token_id": 63293,
9
+ "eos_token_id": 0,
10
+ "forced_eos_token_id": 0,
11
+ "max_length": 512,
12
+ "num_beams": 4,
13
+ "pad_token_id": 63293,
14
+ "renormalize_logits": true,
15
+ "transformers_version": "4.53.3"
16
+ }
Helsinki-NLP-opus-mt-ar-it/special_tokens_map.json ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ {
2
+ "eos_token": "</s>",
3
+ "pad_token": "<pad>",
4
+ "unk_token": "<unk>"
5
+ }
Helsinki-NLP-opus-mt-ar-it/tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
Helsinki-NLP-opus-mt-ar-it/tokenizer_config.json ADDED
@@ -0,0 +1,39 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ "63293": {
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
+ "extra_special_tokens": {},
31
+ "model_max_length": 512,
32
+ "pad_token": "<pad>",
33
+ "separate_vocabs": false,
34
+ "source_lang": "ara",
35
+ "sp_model_kwargs": {},
36
+ "target_lang": "ita",
37
+ "tokenizer_class": "MarianTokenizer",
38
+ "unk_token": "<unk>"
39
+ }
Helsinki-NLP-opus-mt-ar-it/vocab.json ADDED
The diff for this file is too large to render. See raw diff
 
Helsinki-NLP-opus-mt-ar-pl/README.md ADDED
@@ -0,0 +1,97 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ language:
3
+ - ar
4
+ - pl
5
+
6
+ tags:
7
+ - translation
8
+
9
+ license: apache-2.0
10
+ ---
11
+
12
+ ### ara-pol
13
+
14
+ * source group: Arabic
15
+ * target group: Polish
16
+ * OPUS readme: [ara-pol](https://github.com/Helsinki-NLP/Tatoeba-Challenge/tree/master/models/ara-pol/README.md)
17
+
18
+ * model: transformer
19
+ * source language(s): ara arz
20
+ * target language(s): pol
21
+ * model: transformer
22
+ * pre-processing: normalization + SentencePiece (spm32k,spm32k)
23
+ * download original weights: [opus-2020-07-03.zip](https://object.pouta.csc.fi/Tatoeba-MT-models/ara-pol/opus-2020-07-03.zip)
24
+ * test set translations: [opus-2020-07-03.test.txt](https://object.pouta.csc.fi/Tatoeba-MT-models/ara-pol/opus-2020-07-03.test.txt)
25
+ * test set scores: [opus-2020-07-03.eval.txt](https://object.pouta.csc.fi/Tatoeba-MT-models/ara-pol/opus-2020-07-03.eval.txt)
26
+
27
+ ## Benchmarks
28
+
29
+ | testset | BLEU | chr-F |
30
+ |-----------------------|-------|-------|
31
+ | Tatoeba-test.ara.pol | 38.0 | 0.623 |
32
+
33
+
34
+ ### System Info:
35
+ - hf_name: ara-pol
36
+
37
+ - source_languages: ara
38
+
39
+ - target_languages: pol
40
+
41
+ - opus_readme_url: https://github.com/Helsinki-NLP/Tatoeba-Challenge/tree/master/models/ara-pol/README.md
42
+
43
+ - original_repo: Tatoeba-Challenge
44
+
45
+ - tags: ['translation']
46
+
47
+ - languages: ['ar', 'pl']
48
+
49
+ - src_constituents: {'apc', 'ara', 'arq_Latn', 'arq', 'afb', 'ara_Latn', 'apc_Latn', 'arz'}
50
+
51
+ - tgt_constituents: {'pol'}
52
+
53
+ - src_multilingual: False
54
+
55
+ - tgt_multilingual: False
56
+
57
+ - prepro: normalization + SentencePiece (spm32k,spm32k)
58
+
59
+ - url_model: https://object.pouta.csc.fi/Tatoeba-MT-models/ara-pol/opus-2020-07-03.zip
60
+
61
+ - url_test_set: https://object.pouta.csc.fi/Tatoeba-MT-models/ara-pol/opus-2020-07-03.test.txt
62
+
63
+ - src_alpha3: ara
64
+
65
+ - tgt_alpha3: pol
66
+
67
+ - short_pair: ar-pl
68
+
69
+ - chrF2_score: 0.623
70
+
71
+ - bleu: 38.0
72
+
73
+ - brevity_penalty: 0.948
74
+
75
+ - ref_len: 1171.0
76
+
77
+ - src_name: Arabic
78
+
79
+ - tgt_name: Polish
80
+
81
+ - train_date: 2020-07-03
82
+
83
+ - src_alpha2: ar
84
+
85
+ - tgt_alpha2: pl
86
+
87
+ - prefer_old: False
88
+
89
+ - long_pair: ara-pol
90
+
91
+ - helsinki_git_sha: 480fcbe0ee1bf4774bcbe6226ad9f58e63f6c535
92
+
93
+ - transformers_git_sha: 2207e5d8cb224e954a7cba69fa4ac2309e9ff30b
94
+
95
+ - port_machine: brutasse
96
+
97
+ - port_time: 2020-08-21-14:41
Helsinki-NLP-opus-mt-ar-pl/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
+ "bos_token_id": 0,
11
+ "classif_dropout": 0.0,
12
+ "classifier_dropout": 0.0,
13
+ "d_model": 512,
14
+ "decoder_attention_heads": 8,
15
+ "decoder_ffn_dim": 2048,
16
+ "decoder_layerdrop": 0.0,
17
+ "decoder_layers": 6,
18
+ "decoder_start_token_id": 65000,
19
+ "decoder_vocab_size": 65001,
20
+ "dropout": 0.1,
21
+ "encoder_attention_heads": 8,
22
+ "encoder_ffn_dim": 2048,
23
+ "encoder_layerdrop": 0.0,
24
+ "encoder_layers": 6,
25
+ "eos_token_id": 0,
26
+ "extra_pos_embeddings": 65001,
27
+ "forced_eos_token_id": 0,
28
+ "id2label": {
29
+ "0": "LABEL_0",
30
+ "1": "LABEL_1",
31
+ "2": "LABEL_2"
32
+ },
33
+ "init_std": 0.02,
34
+ "is_encoder_decoder": true,
35
+ "is_transformers_support_available": true,
36
+ "label2id": {
37
+ "LABEL_0": 0,
38
+ "LABEL_1": 1,
39
+ "LABEL_2": 2
40
+ },
41
+ "max_length": null,
42
+ "max_position_embeddings": 512,
43
+ "model_type": "marian",
44
+ "normalize_before": false,
45
+ "normalize_embedding": false,
46
+ "num_beams": null,
47
+ "num_hidden_layers": 6,
48
+ "pad_token_id": 65000,
49
+ "scale_embedding": true,
50
+ "share_encoder_decoder_embeddings": true,
51
+ "static_position_embeddings": true,
52
+ "torch_dtype": "float32",
53
+ "transformers_version": "4.53.3",
54
+ "use_cache": true,
55
+ "vocab_size": 65001
56
+ }
Helsinki-NLP-opus-mt-ar-pl/generation_config.json ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bad_words_ids": [
3
+ [
4
+ 65000
5
+ ]
6
+ ],
7
+ "bos_token_id": 0,
8
+ "decoder_start_token_id": 65000,
9
+ "eos_token_id": 0,
10
+ "forced_eos_token_id": 0,
11
+ "max_length": 512,
12
+ "num_beams": 4,
13
+ "pad_token_id": 65000,
14
+ "renormalize_logits": true,
15
+ "transformers_version": "4.53.3"
16
+ }
Helsinki-NLP-opus-mt-ar-pl/special_tokens_map.json ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ {
2
+ "eos_token": "</s>",
3
+ "pad_token": "<pad>",
4
+ "unk_token": "<unk>"
5
+ }
Helsinki-NLP-opus-mt-ar-pl/tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
Helsinki-NLP-opus-mt-ar-pl/tokenizer_config.json ADDED
@@ -0,0 +1,39 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ "65000": {
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
+ "extra_special_tokens": {},
31
+ "model_max_length": 512,
32
+ "pad_token": "<pad>",
33
+ "separate_vocabs": false,
34
+ "source_lang": "ara",
35
+ "sp_model_kwargs": {},
36
+ "target_lang": "pol",
37
+ "tokenizer_class": "MarianTokenizer",
38
+ "unk_token": "<unk>"
39
+ }
Helsinki-NLP-opus-mt-ar-pl/vocab.json ADDED
The diff for this file is too large to render. See raw diff
 
Helsinki-NLP-opus-mt-ar-ru/README.md ADDED
@@ -0,0 +1,97 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ language:
3
+ - ar
4
+ - ru
5
+
6
+ tags:
7
+ - translation
8
+
9
+ license: apache-2.0
10
+ ---
11
+
12
+ ### ara-rus
13
+
14
+ * source group: Arabic
15
+ * target group: Russian
16
+ * OPUS readme: [ara-rus](https://github.com/Helsinki-NLP/Tatoeba-Challenge/tree/master/models/ara-rus/README.md)
17
+
18
+ * model: transformer
19
+ * source language(s): apc ara arz
20
+ * target language(s): rus
21
+ * model: transformer
22
+ * pre-processing: normalization + SentencePiece (spm32k,spm32k)
23
+ * download original weights: [opus-2020-07-03.zip](https://object.pouta.csc.fi/Tatoeba-MT-models/ara-rus/opus-2020-07-03.zip)
24
+ * test set translations: [opus-2020-07-03.test.txt](https://object.pouta.csc.fi/Tatoeba-MT-models/ara-rus/opus-2020-07-03.test.txt)
25
+ * test set scores: [opus-2020-07-03.eval.txt](https://object.pouta.csc.fi/Tatoeba-MT-models/ara-rus/opus-2020-07-03.eval.txt)
26
+
27
+ ## Benchmarks
28
+
29
+ | testset | BLEU | chr-F |
30
+ |-----------------------|-------|-------|
31
+ | Tatoeba-test.ara.rus | 42.5 | 0.605 |
32
+
33
+
34
+ ### System Info:
35
+ - hf_name: ara-rus
36
+
37
+ - source_languages: ara
38
+
39
+ - target_languages: rus
40
+
41
+ - opus_readme_url: https://github.com/Helsinki-NLP/Tatoeba-Challenge/tree/master/models/ara-rus/README.md
42
+
43
+ - original_repo: Tatoeba-Challenge
44
+
45
+ - tags: ['translation']
46
+
47
+ - languages: ['ar', 'ru']
48
+
49
+ - src_constituents: {'apc', 'ara', 'arq_Latn', 'arq', 'afb', 'ara_Latn', 'apc_Latn', 'arz'}
50
+
51
+ - tgt_constituents: {'rus'}
52
+
53
+ - src_multilingual: False
54
+
55
+ - tgt_multilingual: False
56
+
57
+ - prepro: normalization + SentencePiece (spm32k,spm32k)
58
+
59
+ - url_model: https://object.pouta.csc.fi/Tatoeba-MT-models/ara-rus/opus-2020-07-03.zip
60
+
61
+ - url_test_set: https://object.pouta.csc.fi/Tatoeba-MT-models/ara-rus/opus-2020-07-03.test.txt
62
+
63
+ - src_alpha3: ara
64
+
65
+ - tgt_alpha3: rus
66
+
67
+ - short_pair: ar-ru
68
+
69
+ - chrF2_score: 0.605
70
+
71
+ - bleu: 42.5
72
+
73
+ - brevity_penalty: 0.97
74
+
75
+ - ref_len: 21830.0
76
+
77
+ - src_name: Arabic
78
+
79
+ - tgt_name: Russian
80
+
81
+ - train_date: 2020-07-03
82
+
83
+ - src_alpha2: ar
84
+
85
+ - tgt_alpha2: ru
86
+
87
+ - prefer_old: False
88
+
89
+ - long_pair: ara-rus
90
+
91
+ - helsinki_git_sha: 480fcbe0ee1bf4774bcbe6226ad9f58e63f6c535
92
+
93
+ - transformers_git_sha: 2207e5d8cb224e954a7cba69fa4ac2309e9ff30b
94
+
95
+ - port_machine: brutasse
96
+
97
+ - port_time: 2020-08-21-14:41
Helsinki-NLP-opus-mt-ar-ru/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
+ "bos_token_id": 0,
11
+ "classif_dropout": 0.0,
12
+ "classifier_dropout": 0.0,
13
+ "d_model": 512,
14
+ "decoder_attention_heads": 8,
15
+ "decoder_ffn_dim": 2048,
16
+ "decoder_layerdrop": 0.0,
17
+ "decoder_layers": 6,
18
+ "decoder_start_token_id": 62605,
19
+ "decoder_vocab_size": 62606,
20
+ "dropout": 0.1,
21
+ "encoder_attention_heads": 8,
22
+ "encoder_ffn_dim": 2048,
23
+ "encoder_layerdrop": 0.0,
24
+ "encoder_layers": 6,
25
+ "eos_token_id": 0,
26
+ "extra_pos_embeddings": 62606,
27
+ "forced_eos_token_id": 0,
28
+ "id2label": {
29
+ "0": "LABEL_0",
30
+ "1": "LABEL_1",
31
+ "2": "LABEL_2"
32
+ },
33
+ "init_std": 0.02,
34
+ "is_encoder_decoder": true,
35
+ "is_transformers_support_available": true,
36
+ "label2id": {
37
+ "LABEL_0": 0,
38
+ "LABEL_1": 1,
39
+ "LABEL_2": 2
40
+ },
41
+ "max_length": null,
42
+ "max_position_embeddings": 512,
43
+ "model_type": "marian",
44
+ "normalize_before": false,
45
+ "normalize_embedding": false,
46
+ "num_beams": null,
47
+ "num_hidden_layers": 6,
48
+ "pad_token_id": 62605,
49
+ "scale_embedding": true,
50
+ "share_encoder_decoder_embeddings": true,
51
+ "static_position_embeddings": true,
52
+ "torch_dtype": "float32",
53
+ "transformers_version": "4.53.3",
54
+ "use_cache": true,
55
+ "vocab_size": 62606
56
+ }
Helsinki-NLP-opus-mt-ar-ru/generation_config.json ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bad_words_ids": [
3
+ [
4
+ 62605
5
+ ]
6
+ ],
7
+ "bos_token_id": 0,
8
+ "decoder_start_token_id": 62605,
9
+ "eos_token_id": 0,
10
+ "forced_eos_token_id": 0,
11
+ "max_length": 512,
12
+ "num_beams": 4,
13
+ "pad_token_id": 62605,
14
+ "renormalize_logits": true,
15
+ "transformers_version": "4.53.3"
16
+ }
Helsinki-NLP-opus-mt-ar-ru/special_tokens_map.json ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ {
2
+ "eos_token": "</s>",
3
+ "pad_token": "<pad>",
4
+ "unk_token": "<unk>"
5
+ }
Helsinki-NLP-opus-mt-ar-ru/tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
Helsinki-NLP-opus-mt-ar-ru/tokenizer_config.json ADDED
@@ -0,0 +1,39 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ "62605": {
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
+ "extra_special_tokens": {},
31
+ "model_max_length": 512,
32
+ "pad_token": "<pad>",
33
+ "separate_vocabs": false,
34
+ "source_lang": "ara",
35
+ "sp_model_kwargs": {},
36
+ "target_lang": "rus",
37
+ "tokenizer_class": "MarianTokenizer",
38
+ "unk_token": "<unk>"
39
+ }