aoiandroid commited on
Commit
ecb101f
·
verified ·
1 Parent(s): 3da9842

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-en-to/tokenizer.json +0 -0
  2. Helsinki-NLP-opus-mt-en-to/tokenizer_config.json +39 -0
  3. Helsinki-NLP-opus-mt-en-to/vocab.json +0 -0
  4. Helsinki-NLP-opus-mt-en-toi/README.md +25 -0
  5. Helsinki-NLP-opus-mt-en-toi/config.json +56 -0
  6. Helsinki-NLP-opus-mt-en-toi/generation_config.json +16 -0
  7. Helsinki-NLP-opus-mt-en-toi/special_tokens_map.json +5 -0
  8. Helsinki-NLP-opus-mt-en-toi/tokenizer.json +0 -0
  9. Helsinki-NLP-opus-mt-en-toi/tokenizer_config.json +39 -0
  10. Helsinki-NLP-opus-mt-en-toi/vocab.json +0 -0
  11. Helsinki-NLP-opus-mt-en-tpi/README.md +25 -0
  12. Helsinki-NLP-opus-mt-en-tpi/config.json +56 -0
  13. Helsinki-NLP-opus-mt-en-tpi/generation_config.json +16 -0
  14. Helsinki-NLP-opus-mt-en-tpi/special_tokens_map.json +5 -0
  15. Helsinki-NLP-opus-mt-en-tpi/tokenizer.json +0 -0
  16. Helsinki-NLP-opus-mt-en-tpi/tokenizer_config.json +39 -0
  17. Helsinki-NLP-opus-mt-en-tpi/vocab.json +0 -0
  18. Helsinki-NLP-opus-mt-en-trk/README.md +123 -0
  19. Helsinki-NLP-opus-mt-en-trk/config.json +56 -0
  20. Helsinki-NLP-opus-mt-en-trk/generation_config.json +16 -0
  21. Helsinki-NLP-opus-mt-en-trk/special_tokens_map.json +5 -0
  22. Helsinki-NLP-opus-mt-en-trk/tokenizer.json +0 -0
  23. Helsinki-NLP-opus-mt-en-trk/tokenizer_config.json +39 -0
  24. Helsinki-NLP-opus-mt-en-trk/vocab.json +0 -0
  25. Helsinki-NLP-opus-mt-en-ts/README.md +25 -0
  26. Helsinki-NLP-opus-mt-en-ts/config.json +56 -0
  27. Helsinki-NLP-opus-mt-en-ts/generation_config.json +16 -0
  28. Helsinki-NLP-opus-mt-en-ts/special_tokens_map.json +5 -0
  29. Helsinki-NLP-opus-mt-en-ts/tokenizer.json +0 -0
  30. Helsinki-NLP-opus-mt-en-ts/tokenizer_config.json +39 -0
  31. Helsinki-NLP-opus-mt-en-ts/vocab.json +0 -0
  32. Helsinki-NLP-opus-mt-en-tut/README.md +121 -0
  33. Helsinki-NLP-opus-mt-en-tut/config.json +56 -0
  34. Helsinki-NLP-opus-mt-en-tut/generation_config.json +16 -0
  35. Helsinki-NLP-opus-mt-en-tut/special_tokens_map.json +5 -0
  36. Helsinki-NLP-opus-mt-en-tut/tokenizer.json +0 -0
  37. Helsinki-NLP-opus-mt-en-tut/tokenizer_config.json +39 -0
  38. Helsinki-NLP-opus-mt-en-tut/vocab.json +0 -0
  39. Helsinki-NLP-opus-mt-en-tvl/README.md +25 -0
  40. Helsinki-NLP-opus-mt-en-tvl/config.json +56 -0
  41. Helsinki-NLP-opus-mt-en-tvl/generation_config.json +16 -0
  42. Helsinki-NLP-opus-mt-en-tvl/special_tokens_map.json +5 -0
  43. Helsinki-NLP-opus-mt-en-tvl/tokenizer.json +0 -0
  44. Helsinki-NLP-opus-mt-en-tvl/tokenizer_config.json +39 -0
  45. Helsinki-NLP-opus-mt-en-tvl/vocab.json +0 -0
  46. Helsinki-NLP-opus-mt-en-tw/README.md +25 -0
  47. Helsinki-NLP-opus-mt-en-tw/config.json +56 -0
  48. Helsinki-NLP-opus-mt-en-tw/generation_config.json +16 -0
  49. Helsinki-NLP-opus-mt-en-tw/special_tokens_map.json +5 -0
  50. Helsinki-NLP-opus-mt-en-tw/tokenizer.json +0 -0
