aoiandroid commited on
Commit
cdefec3
·
verified ·
1 Parent(s): d4f9c6e

Add files using upload-large-folder tool

Browse files
Files changed (50) hide show
  1. .gitattributes +0 -0
  2. Helsinki-NLP-opus-mt-aav-en/README.md +104 -0
  3. Helsinki-NLP-opus-mt-aav-en/config.json +56 -0
  4. Helsinki-NLP-opus-mt-aav-en/generation_config.json +16 -0
  5. Helsinki-NLP-opus-mt-aav-en/special_tokens_map.json +5 -0
  6. Helsinki-NLP-opus-mt-aav-en/tokenizer.json +0 -0
  7. Helsinki-NLP-opus-mt-aav-en/tokenizer_config.json +39 -0
  8. Helsinki-NLP-opus-mt-aav-en/vocab.json +0 -0
  9. Helsinki-NLP-opus-mt-aed-es/README.md +25 -0
  10. Helsinki-NLP-opus-mt-aed-es/config.json +56 -0
  11. Helsinki-NLP-opus-mt-aed-es/generation_config.json +16 -0
  12. Helsinki-NLP-opus-mt-aed-es/special_tokens_map.json +5 -0
  13. Helsinki-NLP-opus-mt-aed-es/tokenizer.json +0 -0
  14. Helsinki-NLP-opus-mt-aed-es/tokenizer_config.json +39 -0
  15. Helsinki-NLP-opus-mt-aed-es/vocab.json +0 -0
  16. Helsinki-NLP-opus-mt-af-de/README.md +25 -0
  17. Helsinki-NLP-opus-mt-af-de/config.json +56 -0
  18. Helsinki-NLP-opus-mt-af-de/generation_config.json +16 -0
  19. Helsinki-NLP-opus-mt-af-de/special_tokens_map.json +5 -0
  20. Helsinki-NLP-opus-mt-af-de/tokenizer.json +0 -0
  21. Helsinki-NLP-opus-mt-af-de/tokenizer_config.json +39 -0
  22. Helsinki-NLP-opus-mt-af-de/vocab.json +0 -0
  23. Helsinki-NLP-opus-mt-af-en/README.md +25 -0
  24. Helsinki-NLP-opus-mt-af-en/config.json +56 -0
  25. Helsinki-NLP-opus-mt-af-en/generation_config.json +16 -0
  26. Helsinki-NLP-opus-mt-af-en/special_tokens_map.json +5 -0
  27. Helsinki-NLP-opus-mt-af-en/tokenizer.json +0 -0
  28. Helsinki-NLP-opus-mt-af-en/tokenizer_config.json +39 -0
  29. Helsinki-NLP-opus-mt-af-en/vocab.json +0 -0
  30. Helsinki-NLP-opus-mt-af-eo/README.md +97 -0
  31. Helsinki-NLP-opus-mt-af-eo/config.json +56 -0
  32. Helsinki-NLP-opus-mt-af-eo/generation_config.json +16 -0
  33. Helsinki-NLP-opus-mt-af-eo/special_tokens_map.json +5 -0
  34. Helsinki-NLP-opus-mt-af-eo/tokenizer.json +0 -0
  35. Helsinki-NLP-opus-mt-af-eo/tokenizer_config.json +39 -0
  36. Helsinki-NLP-opus-mt-af-eo/vocab.json +0 -0
  37. Helsinki-NLP-opus-mt-af-es/README.md +97 -0
  38. Helsinki-NLP-opus-mt-af-es/config.json +56 -0
  39. Helsinki-NLP-opus-mt-af-es/generation_config.json +16 -0
  40. Helsinki-NLP-opus-mt-af-es/special_tokens_map.json +5 -0
  41. Helsinki-NLP-opus-mt-af-es/tokenizer.json +0 -0
  42. Helsinki-NLP-opus-mt-af-es/tokenizer_config.json +39 -0
  43. Helsinki-NLP-opus-mt-af-es/vocab.json +0 -0
  44. Helsinki-NLP-opus-mt-af-fi/README.md +25 -0
  45. Helsinki-NLP-opus-mt-af-fi/config.json +56 -0
  46. Helsinki-NLP-opus-mt-af-fi/generation_config.json +16 -0
  47. Helsinki-NLP-opus-mt-af-fi/special_tokens_map.json +5 -0
  48. Helsinki-NLP-opus-mt-af-fi/tokenizer.json +0 -0
  49. Helsinki-NLP-opus-mt-af-fi/tokenizer_config.json +39 -0
  50. Helsinki-NLP-opus-mt-af-fi/vocab.json +0 -0