Helsinki-NLP-opus-mt-en-to/tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
Helsinki-NLP-opus-mt-en-to/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
+ "57445": {
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": "en",
35
+ "sp_model_kwargs": {},
36
+ "target_lang": "to",
37
+ "tokenizer_class": "MarianTokenizer",
38
+ "unk_token": "<unk>"
39
+ }
Helsinki-NLP-opus-mt-en-to/vocab.json ADDED
The diff for this file is too large to render. See raw diff
 
Helsinki-NLP-opus-mt-en-toi/README.md ADDED
@@ -0,0 +1,25 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ tags:
3
+ - translation
4
+ license: apache-2.0
5
+ ---
6
+
7
+ ### opus-mt-en-toi
8
+
9
+ * source languages: en
10
+ * target languages: toi
11
+ * OPUS readme: [en-toi](https://github.com/Helsinki-NLP/OPUS-MT-train/blob/master/models/en-toi/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/en-toi/opus-2020-01-08.zip)
17
+ * test set translations: [opus-2020-01-08.test.txt](https://object.pouta.csc.fi/OPUS-MT-models/en-toi/opus-2020-01-08.test.txt)
18
+ * test set scores: [opus-2020-01-08.eval.txt](https://object.pouta.csc.fi/OPUS-MT-models/en-toi/opus-2020-01-08.eval.txt)
19
+
20
+ ## Benchmarks
21
+
22
+ | testset | BLEU | chr-F |
23
+ |-----------------------|-------|-------|
24
+ | JW300.en.toi | 32.8 | 0.598 |
25
+
Helsinki-NLP-opus-mt-en-toi/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": 61050,
20
+ "decoder_vocab_size": 61051,
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": 61050,
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": 61051
56
+ }
Helsinki-NLP-opus-mt-en-toi/generation_config.json ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bad_words_ids": [
3
+ [
4
+ 61050
5
+ ]
6
+ ],
7
+ "bos_token_id": 0,
8
+ "decoder_start_token_id": 61050,
9
+ "eos_token_id": 0,
10
+ "forced_eos_token_id": 0,
11
+ "max_length": 512,
12
+ "num_beams": 4,
13
+ "pad_token_id": 61050,
14
+ "renormalize_logits": true,
15
+ "transformers_version": "4.53.3"
16
+ }
Helsinki-NLP-opus-mt-en-toi/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-en-toi/tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
Helsinki-NLP-opus-mt-en-toi/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
+ "61050": {
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": "en",
35
+ "sp_model_kwargs": {},
36
+ "target_lang": "toi",
37
+ "tokenizer_class": "MarianTokenizer",
38
+ "unk_token": "<unk>"
39
+ }
Helsinki-NLP-opus-mt-en-toi/vocab.json ADDED
The diff for this file is too large to render. See raw diff
 