.gitattributes CHANGED
The diff for this file is too large to render. See raw diff
 
Helsinki-NLP-opus-mt-aav-en/README.md ADDED
@@ -0,0 +1,104 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ language:
3
+ - vi
4
+ - km
5
+ - aav
6
+ - en
7
+
8
+ tags:
9
+ - translation
10
+
11
+ license: apache-2.0
12
+ ---
13
+
14
+ ### aav-eng
15
+
16
+ * source group: Austro-Asiatic languages
17
+ * target group: English
18
+ * OPUS readme: [aav-eng](https://github.com/Helsinki-NLP/Tatoeba-Challenge/tree/master/models/aav-eng/README.md)
19
+
20
+ * model: transformer
21
+ * source language(s): hoc hoc_Latn kha khm khm_Latn mnw vie vie_Hani
22
+ * target language(s): eng
23
+ * model: transformer
24
+ * pre-processing: normalization + SentencePiece (spm32k,spm32k)
25
+ * download original weights: [opus2m-2020-07-31.zip](https://object.pouta.csc.fi/Tatoeba-MT-models/aav-eng/opus2m-2020-07-31.zip)
26
+ * test set translations: [opus2m-2020-07-31.test.txt](https://object.pouta.csc.fi/Tatoeba-MT-models/aav-eng/opus2m-2020-07-31.test.txt)
27
+ * test set scores: [opus2m-2020-07-31.eval.txt](https://object.pouta.csc.fi/Tatoeba-MT-models/aav-eng/opus2m-2020-07-31.eval.txt)
28
+
29
+ ## Benchmarks
30
+
31
+ | testset | BLEU | chr-F |
32
+ |-----------------------|-------|-------|
33
+ | Tatoeba-test.hoc-eng.hoc.eng | 0.3 | 0.095 |
34
+ | Tatoeba-test.kha-eng.kha.eng | 1.0 | 0.115 |
35
+ | Tatoeba-test.khm-eng.khm.eng | 8.9 | 0.271 |
36
+ | Tatoeba-test.mnw-eng.mnw.eng | 0.8 | 0.118 |
37
+ | Tatoeba-test.multi.eng | 24.8 | 0.391 |
38
+ | Tatoeba-test.vie-eng.vie.eng | 38.7 | 0.567 |
39
+
40
+
41
+ ### System Info:
42
+ - hf_name: aav-eng
43
+
44
+ - source_languages: aav
45
+
46
+ - target_languages: eng
47
+
48
+ - opus_readme_url: https://github.com/Helsinki-NLP/Tatoeba-Challenge/tree/master/models/aav-eng/README.md
49
+
50
+ - original_repo: Tatoeba-Challenge
51
+
52
+ - tags: ['translation']
53
+
54
+ - languages: ['vi', 'km', 'aav', 'en']
55
+
56
+ - src_constituents: {'mnw', 'vie', 'kha', 'khm', 'vie_Hani', 'khm_Latn', 'hoc_Latn', 'hoc'}
57
+
58
+ - tgt_constituents: {'eng'}
59
+
60
+ - src_multilingual: True
61
+
62
+ - tgt_multilingual: False
63
+
64
+ - prepro: normalization + SentencePiece (spm32k,spm32k)
65
+
66
+ - url_model: https://object.pouta.csc.fi/Tatoeba-MT-models/aav-eng/opus2m-2020-07-31.zip
67
+
68
+ - url_test_set: https://object.pouta.csc.fi/Tatoeba-MT-models/aav-eng/opus2m-2020-07-31.test.txt
69
+
70
+ - src_alpha3: aav
71
+
72
+ - tgt_alpha3: eng
73
+
74
+ - short_pair: aav-en
75
+
76
+ - chrF2_score: 0.391
77
+
78
+ - bleu: 24.8
79
+
80
+ - brevity_penalty: 0.968
81
+
82
+ - ref_len: 36693.0
83
+
84
+ - src_name: Austro-Asiatic languages
85
+
86
+ - tgt_name: English
87
+
88
+ - train_date: 2020-07-31
89
+
90
+ - src_alpha2: aav
91
+
92
+ - tgt_alpha2: en
93
+
94
+ - prefer_old: False
95
+
96
+ - long_pair: aav-eng
97
+
98
+ - helsinki_git_sha: 480fcbe0ee1bf4774bcbe6226ad9f58e63f6c535
99
+
100
+ - transformers_git_sha: 2207e5d8cb224e954a7cba69fa4ac2309e9ff30b
101
+
102
+ - port_machine: brutasse
103
+
104
+ - port_time: 2020-08-21-14:41
Helsinki-NLP-opus-mt-aav-en/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": 56038,
19
+ "decoder_vocab_size": 56039,
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": 56039,
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": 56038,
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": 56039
56
+ }
Helsinki-NLP-opus-mt-aav-en/generation_config.json ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bad_words_ids": [
3
+ [
4
+ 56038
5
+ ]
6
+ ],
7
+ "bos_token_id": 0,
8
+ "decoder_start_token_id": 56038,
9
+ "eos_token_id": 0,
10
+ "forced_eos_token_id": 0,
11
+ "max_length": 512,
12
+ "num_beams": 4,
13
+ "pad_token_id": 56038,
14
+ "renormalize_logits": true,
15
+ "transformers_version": "4.53.3"
16
+ }
Helsinki-NLP-opus-mt-aav-en/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-aav-en/tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
Helsinki-NLP-opus-mt-aav-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
+ "56038": {
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": "aav",
35
+ "sp_model_kwargs": {},
36
+ "target_lang": "eng",
37
+ "tokenizer_class": "MarianTokenizer",
38
+ "unk_token": "<unk>"
39
+ }
Helsinki-NLP-opus-mt-aav-en/vocab.json ADDED
The diff for this file is too large to render. See raw diff
 
Helsinki-NLP-opus-mt-aed-es/README.md ADDED
@@ -0,0 +1,25 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ tags:
3
+ - translation
4
+ license: apache-2.0
5
+ ---
6
+
7
+ ### opus-mt-aed-es
8
+
9
+ * source languages: aed
10
+ * target languages: es
11
+ * OPUS readme: [aed-es](https://github.com/Helsinki-NLP/OPUS-MT-train/blob/master/models/aed-es/README.md)
12
+
13
+ * dataset: opus
14
+ * model: transformer-align
15
+ * pre-processing: normalization + SentencePiece
16
+ * download original weights: [opus-2020-01-15.zip](https://object.pouta.csc.fi/OPUS-MT-models/aed-es/opus-2020-01-15.zip)
17
+ * test set translations: [opus-2020-01-15.test.txt](https://object.pouta.csc.fi/OPUS-MT-models/aed-es/opus-2020-01-15.test.txt)
18
+ * test set scores: [opus-2020-01-15.eval.txt](https://object.pouta.csc.fi/OPUS-MT-models/aed-es/opus-2020-01-15.eval.txt)
19
+
20
+ ## Benchmarks
21
+
22
+ | testset | BLEU | chr-F |
23
+ |-----------------------|-------|-------|
24
+ | JW300.aed.es | 89.1 | 0.915 |
25
+
Helsinki-NLP-opus-mt-aed-es/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": 23624,
20
+ "decoder_vocab_size": 23625,
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": 23624,
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": 23625
56
+ }
Helsinki-NLP-opus-mt-aed-es/generation_config.json ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bad_words_ids": [
3
+ [
4
+ 23624
5
+ ]
6
+ ],
7
+ "bos_token_id": 0,
8
+ "decoder_start_token_id": 23624,
9
+ "eos_token_id": 0,
10
+ "forced_eos_token_id": 0,
11
+ "max_length": 512,
12
+ "num_beams": 4,
13
+ "pad_token_id": 23624,
14
+ "renormalize_logits": true,
15
+ "transformers_version": "4.53.3"
16
+ }
Helsinki-NLP-opus-mt-aed-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-aed-es/tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
Helsinki-NLP-opus-mt-aed-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
+ "23624": {
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": "aed",
35
+ "sp_model_kwargs": {},
36
+ "target_lang": "es",
37
+ "tokenizer_class": "MarianTokenizer",
38
+ "unk_token": "<unk>"
39
+ }
Helsinki-NLP-opus-mt-aed-es/vocab.json ADDED
The diff for this file is too large to render. See raw diff
 
Helsinki-NLP-opus-mt-af-de/README.md ADDED
@@ -0,0 +1,25 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ tags:
3
+ - translation
4
+ license: apache-2.0
5
+ ---
6
+
7
+ ### opus-mt-af-de
8
+
9
+ * source languages: af
10
+ * target languages: de
11
+ * OPUS readme: [af-de](https://github.com/Helsinki-NLP/OPUS-MT-train/blob/master/models/af-de/README.md)
12
+
13
+ * dataset: opus
14
+ * model: transformer-align
15
+ * pre-processing: normalization + SentencePiece
16
+ * download original weights: [opus-2020-01-19.zip](https://object.pouta.csc.fi/OPUS-MT-models/af-de/opus-2020-01-19.zip)
17
+ * test set translations: [opus-2020-01-19.test.txt](https://object.pouta.csc.fi/OPUS-MT-models/af-de/opus-2020-01-19.test.txt)
18
+ * test set scores: [opus-2020-01-19.eval.txt](https://object.pouta.csc.fi/OPUS-MT-models/af-de/opus-2020-01-19.eval.txt)
19
+
20
+ ## Benchmarks
21
+
22
+ | testset | BLEU | chr-F |
23
+ |-----------------------|-------|-------|
24
+ | Tatoeba.af.de | 48.6 | 0.681 |
25
+
Helsinki-NLP-opus-mt-af-de/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": 58756,
20
+ "decoder_vocab_size": 58757,
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": 58756,
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": 58757
56
+ }
Helsinki-NLP-opus-mt-af-de/generation_config.json ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bad_words_ids": [
3
+ [
4
+ 58756
5
+ ]
6
+ ],
7
+ "bos_token_id": 0,
8
+ "decoder_start_token_id": 58756,
9
+ "eos_token_id": 0,
10
+ "forced_eos_token_id": 0,
11
+ "max_length": 512,
12
+ "num_beams": 4,
13
+ "pad_token_id": 58756,
14
+ "renormalize_logits": true,
15
+ "transformers_version": "4.53.3"
16
+ }
Helsinki-NLP-opus-mt-af-de/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-af-de/tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
Helsinki-NLP-opus-mt-af-de/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
+ "58756": {
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": "af",
35
+ "sp_model_kwargs": {},
36
+ "target_lang": "de",
37
+ "tokenizer_class": "MarianTokenizer",
38
+ "unk_token": "<unk>"
39
+ }
Helsinki-NLP-opus-mt-af-de/vocab.json ADDED
The diff for this file is too large to render. See raw diff
 
Helsinki-NLP-opus-mt-af-en/README.md ADDED
@@ -0,0 +1,25 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ tags:
3
+ - translation
4
+ license: apache-2.0
5
+ ---
6
+
7
+ ### opus-mt-af-en
8
+
9
+ * source languages: af
10
+ * target languages: en
11
+ * OPUS readme: [af-en](https://github.com/Helsinki-NLP/OPUS-MT-train/blob/master/models/af-en/README.md)
12
+
13
+ * dataset: opus
14
+ * model: transformer-align
15
+ * pre-processing: normalization + SentencePiece
16
+ * download original weights: [opus-2019-12-18.zip](https://object.pouta.csc.fi/OPUS-MT-models/af-en/opus-2019-12-18.zip)
17
+ * test set translations: [opus-2019-12-18.test.txt](https://object.pouta.csc.fi/OPUS-MT-models/af-en/opus-2019-12-18.test.txt)
18
+ * test set scores: [opus-2019-12-18.eval.txt](https://object.pouta.csc.fi/OPUS-MT-models/af-en/opus-2019-12-18.eval.txt)
19
+
20
+ ## Benchmarks
21
+
22
+ | testset | BLEU | chr-F |
23
+ |-----------------------|-------|-------|
24
+ | Tatoeba.af.en | 60.8 | 0.736 |
25
+
Helsinki-NLP-opus-mt-af-en/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": 57444,
20
+ "decoder_vocab_size": 57445,
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": 57444,
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": 57445
56
+ }
Helsinki-NLP-opus-mt-af-en/generation_config.json ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bad_words_ids": [
3
+ [
4
+ 57444
5
+ ]
6
+ ],
7
+ "bos_token_id": 0,
8
+ "decoder_start_token_id": 57444,
9
+ "eos_token_id": 0,
10
+ "forced_eos_token_id": 0,
11
+ "max_length": 512,
12
+ "num_beams": 4,
13
+ "pad_token_id": 57444,
14
+ "renormalize_logits": true,
15
+ "transformers_version": "4.53.3"
16
+ }
Helsinki-NLP-opus-mt-af-en/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-af-en/tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
Helsinki-NLP-opus-mt-af-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
+ "57444": {
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": "af",
35
+ "sp_model_kwargs": {},
36
+ "target_lang": "en",
37
+ "tokenizer_class": "MarianTokenizer",
38
+ "unk_token": "<unk>"
39
+ }
Helsinki-NLP-opus-mt-af-en/vocab.json ADDED
The diff for this file is too large to render. See raw diff
 
Helsinki-NLP-opus-mt-af-eo/README.md ADDED
@@ -0,0 +1,97 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ language:
3
+ - af
4
+ - eo
5
+
6
+ tags:
7
+ - translation
8
+
9
+ license: apache-2.0
10
+ ---
11
+
12
+ ### afr-epo
13
+
14
+ * source group: Afrikaans
15
+ * target group: Esperanto
16
+ * OPUS readme: [afr-epo](https://github.com/Helsinki-NLP/Tatoeba-Challenge/tree/master/models/afr-epo/README.md)
17
+
18
+ * model: transformer-align
19
+ * source language(s): afr
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/afr-epo/opus-2020-06-16.zip)
24
+ * test set translations: [opus-2020-06-16.test.txt](https://object.pouta.csc.fi/Tatoeba-MT-models/afr-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/afr-epo/opus-2020-06-16.eval.txt)
26
+
27
+ ## Benchmarks
28
+
29
+ | testset | BLEU | chr-F |
30
+ |-----------------------|-------|-------|
31
+ | Tatoeba-test.afr.epo | 18.3 | 0.411 |
32
+
33
+
34
+ ### System Info:
35
+ - hf_name: afr-epo
36
+
37
+ - source_languages: afr
38
+
39
+ - target_languages: epo
40
+
41
+ - opus_readme_url: https://github.com/Helsinki-NLP/Tatoeba-Challenge/tree/master/models/afr-epo/README.md
42
+
43
+ - original_repo: Tatoeba-Challenge
44
+
45
+ - tags: ['translation']
46
+
47
+ - languages: ['af', 'eo']
48
+
49
+ - src_constituents: {'afr'}
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/afr-epo/opus-2020-06-16.zip
60
+
61
+ - url_test_set: https://object.pouta.csc.fi/Tatoeba-MT-models/afr-epo/opus-2020-06-16.test.txt
62
+
63
+ - src_alpha3: afr
64
+
65
+ - tgt_alpha3: epo
66
+
67
+ - short_pair: af-eo
68
+
69
+ - chrF2_score: 0.41100000000000003
70
+
71
+ - bleu: 18.3
72
+
73
+ - brevity_penalty: 0.995
74
+
75
+ - ref_len: 7517.0
76
+
77
+ - src_name: Afrikaans
78
+
79
+ - tgt_name: Esperanto
80
+
81
+ - train_date: 2020-06-16
82
+
83
+ - src_alpha2: af
84
+
85
+ - tgt_alpha2: eo
86
+
87
+ - prefer_old: False
88
+
89
+ - long_pair: afr-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-af-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": 7474,
19
+ "decoder_vocab_size": 7475,
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": 7475,
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": 7474,
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": 7475
56
+ }
Helsinki-NLP-opus-mt-af-eo/generation_config.json ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bad_words_ids": [
3
+ [
4
+ 7474
5
+ ]
6
+ ],
7
+ "bos_token_id": 0,
8
+ "decoder_start_token_id": 7474,
9
+ "eos_token_id": 0,
10
+ "forced_eos_token_id": 0,
11
+ "max_length": 512,
12
+ "num_beams": 4,
13
+ "pad_token_id": 7474,
14
+ "renormalize_logits": true,
15
+ "transformers_version": "4.53.3"
16
+ }
Helsinki-NLP-opus-mt-af-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-af-eo/tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
Helsinki-NLP-opus-mt-af-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
+ "7474": {
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": "afr",
35
+ "sp_model_kwargs": {},
36
+ "target_lang": "epo",
37
+ "tokenizer_class": "MarianTokenizer",
38
+ "unk_token": "<unk>"
39
+ }
Helsinki-NLP-opus-mt-af-eo/vocab.json ADDED
The diff for this file is too large to render. See raw diff
 
Helsinki-NLP-opus-mt-af-es/README.md ADDED
@@ -0,0 +1,97 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ language:
3
+ - af
4
+ - es
5
+
6
+ tags:
7
+ - translation
8
+
9
+ license: apache-2.0
10
+ ---
11
+
12
+ ### afr-spa
13
+
14
+ * source group: Afrikaans
15
+ * target group: Spanish
16
+ * OPUS readme: [afr-spa](https://github.com/Helsinki-NLP/Tatoeba-Challenge/tree/master/models/afr-spa/README.md)
17
+
18
+ * model: transformer-align
19
+ * source language(s): afr
20
+ * target language(s): spa
21
+ * model: transformer-align
22
+ * pre-processing: normalization + SentencePiece (spm32k,spm32k)
23
+ * download original weights: [opus-2020-06-17.zip](https://object.pouta.csc.fi/Tatoeba-MT-models/afr-spa/opus-2020-06-17.zip)
24
+ * test set translations: [opus-2020-06-17.test.txt](https://object.pouta.csc.fi/Tatoeba-MT-models/afr-spa/opus-2020-06-17.test.txt)
25
+ * test set scores: [opus-2020-06-17.eval.txt](https://object.pouta.csc.fi/Tatoeba-MT-models/afr-spa/opus-2020-06-17.eval.txt)
26
+
27
+ ## Benchmarks
28
+
29
+ | testset | BLEU | chr-F |
30
+ |-----------------------|-------|-------|
31
+ | Tatoeba-test.afr.spa | 49.9 | 0.680 |
32
+
33
+
34
+ ### System Info:
35
+ - hf_name: afr-spa
36
+
37
+ - source_languages: afr
38
+
39
+ - target_languages: spa
40
+
41
+ - opus_readme_url: https://github.com/Helsinki-NLP/Tatoeba-Challenge/tree/master/models/afr-spa/README.md
42
+
43
+ - original_repo: Tatoeba-Challenge
44
+
45
+ - tags: ['translation']
46
+
47
+ - languages: ['af', 'es']
48
+
49
+ - src_constituents: {'afr'}
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/afr-spa/opus-2020-06-17.zip
60
+
61
+ - url_test_set: https://object.pouta.csc.fi/Tatoeba-MT-models/afr-spa/opus-2020-06-17.test.txt
62
+
63
+ - src_alpha3: afr
64
+
65
+ - tgt_alpha3: spa
66
+
67
+ - short_pair: af-es
68
+
69
+ - chrF2_score: 0.68
70
+
71
+ - bleu: 49.9
72
+
73
+ - brevity_penalty: 1.0
74
+
75
+ - ref_len: 2783.0
76
+
77
+ - src_name: Afrikaans
78
+
79
+ - tgt_name: Spanish
80
+
81
+ - train_date: 2020-06-17
82
+
83
+ - src_alpha2: af
84
+
85
+ - tgt_alpha2: es
86
+
87
+ - prefer_old: False
88
+
89
+ - long_pair: afr-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-af-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": 60215,
19
+ "decoder_vocab_size": 60216,
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": 60216,
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": 60215,
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": 60216
56
+ }
Helsinki-NLP-opus-mt-af-es/generation_config.json ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bad_words_ids": [
3
+ [
4
+ 60215
5
+ ]
6
+ ],
7
+ "bos_token_id": 0,
8
+ "decoder_start_token_id": 60215,
9
+ "eos_token_id": 0,
10
+ "forced_eos_token_id": 0,
11
+ "max_length": 512,
12
+ "num_beams": 4,
13
+ "pad_token_id": 60215,
14
+ "renormalize_logits": true,
15
+ "transformers_version": "4.53.3"
16
+ }
Helsinki-NLP-opus-mt-af-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-af-es/tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
Helsinki-NLP-opus-mt-af-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
+ "60215": {
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": "afr",
35
+ "sp_model_kwargs": {},
36
+ "target_lang": "spa",
37
+ "tokenizer_class": "MarianTokenizer",
38
+ "unk_token": "<unk>"
39
+ }
Helsinki-NLP-opus-mt-af-es/vocab.json ADDED
The diff for this file is too large to render. See raw diff
 
Helsinki-NLP-opus-mt-af-fi/README.md ADDED
@@ -0,0 +1,25 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ tags:
3
+ - translation
4
+ license: apache-2.0
5
+ ---
6
+
7
+ ### opus-mt-af-fi
8
+
9
+ * source languages: af
10
+ * target languages: fi
11
+ * OPUS readme: [af-fi](https://github.com/Helsinki-NLP/OPUS-MT-train/blob/master/models/af-fi/README.md)
12
+
13
+ * dataset: opus
14
+ * model: transformer-align
15
+ * pre-processing: normalization + SentencePiece
16
+ * download original weights: [opus-2020-01-08.zip](https://object.pouta.csc.fi/OPUS-MT-models/af-fi/opus-2020-01-08.zip)
17
+ * test set translations: [opus-2020-01-08.test.txt](https://object.pouta.csc.fi/OPUS-MT-models/af-fi/opus-2020-01-08.test.txt)
18
+ * test set scores: [opus-2020-01-08.eval.txt](https://object.pouta.csc.fi/OPUS-MT-models/af-fi/opus-2020-01-08.eval.txt)
19
+
20
+ ## Benchmarks
21
+
22
+ | testset | BLEU | chr-F |
23
+ |-----------------------|-------|-------|
24
+ | JW300.af.fi | 32.3 | 0.576 |
25
+
Helsinki-NLP-opus-mt-af-fi/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": 60656,
20
+ "decoder_vocab_size": 60657,
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": 60656,
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": 60657
56
+ }
Helsinki-NLP-opus-mt-af-fi/generation_config.json ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bad_words_ids": [
3
+ [
4
+ 60656
5
+ ]
6
+ ],
7
+ "bos_token_id": 0,
8
+ "decoder_start_token_id": 60656,
9
+ "eos_token_id": 0,
10
+ "forced_eos_token_id": 0,
11
+ "max_length": 512,
12
+ "num_beams": 4,
13
+ "pad_token_id": 60656,
14
+ "renormalize_logits": true,
15
+ "transformers_version": "4.53.3"
16
+ }
Helsinki-NLP-opus-mt-af-fi/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-af-fi/tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
Helsinki-NLP-opus-mt-af-fi/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
+ "60656": {
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": "af",
35
+ "sp_model_kwargs": {},
36
+ "target_lang": "fi",
37
+ "tokenizer_class": "MarianTokenizer",
38
+ "unk_token": "<unk>"
39
+ }
Helsinki-NLP-opus-mt-af-fi/vocab.json ADDED
The diff for this file is too large to render. See raw diff