Helsinki-NLP-opus-mt-en-tpi/README.md ADDED
@@ -0,0 +1,25 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ tags:
3
+ - translation
4
+ license: apache-2.0
5
+ ---
6
+
7
+ ### opus-mt-en-tpi
8
+
9
+ * source languages: en
10
+ * target languages: tpi
11
+ * OPUS readme: [en-tpi](https://github.com/Helsinki-NLP/OPUS-MT-train/blob/master/models/en-tpi/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/en-tpi/opus-2020-01-08.zip)
17
+ * test set translations: [opus-2020-01-08.test.txt](https://object.pouta.csc.fi/OPUS-MT-models/en-tpi/opus-2020-01-08.test.txt)
18
+ * test set scores: [opus-2020-01-08.eval.txt](https://object.pouta.csc.fi/OPUS-MT-models/en-tpi/opus-2020-01-08.eval.txt)
19
+
20
+ ## Benchmarks
21
+
22
+ | testset | BLEU | chr-F |
23
+ |-----------------------|-------|-------|
24
+ | JW300.en.tpi | 38.7 | 0.568 |
25
+
Helsinki-NLP-opus-mt-en-tpi/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": 49237,
20
+ "decoder_vocab_size": 49238,
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": 49237,
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": 49238
56
+ }
Helsinki-NLP-opus-mt-en-tpi/generation_config.json ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bad_words_ids": [
3
+ [
4
+ 49237
5
+ ]
6
+ ],
7
+ "bos_token_id": 0,
8
+ "decoder_start_token_id": 49237,
9
+ "eos_token_id": 0,
10
+ "forced_eos_token_id": 0,
11
+ "max_length": 512,
12
+ "num_beams": 4,
13
+ "pad_token_id": 49237,
14
+ "renormalize_logits": true,
15
+ "transformers_version": "4.53.3"
16
+ }
Helsinki-NLP-opus-mt-en-tpi/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-en-tpi/tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
Helsinki-NLP-opus-mt-en-tpi/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
+ "49237": {
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": "en",
35
+ "sp_model_kwargs": {},
36
+ "target_lang": "tpi",
37
+ "tokenizer_class": "MarianTokenizer",
38
+ "unk_token": "<unk>"
39
+ }
Helsinki-NLP-opus-mt-en-tpi/vocab.json ADDED
The diff for this file is too large to render. See raw diff
 
Helsinki-NLP-opus-mt-en-trk/README.md ADDED
@@ -0,0 +1,123 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ language:
3
+ - en
4
+ - tt
5
+ - cv
6
+ - tk
7
+ - tr
8
+ - ba
9
+ - trk
10
+
11
+ tags:
12
+ - translation
13
+
14
+ license: apache-2.0
15
+ ---
16
+
17
+ ### eng-trk
18
+
19
+ * source group: English
20
+ * target group: Turkic languages
21
+ * OPUS readme: [eng-trk](https://github.com/Helsinki-NLP/Tatoeba-Challenge/tree/master/models/eng-trk/README.md)
22
+
23
+ * model: transformer
24
+ * source language(s): eng
25
+ * target language(s): aze_Latn bak chv crh crh_Latn kaz_Cyrl kaz_Latn kir_Cyrl kjh kum ota_Arab ota_Latn sah tat tat_Arab tat_Latn tuk tuk_Latn tur tyv uig_Arab uig_Cyrl uzb_Cyrl uzb_Latn
26
+ * model: transformer
27
+ * pre-processing: normalization + SentencePiece (spm32k,spm32k)
28
+ * a sentence initial language token is required in the form of `>>id<<` (id = valid target language ID)
29
+ * download original weights: [opus2m-2020-08-01.zip](https://object.pouta.csc.fi/Tatoeba-MT-models/eng-trk/opus2m-2020-08-01.zip)
30
+ * test set translations: [opus2m-2020-08-01.test.txt](https://object.pouta.csc.fi/Tatoeba-MT-models/eng-trk/opus2m-2020-08-01.test.txt)
31
+ * test set scores: [opus2m-2020-08-01.eval.txt](https://object.pouta.csc.fi/Tatoeba-MT-models/eng-trk/opus2m-2020-08-01.eval.txt)
32
+
33
+ ## Benchmarks
34
+
35
+ | testset | BLEU | chr-F |
36
+ |-----------------------|-------|-------|
37
+ | newsdev2016-entr-engtur.eng.tur | 10.1 | 0.437 |
38
+ | newstest2016-entr-engtur.eng.tur | 9.2 | 0.410 |
39
+ | newstest2017-entr-engtur.eng.tur | 9.0 | 0.410 |
40
+ | newstest2018-entr-engtur.eng.tur | 9.2 | 0.413 |
41
+ | Tatoeba-test.eng-aze.eng.aze | 26.8 | 0.577 |
42
+ | Tatoeba-test.eng-bak.eng.bak | 7.6 | 0.308 |
43
+ | Tatoeba-test.eng-chv.eng.chv | 4.3 | 0.270 |
44
+ | Tatoeba-test.eng-crh.eng.crh | 8.1 | 0.330 |
45
+ | Tatoeba-test.eng-kaz.eng.kaz | 11.1 | 0.359 |
46
+ | Tatoeba-test.eng-kir.eng.kir | 28.6 | 0.524 |
47
+ | Tatoeba-test.eng-kjh.eng.kjh | 1.0 | 0.041 |
48
+ | Tatoeba-test.eng-kum.eng.kum | 2.2 | 0.075 |
49
+ | Tatoeba-test.eng.multi | 19.9 | 0.455 |
50
+ | Tatoeba-test.eng-ota.eng.ota | 0.5 | 0.065 |
51
+ | Tatoeba-test.eng-sah.eng.sah | 0.7 | 0.030 |
52
+ | Tatoeba-test.eng-tat.eng.tat | 9.7 | 0.316 |
53
+ | Tatoeba-test.eng-tuk.eng.tuk | 5.9 | 0.317 |
54
+ | Tatoeba-test.eng-tur.eng.tur | 34.6 | 0.623 |
55
+ | Tatoeba-test.eng-tyv.eng.tyv | 5.4 | 0.210 |
56
+ | Tatoeba-test.eng-uig.eng.uig | 0.1 | 0.155 |
57
+ | Tatoeba-test.eng-uzb.eng.uzb | 3.4 | 0.275 |
58
+
59
+
60
+ ### System Info:
61
+ - hf_name: eng-trk
62
+
63
+ - source_languages: eng
64
+
65
+ - target_languages: trk
66
+
67
+ - opus_readme_url: https://github.com/Helsinki-NLP/Tatoeba-Challenge/tree/master/models/eng-trk/README.md
68
+
69
+ - original_repo: Tatoeba-Challenge
70
+
71
+ - tags: ['translation']
72
+
73
+ - languages: ['en', 'tt', 'cv', 'tk', 'tr', 'ba', 'trk']
74
+
75
+ - src_constituents: {'eng'}
76
+
77
+ - tgt_constituents: {'kir_Cyrl', 'tat_Latn', 'tat', 'chv', 'uzb_Cyrl', 'kaz_Latn', 'aze_Latn', 'crh', 'kjh', 'uzb_Latn', 'ota_Arab', 'tuk_Latn', 'tuk', 'tat_Arab', 'sah', 'tyv', 'tur', 'uig_Arab', 'crh_Latn', 'kaz_Cyrl', 'uig_Cyrl', 'kum', 'ota_Latn', 'bak'}
78
+
79
+ - src_multilingual: False
80
+
81
+ - tgt_multilingual: True
82
+
83
+ - prepro: normalization + SentencePiece (spm32k,spm32k)
84
+
85
+ - url_model: https://object.pouta.csc.fi/Tatoeba-MT-models/eng-trk/opus2m-2020-08-01.zip
86
+
87
+ - url_test_set: https://object.pouta.csc.fi/Tatoeba-MT-models/eng-trk/opus2m-2020-08-01.test.txt
88
+
89
+ - src_alpha3: eng
90
+
91
+ - tgt_alpha3: trk
92
+
93
+ - short_pair: en-trk
94
+
95
+ - chrF2_score: 0.455
96
+
97
+ - bleu: 19.9
98
+
99
+ - brevity_penalty: 1.0
100
+
101
+ - ref_len: 57072.0
102
+
103
+ - src_name: English
104
+
105
+ - tgt_name: Turkic languages
106
+
107
+ - train_date: 2020-08-01
108
+
109
+ - src_alpha2: en
110
+
111
+ - tgt_alpha2: trk
112
+
113
+ - prefer_old: False
114
+
115
+ - long_pair: eng-trk
116
+
117
+ - helsinki_git_sha: 480fcbe0ee1bf4774bcbe6226ad9f58e63f6c535
118
+
119
+ - transformers_git_sha: 2207e5d8cb224e954a7cba69fa4ac2309e9ff30b
120
+
121
+ - port_machine: brutasse
122
+
123
+ - port_time: 2020-08-21-14:41
Helsinki-NLP-opus-mt-en-trk/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": 61673,
19
+ "decoder_vocab_size": 61674,
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": 61674,
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": 61673,
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": 61674
56
+ }
Helsinki-NLP-opus-mt-en-trk/generation_config.json ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bad_words_ids": [
3
+ [
4
+ 61673
5
+ ]
6
+ ],
7
+ "bos_token_id": 0,
8
+ "decoder_start_token_id": 61673,
9
+ "eos_token_id": 0,
10
+ "forced_eos_token_id": 0,
11
+ "max_length": 512,
12
+ "num_beams": 4,
13
+ "pad_token_id": 61673,
14
+ "renormalize_logits": true,
15
+ "transformers_version": "4.53.3"
16
+ }
Helsinki-NLP-opus-mt-en-trk/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-en-trk/tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
Helsinki-NLP-opus-mt-en-trk/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
+ "61673": {
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": "eng",
35
+ "sp_model_kwargs": {},
36
+ "target_lang": "trk",
37
+ "tokenizer_class": "MarianTokenizer",
38
+ "unk_token": "<unk>"
39
+ }
Helsinki-NLP-opus-mt-en-trk/vocab.json ADDED
The diff for this file is too large to render. See raw diff
 
Helsinki-NLP-opus-mt-en-ts/README.md ADDED
@@ -0,0 +1,25 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ tags:
3
+ - translation
4
+ license: apache-2.0
5
+ ---
6
+
7
+ ### opus-mt-en-ts
8
+
9
+ * source languages: en
10
+ * target languages: ts
11
+ * OPUS readme: [en-ts](https://github.com/Helsinki-NLP/OPUS-MT-train/blob/master/models/en-ts/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/en-ts/opus-2020-01-08.zip)
17
+ * test set translations: [opus-2020-01-08.test.txt](https://object.pouta.csc.fi/OPUS-MT-models/en-ts/opus-2020-01-08.test.txt)
18
+ * test set scores: [opus-2020-01-08.eval.txt](https://object.pouta.csc.fi/OPUS-MT-models/en-ts/opus-2020-01-08.eval.txt)
19
+
20
+ ## Benchmarks
21
+
22
+ | testset | BLEU | chr-F |
23
+ |-----------------------|-------|-------|
24
+ | JW300.en.ts | 43.4 | 0.639 |
25
+
Helsinki-NLP-opus-mt-en-ts/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": 57468,
20
+ "decoder_vocab_size": 57469,
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": 57468,
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": 57469
56
+ }
Helsinki-NLP-opus-mt-en-ts/generation_config.json ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bad_words_ids": [
3
+ [
4
+ 57468
5
+ ]
6
+ ],
7
+ "bos_token_id": 0,
8
+ "decoder_start_token_id": 57468,
9
+ "eos_token_id": 0,
10
+ "forced_eos_token_id": 0,
11
+ "max_length": 512,
12
+ "num_beams": 4,
13
+ "pad_token_id": 57468,
14
+ "renormalize_logits": true,
15
+ "transformers_version": "4.53.3"
16
+ }
Helsinki-NLP-opus-mt-en-ts/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-en-ts/tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
Helsinki-NLP-opus-mt-en-ts/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
+ "57468": {
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": "en",
35
+ "sp_model_kwargs": {},
36
+ "target_lang": "ts",
37
+ "tokenizer_class": "MarianTokenizer",
38
+ "unk_token": "<unk>"
39
+ }
Helsinki-NLP-opus-mt-en-ts/vocab.json ADDED
The diff for this file is too large to render. See raw diff
 
Helsinki-NLP-opus-mt-en-tut/README.md ADDED
@@ -0,0 +1,121 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ language:
3
+ - en
4
+ - tut
5
+
6
+ tags:
7
+ - translation
8
+
9
+ license: apache-2.0
10
+ ---
11
+
12
+ ### eng-tut
13
+
14
+ * source group: English
15
+ * target group: Altaic languages
16
+ * OPUS readme: [eng-tut](https://github.com/Helsinki-NLP/Tatoeba-Challenge/tree/master/models/eng-tut/README.md)
17
+
18
+ * model: transformer
19
+ * source language(s): eng
20
+ * target language(s): aze_Latn bak chv crh crh_Latn kaz_Cyrl kaz_Latn kir_Cyrl kjh kum mon nog ota_Arab ota_Latn sah tat tat_Arab tat_Latn tuk tuk_Latn tur tyv uig_Arab uig_Cyrl uzb_Cyrl uzb_Latn xal
21
+ * model: transformer
22
+ * pre-processing: normalization + SentencePiece (spm32k,spm32k)
23
+ * a sentence initial language token is required in the form of `>>id<<` (id = valid target language ID)
24
+ * download original weights: [opus2m-2020-08-02.zip](https://object.pouta.csc.fi/Tatoeba-MT-models/eng-tut/opus2m-2020-08-02.zip)
25
+ * test set translations: [opus2m-2020-08-02.test.txt](https://object.pouta.csc.fi/Tatoeba-MT-models/eng-tut/opus2m-2020-08-02.test.txt)
26
+ * test set scores: [opus2m-2020-08-02.eval.txt](https://object.pouta.csc.fi/Tatoeba-MT-models/eng-tut/opus2m-2020-08-02.eval.txt)
27
+
28
+ ## Benchmarks
29
+
30
+ | testset | BLEU | chr-F |
31
+ |-----------------------|-------|-------|
32
+ | newsdev2016-entr-engtur.eng.tur | 10.4 | 0.438 |
33
+ | newstest2016-entr-engtur.eng.tur | 9.1 | 0.414 |
34
+ | newstest2017-entr-engtur.eng.tur | 9.5 | 0.414 |
35
+ | newstest2018-entr-engtur.eng.tur | 9.5 | 0.415 |
36
+ | Tatoeba-test.eng-aze.eng.aze | 27.2 | 0.580 |
37
+ | Tatoeba-test.eng-bak.eng.bak | 5.8 | 0.298 |
38
+ | Tatoeba-test.eng-chv.eng.chv | 4.6 | 0.301 |
39
+ | Tatoeba-test.eng-crh.eng.crh | 6.5 | 0.342 |
40
+ | Tatoeba-test.eng-kaz.eng.kaz | 11.8 | 0.360 |
41
+ | Tatoeba-test.eng-kir.eng.kir | 24.6 | 0.499 |
42
+ | Tatoeba-test.eng-kjh.eng.kjh | 2.2 | 0.052 |
43
+ | Tatoeba-test.eng-kum.eng.kum | 8.0 | 0.229 |
44
+ | Tatoeba-test.eng-mon.eng.mon | 10.3 | 0.362 |
45
+ | Tatoeba-test.eng.multi | 19.5 | 0.451 |
46
+ | Tatoeba-test.eng-nog.eng.nog | 1.5 | 0.117 |
47
+ | Tatoeba-test.eng-ota.eng.ota | 0.2 | 0.035 |
48
+ | Tatoeba-test.eng-sah.eng.sah | 0.7 | 0.080 |
49
+ | Tatoeba-test.eng-tat.eng.tat | 10.8 | 0.320 |
50
+ | Tatoeba-test.eng-tuk.eng.tuk | 5.6 | 0.323 |
51
+ | Tatoeba-test.eng-tur.eng.tur | 34.2 | 0.623 |
52
+ | Tatoeba-test.eng-tyv.eng.tyv | 8.1 | 0.192 |
53
+ | Tatoeba-test.eng-uig.eng.uig | 0.1 | 0.158 |
54
+ | Tatoeba-test.eng-uzb.eng.uzb | 4.2 | 0.298 |
55
+ | Tatoeba-test.eng-xal.eng.xal | 0.1 | 0.061 |
56
+
57
+
58
+ ### System Info:
59
+ - hf_name: eng-tut
60
+
61
+ - source_languages: eng
62
+
63
+ - target_languages: tut
64
+
65
+ - opus_readme_url: https://github.com/Helsinki-NLP/Tatoeba-Challenge/tree/master/models/eng-tut/README.md
66
+
67
+ - original_repo: Tatoeba-Challenge
68
+
69
+ - tags: ['translation']
70
+
71
+ - languages: ['en', 'tut']
72
+
73
+ - src_constituents: {'eng'}
74
+
75
+ - tgt_constituents: set()
76
+
77
+ - src_multilingual: False
78
+
79
+ - tgt_multilingual: True
80
+
81
+ - prepro: normalization + SentencePiece (spm32k,spm32k)
82
+
83
+ - url_model: https://object.pouta.csc.fi/Tatoeba-MT-models/eng-tut/opus2m-2020-08-02.zip
84
+
85
+ - url_test_set: https://object.pouta.csc.fi/Tatoeba-MT-models/eng-tut/opus2m-2020-08-02.test.txt
86
+
87
+ - src_alpha3: eng
88
+
89
+ - tgt_alpha3: tut
90
+
91
+ - short_pair: en-tut
92
+
93
+ - chrF2_score: 0.451
94
+
95
+ - bleu: 19.5
96
+
97
+ - brevity_penalty: 1.0
98
+
99
+ - ref_len: 57472.0
100
+
101
+ - src_name: English
102
+
103
+ - tgt_name: Altaic languages
104
+
105
+ - train_date: 2020-08-02
106
+
107
+ - src_alpha2: en
108
+
109
+ - tgt_alpha2: tut
110
+
111
+ - prefer_old: False
112
+
113
+ - long_pair: eng-tut
114
+
115
+ - helsinki_git_sha: 480fcbe0ee1bf4774bcbe6226ad9f58e63f6c535
116
+
117
+ - transformers_git_sha: 2207e5d8cb224e954a7cba69fa4ac2309e9ff30b
118
+
119
+ - port_machine: brutasse
120
+
121
+ - port_time: 2020-08-21-14:41
Helsinki-NLP-opus-mt-en-tut/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": 61656,
19
+ "decoder_vocab_size": 61657,
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": 61657,
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": 61656,
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": 61657
56
+ }
Helsinki-NLP-opus-mt-en-tut/generation_config.json ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bad_words_ids": [
3
+ [
4
+ 61656
5
+ ]
6
+ ],
7
+ "bos_token_id": 0,
8
+ "decoder_start_token_id": 61656,
9
+ "eos_token_id": 0,
10
+ "forced_eos_token_id": 0,
11
+ "max_length": 512,
12
+ "num_beams": 4,
13
+ "pad_token_id": 61656,
14
+ "renormalize_logits": true,
15
+ "transformers_version": "4.53.3"
16
+ }
Helsinki-NLP-opus-mt-en-tut/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-en-tut/tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
Helsinki-NLP-opus-mt-en-tut/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
+ "61656": {
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": "eng",
35
+ "sp_model_kwargs": {},
36
+ "target_lang": "tut",
37
+ "tokenizer_class": "MarianTokenizer",
38
+ "unk_token": "<unk>"
39
+ }
Helsinki-NLP-opus-mt-en-tut/vocab.json ADDED
The diff for this file is too large to render. See raw diff
 
Helsinki-NLP-opus-mt-en-tvl/README.md ADDED
@@ -0,0 +1,25 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ tags:
3
+ - translation
4
+ license: apache-2.0
5
+ ---
6
+
7
+ ### opus-mt-en-tvl
8
+
9
+ * source languages: en
10
+ * target languages: tvl
11
+ * OPUS readme: [en-tvl](https://github.com/Helsinki-NLP/OPUS-MT-train/blob/master/models/en-tvl/README.md)
12
+
13
+ * dataset: opus
14
+ * model: transformer-align
15
+ * pre-processing: normalization + SentencePiece
16
+ * download original weights: [opus-2020-01-20.zip](https://object.pouta.csc.fi/OPUS-MT-models/en-tvl/opus-2020-01-20.zip)
17
+ * test set translations: [opus-2020-01-20.test.txt](https://object.pouta.csc.fi/OPUS-MT-models/en-tvl/opus-2020-01-20.test.txt)
18
+ * test set scores: [opus-2020-01-20.eval.txt](https://object.pouta.csc.fi/OPUS-MT-models/en-tvl/opus-2020-01-20.eval.txt)
19
+
20
+ ## Benchmarks
21
+
22
+ | testset | BLEU | chr-F |
23
+ |-----------------------|-------|-------|
24
+ | JW300.en.tvl | 46.9 | 0.625 |
25
+
Helsinki-NLP-opus-mt-en-tvl/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": 38379,
20
+ "decoder_vocab_size": 38380,
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": 38379,
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": 38380
56
+ }
Helsinki-NLP-opus-mt-en-tvl/generation_config.json ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bad_words_ids": [
3
+ [
4
+ 38379
5
+ ]
6
+ ],
7
+ "bos_token_id": 0,
8
+ "decoder_start_token_id": 38379,
9
+ "eos_token_id": 0,
10
+ "forced_eos_token_id": 0,
11
+ "max_length": 512,
12
+ "num_beams": 4,
13
+ "pad_token_id": 38379,
14
+ "renormalize_logits": true,
15
+ "transformers_version": "4.53.3"
16
+ }
Helsinki-NLP-opus-mt-en-tvl/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-en-tvl/tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
Helsinki-NLP-opus-mt-en-tvl/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
+ "38379": {
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": "en",
35
+ "sp_model_kwargs": {},
36
+ "target_lang": "tvl",
37
+ "tokenizer_class": "MarianTokenizer",
38
+ "unk_token": "<unk>"
39
+ }
Helsinki-NLP-opus-mt-en-tvl/vocab.json ADDED
The diff for this file is too large to render. See raw diff
 
Helsinki-NLP-opus-mt-en-tw/README.md ADDED
@@ -0,0 +1,25 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ tags:
3
+ - translation
4
+ license: apache-2.0
5
+ ---
6
+
7
+ ### opus-mt-en-tw
8
+
9
+ * source languages: en
10
+ * target languages: tw
11
+ * OPUS readme: [en-tw](https://github.com/Helsinki-NLP/OPUS-MT-train/blob/master/models/en-tw/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/en-tw/opus-2020-01-08.zip)
17
+ * test set translations: [opus-2020-01-08.test.txt](https://object.pouta.csc.fi/OPUS-MT-models/en-tw/opus-2020-01-08.test.txt)
18
+ * test set scores: [opus-2020-01-08.eval.txt](https://object.pouta.csc.fi/OPUS-MT-models/en-tw/opus-2020-01-08.eval.txt)
19
+
20
+ ## Benchmarks
21
+
22
+ | testset | BLEU | chr-F |
23
+ |-----------------------|-------|-------|
24
+ | JW300.en.tw | 38.2 | 0.577 |
25
+
Helsinki-NLP-opus-mt-en-tw/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": 56999,
20
+ "decoder_vocab_size": 57000,
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": 56999,
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": 57000
56
+ }
Helsinki-NLP-opus-mt-en-tw/generation_config.json ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bad_words_ids": [
3
+ [
4
+ 56999
5
+ ]
6
+ ],
7
+ "bos_token_id": 0,
8
+ "decoder_start_token_id": 56999,
9
+ "eos_token_id": 0,
10
+ "forced_eos_token_id": 0,
11
+ "max_length": 512,
12
+ "num_beams": 4,
13
+ "pad_token_id": 56999,
14
+ "renormalize_logits": true,
15
+ "transformers_version": "4.53.3"
16
+ }
Helsinki-NLP-opus-mt-en-tw/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-en-tw/tokenizer.json ADDED
The diff for this file is too large to render. See raw diff