Add files using upload-large-folder tool
Browse filesThis view is limited to 50 files because it contains too many changes.
See raw diff
- Helsinki-NLP-opus-mt-eo-fr/README.md +25 -0
- Helsinki-NLP-opus-mt-eo-fr/generation_config.json +16 -0
- Helsinki-NLP-opus-mt-eo-fr/special_tokens_map.json +5 -0
- Helsinki-NLP-opus-mt-eo-fr/tokenizer.json +0 -0
- Helsinki-NLP-opus-mt-eo-fr/tokenizer_config.json +39 -0
- Helsinki-NLP-opus-mt-eo-fr/vocab.json +0 -0
- Helsinki-NLP-opus-mt-eo-he/README.md +97 -0
- Helsinki-NLP-opus-mt-eo-he/config.json +56 -0
- Helsinki-NLP-opus-mt-eo-he/generation_config.json +16 -0
- Helsinki-NLP-opus-mt-eo-he/special_tokens_map.json +5 -0
- Helsinki-NLP-opus-mt-eo-he/tokenizer.json +0 -0
- Helsinki-NLP-opus-mt-eo-he/tokenizer_config.json +39 -0
- Helsinki-NLP-opus-mt-eo-he/vocab.json +0 -0
- Helsinki-NLP-opus-mt-eo-hu/README.md +97 -0
- Helsinki-NLP-opus-mt-eo-hu/config.json +56 -0
- Helsinki-NLP-opus-mt-eo-hu/generation_config.json +16 -0
- Helsinki-NLP-opus-mt-eo-hu/special_tokens_map.json +5 -0
- Helsinki-NLP-opus-mt-eo-hu/tokenizer.json +0 -0
- Helsinki-NLP-opus-mt-eo-hu/tokenizer_config.json +39 -0
- Helsinki-NLP-opus-mt-eo-hu/vocab.json +0 -0
- Helsinki-NLP-opus-mt-eo-it/README.md +97 -0
- Helsinki-NLP-opus-mt-eo-it/config.json +56 -0
- Helsinki-NLP-opus-mt-eo-it/generation_config.json +16 -0
- Helsinki-NLP-opus-mt-eo-it/special_tokens_map.json +5 -0
- Helsinki-NLP-opus-mt-eo-it/tokenizer.json +0 -0
- Helsinki-NLP-opus-mt-eo-it/tokenizer_config.json +39 -0
- Helsinki-NLP-opus-mt-eo-it/vocab.json +0 -0
- Helsinki-NLP-opus-mt-eo-nl/README.md +97 -0
- Helsinki-NLP-opus-mt-eo-nl/config.json +56 -0
- Helsinki-NLP-opus-mt-eo-nl/generation_config.json +16 -0
- Helsinki-NLP-opus-mt-eo-nl/special_tokens_map.json +5 -0
- Helsinki-NLP-opus-mt-eo-nl/tokenizer.json +0 -0
- Helsinki-NLP-opus-mt-eo-nl/tokenizer_config.json +39 -0
- Helsinki-NLP-opus-mt-eo-nl/vocab.json +0 -0
- Helsinki-NLP-opus-mt-eo-pl/README.md +97 -0
- Helsinki-NLP-opus-mt-eo-pl/config.json +56 -0
- Helsinki-NLP-opus-mt-eo-pl/generation_config.json +16 -0
- Helsinki-NLP-opus-mt-eo-pl/special_tokens_map.json +5 -0
- Helsinki-NLP-opus-mt-eo-pl/tokenizer.json +0 -0
- Helsinki-NLP-opus-mt-eo-pl/tokenizer_config.json +39 -0
- Helsinki-NLP-opus-mt-eo-pl/vocab.json +0 -0
- Helsinki-NLP-opus-mt-eo-pt/README.md +97 -0
- Helsinki-NLP-opus-mt-eo-pt/config.json +56 -0
- Helsinki-NLP-opus-mt-eo-pt/generation_config.json +16 -0
- Helsinki-NLP-opus-mt-eo-pt/special_tokens_map.json +5 -0
- Helsinki-NLP-opus-mt-eo-pt/tokenizer.json +0 -0
- Helsinki-NLP-opus-mt-eo-pt/tokenizer_config.json +39 -0
- Helsinki-NLP-opus-mt-eo-pt/vocab.json +0 -0
- Helsinki-NLP-opus-mt-eo-ro/README.md +97 -0
- Helsinki-NLP-opus-mt-eo-ro/config.json +56 -0
Helsinki-NLP-opus-mt-eo-fr/README.md
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
tags:
|
| 3 |
+
- translation
|
| 4 |
+
license: apache-2.0
|
| 5 |
+
---
|
| 6 |
+
|
| 7 |
+
### opus-mt-eo-fr
|
| 8 |
+
|
| 9 |
+
* source languages: eo
|
| 10 |
+
* target languages: fr
|
| 11 |
+
* OPUS readme: [eo-fr](https://github.com/Helsinki-NLP/OPUS-MT-train/blob/master/models/eo-fr/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/eo-fr/opus-2020-01-08.zip)
|
| 17 |
+
* test set translations: [opus-2020-01-08.test.txt](https://object.pouta.csc.fi/OPUS-MT-models/eo-fr/opus-2020-01-08.test.txt)
|
| 18 |
+
* test set scores: [opus-2020-01-08.eval.txt](https://object.pouta.csc.fi/OPUS-MT-models/eo-fr/opus-2020-01-08.eval.txt)
|
| 19 |
+
|
| 20 |
+
## Benchmarks
|
| 21 |
+
|
| 22 |
+
| testset | BLEU | chr-F |
|
| 23 |
+
|-----------------------|-------|-------|
|
| 24 |
+
| Tatoeba.eo.fr | 50.9 | 0.675 |
|
| 25 |
+
|
Helsinki-NLP-opus-mt-eo-fr/generation_config.json
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"bad_words_ids": [
|
| 3 |
+
[
|
| 4 |
+
59727
|
| 5 |
+
]
|
| 6 |
+
],
|
| 7 |
+
"bos_token_id": 0,
|
| 8 |
+
"decoder_start_token_id": 59727,
|
| 9 |
+
"eos_token_id": 0,
|
| 10 |
+
"forced_eos_token_id": 0,
|
| 11 |
+
"max_length": 512,
|
| 12 |
+
"num_beams": 4,
|
| 13 |
+
"pad_token_id": 59727,
|
| 14 |
+
"renormalize_logits": true,
|
| 15 |
+
"transformers_version": "4.53.3"
|
| 16 |
+
}
|
Helsinki-NLP-opus-mt-eo-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-eo-fr/tokenizer.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
Helsinki-NLP-opus-mt-eo-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 |
+
"59727": {
|
| 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": "eo",
|
| 35 |
+
"sp_model_kwargs": {},
|
| 36 |
+
"target_lang": "fr",
|
| 37 |
+
"tokenizer_class": "MarianTokenizer",
|
| 38 |
+
"unk_token": "<unk>"
|
| 39 |
+
}
|
Helsinki-NLP-opus-mt-eo-fr/vocab.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
Helsinki-NLP-opus-mt-eo-he/README.md
ADDED
|
@@ -0,0 +1,97 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
language:
|
| 3 |
+
- eo
|
| 4 |
+
- he
|
| 5 |
+
|
| 6 |
+
tags:
|
| 7 |
+
- translation
|
| 8 |
+
|
| 9 |
+
license: apache-2.0
|
| 10 |
+
---
|
| 11 |
+
|
| 12 |
+
### epo-heb
|
| 13 |
+
|
| 14 |
+
* source group: Esperanto
|
| 15 |
+
* target group: Hebrew
|
| 16 |
+
* OPUS readme: [epo-heb](https://github.com/Helsinki-NLP/Tatoeba-Challenge/tree/master/models/epo-heb/README.md)
|
| 17 |
+
|
| 18 |
+
* model: transformer-align
|
| 19 |
+
* source language(s): epo
|
| 20 |
+
* target language(s): heb
|
| 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/epo-heb/opus-2020-06-16.zip)
|
| 24 |
+
* test set translations: [opus-2020-06-16.test.txt](https://object.pouta.csc.fi/Tatoeba-MT-models/epo-heb/opus-2020-06-16.test.txt)
|
| 25 |
+
* test set scores: [opus-2020-06-16.eval.txt](https://object.pouta.csc.fi/Tatoeba-MT-models/epo-heb/opus-2020-06-16.eval.txt)
|
| 26 |
+
|
| 27 |
+
## Benchmarks
|
| 28 |
+
|
| 29 |
+
| testset | BLEU | chr-F |
|
| 30 |
+
|-----------------------|-------|-------|
|
| 31 |
+
| Tatoeba-test.epo.heb | 11.5 | 0.306 |
|
| 32 |
+
|
| 33 |
+
|
| 34 |
+
### System Info:
|
| 35 |
+
- hf_name: epo-heb
|
| 36 |
+
|
| 37 |
+
- source_languages: epo
|
| 38 |
+
|
| 39 |
+
- target_languages: heb
|
| 40 |
+
|
| 41 |
+
- opus_readme_url: https://github.com/Helsinki-NLP/Tatoeba-Challenge/tree/master/models/epo-heb/README.md
|
| 42 |
+
|
| 43 |
+
- original_repo: Tatoeba-Challenge
|
| 44 |
+
|
| 45 |
+
- tags: ['translation']
|
| 46 |
+
|
| 47 |
+
- languages: ['eo', 'he']
|
| 48 |
+
|
| 49 |
+
- src_constituents: {'epo'}
|
| 50 |
+
|
| 51 |
+
- tgt_constituents: {'heb'}
|
| 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/epo-heb/opus-2020-06-16.zip
|
| 60 |
+
|
| 61 |
+
- url_test_set: https://object.pouta.csc.fi/Tatoeba-MT-models/epo-heb/opus-2020-06-16.test.txt
|
| 62 |
+
|
| 63 |
+
- src_alpha3: epo
|
| 64 |
+
|
| 65 |
+
- tgt_alpha3: heb
|
| 66 |
+
|
| 67 |
+
- short_pair: eo-he
|
| 68 |
+
|
| 69 |
+
- chrF2_score: 0.306
|
| 70 |
+
|
| 71 |
+
- bleu: 11.5
|
| 72 |
+
|
| 73 |
+
- brevity_penalty: 0.943
|
| 74 |
+
|
| 75 |
+
- ref_len: 65645.0
|
| 76 |
+
|
| 77 |
+
- src_name: Esperanto
|
| 78 |
+
|
| 79 |
+
- tgt_name: Hebrew
|
| 80 |
+
|
| 81 |
+
- train_date: 2020-06-16
|
| 82 |
+
|
| 83 |
+
- src_alpha2: eo
|
| 84 |
+
|
| 85 |
+
- tgt_alpha2: he
|
| 86 |
+
|
| 87 |
+
- prefer_old: False
|
| 88 |
+
|
| 89 |
+
- long_pair: epo-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-eo-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": 7767,
|
| 19 |
+
"decoder_vocab_size": 7768,
|
| 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": 7768,
|
| 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": 7767,
|
| 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": 7768
|
| 56 |
+
}
|
Helsinki-NLP-opus-mt-eo-he/generation_config.json
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"bad_words_ids": [
|
| 3 |
+
[
|
| 4 |
+
7767
|
| 5 |
+
]
|
| 6 |
+
],
|
| 7 |
+
"bos_token_id": 0,
|
| 8 |
+
"decoder_start_token_id": 7767,
|
| 9 |
+
"eos_token_id": 0,
|
| 10 |
+
"forced_eos_token_id": 0,
|
| 11 |
+
"max_length": 512,
|
| 12 |
+
"num_beams": 4,
|
| 13 |
+
"pad_token_id": 7767,
|
| 14 |
+
"renormalize_logits": true,
|
| 15 |
+
"transformers_version": "4.53.3"
|
| 16 |
+
}
|
Helsinki-NLP-opus-mt-eo-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-eo-he/tokenizer.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
Helsinki-NLP-opus-mt-eo-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 |
+
"7767": {
|
| 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": "epo",
|
| 35 |
+
"sp_model_kwargs": {},
|
| 36 |
+
"target_lang": "heb",
|
| 37 |
+
"tokenizer_class": "MarianTokenizer",
|
| 38 |
+
"unk_token": "<unk>"
|
| 39 |
+
}
|
Helsinki-NLP-opus-mt-eo-he/vocab.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
Helsinki-NLP-opus-mt-eo-hu/README.md
ADDED
|
@@ -0,0 +1,97 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
language:
|
| 3 |
+
- eo
|
| 4 |
+
- hu
|
| 5 |
+
|
| 6 |
+
tags:
|
| 7 |
+
- translation
|
| 8 |
+
|
| 9 |
+
license: apache-2.0
|
| 10 |
+
---
|
| 11 |
+
|
| 12 |
+
### epo-hun
|
| 13 |
+
|
| 14 |
+
* source group: Esperanto
|
| 15 |
+
* target group: Hungarian
|
| 16 |
+
* OPUS readme: [epo-hun](https://github.com/Helsinki-NLP/Tatoeba-Challenge/tree/master/models/epo-hun/README.md)
|
| 17 |
+
|
| 18 |
+
* model: transformer-align
|
| 19 |
+
* source language(s): epo
|
| 20 |
+
* target language(s): hun
|
| 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/epo-hun/opus-2020-06-16.zip)
|
| 24 |
+
* test set translations: [opus-2020-06-16.test.txt](https://object.pouta.csc.fi/Tatoeba-MT-models/epo-hun/opus-2020-06-16.test.txt)
|
| 25 |
+
* test set scores: [opus-2020-06-16.eval.txt](https://object.pouta.csc.fi/Tatoeba-MT-models/epo-hun/opus-2020-06-16.eval.txt)
|
| 26 |
+
|
| 27 |
+
## Benchmarks
|
| 28 |
+
|
| 29 |
+
| testset | BLEU | chr-F |
|
| 30 |
+
|-----------------------|-------|-------|
|
| 31 |
+
| Tatoeba-test.epo.hun | 12.8 | 0.333 |
|
| 32 |
+
|
| 33 |
+
|
| 34 |
+
### System Info:
|
| 35 |
+
- hf_name: epo-hun
|
| 36 |
+
|
| 37 |
+
- source_languages: epo
|
| 38 |
+
|
| 39 |
+
- target_languages: hun
|
| 40 |
+
|
| 41 |
+
- opus_readme_url: https://github.com/Helsinki-NLP/Tatoeba-Challenge/tree/master/models/epo-hun/README.md
|
| 42 |
+
|
| 43 |
+
- original_repo: Tatoeba-Challenge
|
| 44 |
+
|
| 45 |
+
- tags: ['translation']
|
| 46 |
+
|
| 47 |
+
- languages: ['eo', 'hu']
|
| 48 |
+
|
| 49 |
+
- src_constituents: {'epo'}
|
| 50 |
+
|
| 51 |
+
- tgt_constituents: {'hun'}
|
| 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/epo-hun/opus-2020-06-16.zip
|
| 60 |
+
|
| 61 |
+
- url_test_set: https://object.pouta.csc.fi/Tatoeba-MT-models/epo-hun/opus-2020-06-16.test.txt
|
| 62 |
+
|
| 63 |
+
- src_alpha3: epo
|
| 64 |
+
|
| 65 |
+
- tgt_alpha3: hun
|
| 66 |
+
|
| 67 |
+
- short_pair: eo-hu
|
| 68 |
+
|
| 69 |
+
- chrF2_score: 0.33299999999999996
|
| 70 |
+
|
| 71 |
+
- bleu: 12.8
|
| 72 |
+
|
| 73 |
+
- brevity_penalty: 0.914
|
| 74 |
+
|
| 75 |
+
- ref_len: 65704.0
|
| 76 |
+
|
| 77 |
+
- src_name: Esperanto
|
| 78 |
+
|
| 79 |
+
- tgt_name: Hungarian
|
| 80 |
+
|
| 81 |
+
- train_date: 2020-06-16
|
| 82 |
+
|
| 83 |
+
- src_alpha2: eo
|
| 84 |
+
|
| 85 |
+
- tgt_alpha2: hu
|
| 86 |
+
|
| 87 |
+
- prefer_old: False
|
| 88 |
+
|
| 89 |
+
- long_pair: epo-hun
|
| 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-eo-hu/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": 7476,
|
| 19 |
+
"decoder_vocab_size": 7477,
|
| 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": 7477,
|
| 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": 7476,
|
| 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": 7477
|
| 56 |
+
}
|
Helsinki-NLP-opus-mt-eo-hu/generation_config.json
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"bad_words_ids": [
|
| 3 |
+
[
|
| 4 |
+
7476
|
| 5 |
+
]
|
| 6 |
+
],
|
| 7 |
+
"bos_token_id": 0,
|
| 8 |
+
"decoder_start_token_id": 7476,
|
| 9 |
+
"eos_token_id": 0,
|
| 10 |
+
"forced_eos_token_id": 0,
|
| 11 |
+
"max_length": 512,
|
| 12 |
+
"num_beams": 4,
|
| 13 |
+
"pad_token_id": 7476,
|
| 14 |
+
"renormalize_logits": true,
|
| 15 |
+
"transformers_version": "4.53.3"
|
| 16 |
+
}
|
Helsinki-NLP-opus-mt-eo-hu/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-eo-hu/tokenizer.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
Helsinki-NLP-opus-mt-eo-hu/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 |
+
"7476": {
|
| 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": "epo",
|
| 35 |
+
"sp_model_kwargs": {},
|
| 36 |
+
"target_lang": "hun",
|
| 37 |
+
"tokenizer_class": "MarianTokenizer",
|
| 38 |
+
"unk_token": "<unk>"
|
| 39 |
+
}
|
Helsinki-NLP-opus-mt-eo-hu/vocab.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
Helsinki-NLP-opus-mt-eo-it/README.md
ADDED
|
@@ -0,0 +1,97 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
language:
|
| 3 |
+
- eo
|
| 4 |
+
- it
|
| 5 |
+
|
| 6 |
+
tags:
|
| 7 |
+
- translation
|
| 8 |
+
|
| 9 |
+
license: apache-2.0
|
| 10 |
+
---
|
| 11 |
+
|
| 12 |
+
### epo-ita
|
| 13 |
+
|
| 14 |
+
* source group: Esperanto
|
| 15 |
+
* target group: Italian
|
| 16 |
+
* OPUS readme: [epo-ita](https://github.com/Helsinki-NLP/Tatoeba-Challenge/tree/master/models/epo-ita/README.md)
|
| 17 |
+
|
| 18 |
+
* model: transformer-align
|
| 19 |
+
* source language(s): epo
|
| 20 |
+
* target language(s): ita
|
| 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/epo-ita/opus-2020-06-16.zip)
|
| 24 |
+
* test set translations: [opus-2020-06-16.test.txt](https://object.pouta.csc.fi/Tatoeba-MT-models/epo-ita/opus-2020-06-16.test.txt)
|
| 25 |
+
* test set scores: [opus-2020-06-16.eval.txt](https://object.pouta.csc.fi/Tatoeba-MT-models/epo-ita/opus-2020-06-16.eval.txt)
|
| 26 |
+
|
| 27 |
+
## Benchmarks
|
| 28 |
+
|
| 29 |
+
| testset | BLEU | chr-F |
|
| 30 |
+
|-----------------------|-------|-------|
|
| 31 |
+
| Tatoeba-test.epo.ita | 23.8 | 0.465 |
|
| 32 |
+
|
| 33 |
+
|
| 34 |
+
### System Info:
|
| 35 |
+
- hf_name: epo-ita
|
| 36 |
+
|
| 37 |
+
- source_languages: epo
|
| 38 |
+
|
| 39 |
+
- target_languages: ita
|
| 40 |
+
|
| 41 |
+
- opus_readme_url: https://github.com/Helsinki-NLP/Tatoeba-Challenge/tree/master/models/epo-ita/README.md
|
| 42 |
+
|
| 43 |
+
- original_repo: Tatoeba-Challenge
|
| 44 |
+
|
| 45 |
+
- tags: ['translation']
|
| 46 |
+
|
| 47 |
+
- languages: ['eo', 'it']
|
| 48 |
+
|
| 49 |
+
- src_constituents: {'epo'}
|
| 50 |
+
|
| 51 |
+
- tgt_constituents: {'ita'}
|
| 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/epo-ita/opus-2020-06-16.zip
|
| 60 |
+
|
| 61 |
+
- url_test_set: https://object.pouta.csc.fi/Tatoeba-MT-models/epo-ita/opus-2020-06-16.test.txt
|
| 62 |
+
|
| 63 |
+
- src_alpha3: epo
|
| 64 |
+
|
| 65 |
+
- tgt_alpha3: ita
|
| 66 |
+
|
| 67 |
+
- short_pair: eo-it
|
| 68 |
+
|
| 69 |
+
- chrF2_score: 0.465
|
| 70 |
+
|
| 71 |
+
- bleu: 23.8
|
| 72 |
+
|
| 73 |
+
- brevity_penalty: 0.9420000000000001
|
| 74 |
+
|
| 75 |
+
- ref_len: 67118.0
|
| 76 |
+
|
| 77 |
+
- src_name: Esperanto
|
| 78 |
+
|
| 79 |
+
- tgt_name: Italian
|
| 80 |
+
|
| 81 |
+
- train_date: 2020-06-16
|
| 82 |
+
|
| 83 |
+
- src_alpha2: eo
|
| 84 |
+
|
| 85 |
+
- tgt_alpha2: it
|
| 86 |
+
|
| 87 |
+
- prefer_old: False
|
| 88 |
+
|
| 89 |
+
- long_pair: epo-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-eo-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": 7275,
|
| 19 |
+
"decoder_vocab_size": 7276,
|
| 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": 7276,
|
| 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": 7275,
|
| 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": 7276
|
| 56 |
+
}
|
Helsinki-NLP-opus-mt-eo-it/generation_config.json
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"bad_words_ids": [
|
| 3 |
+
[
|
| 4 |
+
7275
|
| 5 |
+
]
|
| 6 |
+
],
|
| 7 |
+
"bos_token_id": 0,
|
| 8 |
+
"decoder_start_token_id": 7275,
|
| 9 |
+
"eos_token_id": 0,
|
| 10 |
+
"forced_eos_token_id": 0,
|
| 11 |
+
"max_length": 512,
|
| 12 |
+
"num_beams": 4,
|
| 13 |
+
"pad_token_id": 7275,
|
| 14 |
+
"renormalize_logits": true,
|
| 15 |
+
"transformers_version": "4.53.3"
|
| 16 |
+
}
|
Helsinki-NLP-opus-mt-eo-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-eo-it/tokenizer.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
Helsinki-NLP-opus-mt-eo-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 |
+
"7275": {
|
| 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": "epo",
|
| 35 |
+
"sp_model_kwargs": {},
|
| 36 |
+
"target_lang": "ita",
|
| 37 |
+
"tokenizer_class": "MarianTokenizer",
|
| 38 |
+
"unk_token": "<unk>"
|
| 39 |
+
}
|
Helsinki-NLP-opus-mt-eo-it/vocab.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
Helsinki-NLP-opus-mt-eo-nl/README.md
ADDED
|
@@ -0,0 +1,97 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
language:
|
| 3 |
+
- eo
|
| 4 |
+
- nl
|
| 5 |
+
|
| 6 |
+
tags:
|
| 7 |
+
- translation
|
| 8 |
+
|
| 9 |
+
license: apache-2.0
|
| 10 |
+
---
|
| 11 |
+
|
| 12 |
+
### epo-nld
|
| 13 |
+
|
| 14 |
+
* source group: Esperanto
|
| 15 |
+
* target group: Dutch
|
| 16 |
+
* OPUS readme: [epo-nld](https://github.com/Helsinki-NLP/Tatoeba-Challenge/tree/master/models/epo-nld/README.md)
|
| 17 |
+
|
| 18 |
+
* model: transformer-align
|
| 19 |
+
* source language(s): epo
|
| 20 |
+
* target language(s): nld
|
| 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/epo-nld/opus-2020-06-16.zip)
|
| 24 |
+
* test set translations: [opus-2020-06-16.test.txt](https://object.pouta.csc.fi/Tatoeba-MT-models/epo-nld/opus-2020-06-16.test.txt)
|
| 25 |
+
* test set scores: [opus-2020-06-16.eval.txt](https://object.pouta.csc.fi/Tatoeba-MT-models/epo-nld/opus-2020-06-16.eval.txt)
|
| 26 |
+
|
| 27 |
+
## Benchmarks
|
| 28 |
+
|
| 29 |
+
| testset | BLEU | chr-F |
|
| 30 |
+
|-----------------------|-------|-------|
|
| 31 |
+
| Tatoeba-test.epo.nld | 15.3 | 0.337 |
|
| 32 |
+
|
| 33 |
+
|
| 34 |
+
### System Info:
|
| 35 |
+
- hf_name: epo-nld
|
| 36 |
+
|
| 37 |
+
- source_languages: epo
|
| 38 |
+
|
| 39 |
+
- target_languages: nld
|
| 40 |
+
|
| 41 |
+
- opus_readme_url: https://github.com/Helsinki-NLP/Tatoeba-Challenge/tree/master/models/epo-nld/README.md
|
| 42 |
+
|
| 43 |
+
- original_repo: Tatoeba-Challenge
|
| 44 |
+
|
| 45 |
+
- tags: ['translation']
|
| 46 |
+
|
| 47 |
+
- languages: ['eo', 'nl']
|
| 48 |
+
|
| 49 |
+
- src_constituents: {'epo'}
|
| 50 |
+
|
| 51 |
+
- tgt_constituents: {'nld'}
|
| 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/epo-nld/opus-2020-06-16.zip
|
| 60 |
+
|
| 61 |
+
- url_test_set: https://object.pouta.csc.fi/Tatoeba-MT-models/epo-nld/opus-2020-06-16.test.txt
|
| 62 |
+
|
| 63 |
+
- src_alpha3: epo
|
| 64 |
+
|
| 65 |
+
- tgt_alpha3: nld
|
| 66 |
+
|
| 67 |
+
- short_pair: eo-nl
|
| 68 |
+
|
| 69 |
+
- chrF2_score: 0.337
|
| 70 |
+
|
| 71 |
+
- bleu: 15.3
|
| 72 |
+
|
| 73 |
+
- brevity_penalty: 0.8640000000000001
|
| 74 |
+
|
| 75 |
+
- ref_len: 78770.0
|
| 76 |
+
|
| 77 |
+
- src_name: Esperanto
|
| 78 |
+
|
| 79 |
+
- tgt_name: Dutch
|
| 80 |
+
|
| 81 |
+
- train_date: 2020-06-16
|
| 82 |
+
|
| 83 |
+
- src_alpha2: eo
|
| 84 |
+
|
| 85 |
+
- tgt_alpha2: nl
|
| 86 |
+
|
| 87 |
+
- prefer_old: False
|
| 88 |
+
|
| 89 |
+
- long_pair: epo-nld
|
| 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-eo-nl/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": 7343,
|
| 19 |
+
"decoder_vocab_size": 7344,
|
| 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": 7344,
|
| 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": 7343,
|
| 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": 7344
|
| 56 |
+
}
|
Helsinki-NLP-opus-mt-eo-nl/generation_config.json
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"bad_words_ids": [
|
| 3 |
+
[
|
| 4 |
+
7343
|
| 5 |
+
]
|
| 6 |
+
],
|
| 7 |
+
"bos_token_id": 0,
|
| 8 |
+
"decoder_start_token_id": 7343,
|
| 9 |
+
"eos_token_id": 0,
|
| 10 |
+
"forced_eos_token_id": 0,
|
| 11 |
+
"max_length": 512,
|
| 12 |
+
"num_beams": 4,
|
| 13 |
+
"pad_token_id": 7343,
|
| 14 |
+
"renormalize_logits": true,
|
| 15 |
+
"transformers_version": "4.53.3"
|
| 16 |
+
}
|
Helsinki-NLP-opus-mt-eo-nl/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-eo-nl/tokenizer.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
Helsinki-NLP-opus-mt-eo-nl/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 |
+
"7343": {
|
| 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": "epo",
|
| 35 |
+
"sp_model_kwargs": {},
|
| 36 |
+
"target_lang": "nld",
|
| 37 |
+
"tokenizer_class": "MarianTokenizer",
|
| 38 |
+
"unk_token": "<unk>"
|
| 39 |
+
}
|
Helsinki-NLP-opus-mt-eo-nl/vocab.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
Helsinki-NLP-opus-mt-eo-pl/README.md
ADDED
|
@@ -0,0 +1,97 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
language:
|
| 3 |
+
- eo
|
| 4 |
+
- pl
|
| 5 |
+
|
| 6 |
+
tags:
|
| 7 |
+
- translation
|
| 8 |
+
|
| 9 |
+
license: apache-2.0
|
| 10 |
+
---
|
| 11 |
+
|
| 12 |
+
### epo-pol
|
| 13 |
+
|
| 14 |
+
* source group: Esperanto
|
| 15 |
+
* target group: Polish
|
| 16 |
+
* OPUS readme: [epo-pol](https://github.com/Helsinki-NLP/Tatoeba-Challenge/tree/master/models/epo-pol/README.md)
|
| 17 |
+
|
| 18 |
+
* model: transformer-align
|
| 19 |
+
* source language(s): epo
|
| 20 |
+
* target language(s): pol
|
| 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/epo-pol/opus-2020-06-16.zip)
|
| 24 |
+
* test set translations: [opus-2020-06-16.test.txt](https://object.pouta.csc.fi/Tatoeba-MT-models/epo-pol/opus-2020-06-16.test.txt)
|
| 25 |
+
* test set scores: [opus-2020-06-16.eval.txt](https://object.pouta.csc.fi/Tatoeba-MT-models/epo-pol/opus-2020-06-16.eval.txt)
|
| 26 |
+
|
| 27 |
+
## Benchmarks
|
| 28 |
+
|
| 29 |
+
| testset | BLEU | chr-F |
|
| 30 |
+
|-----------------------|-------|-------|
|
| 31 |
+
| Tatoeba-test.epo.pol | 17.2 | 0.392 |
|
| 32 |
+
|
| 33 |
+
|
| 34 |
+
### System Info:
|
| 35 |
+
- hf_name: epo-pol
|
| 36 |
+
|
| 37 |
+
- source_languages: epo
|
| 38 |
+
|
| 39 |
+
- target_languages: pol
|
| 40 |
+
|
| 41 |
+
- opus_readme_url: https://github.com/Helsinki-NLP/Tatoeba-Challenge/tree/master/models/epo-pol/README.md
|
| 42 |
+
|
| 43 |
+
- original_repo: Tatoeba-Challenge
|
| 44 |
+
|
| 45 |
+
- tags: ['translation']
|
| 46 |
+
|
| 47 |
+
- languages: ['eo', 'pl']
|
| 48 |
+
|
| 49 |
+
- src_constituents: {'epo'}
|
| 50 |
+
|
| 51 |
+
- tgt_constituents: {'pol'}
|
| 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/epo-pol/opus-2020-06-16.zip
|
| 60 |
+
|
| 61 |
+
- url_test_set: https://object.pouta.csc.fi/Tatoeba-MT-models/epo-pol/opus-2020-06-16.test.txt
|
| 62 |
+
|
| 63 |
+
- src_alpha3: epo
|
| 64 |
+
|
| 65 |
+
- tgt_alpha3: pol
|
| 66 |
+
|
| 67 |
+
- short_pair: eo-pl
|
| 68 |
+
|
| 69 |
+
- chrF2_score: 0.392
|
| 70 |
+
|
| 71 |
+
- bleu: 17.2
|
| 72 |
+
|
| 73 |
+
- brevity_penalty: 0.893
|
| 74 |
+
|
| 75 |
+
- ref_len: 15343.0
|
| 76 |
+
|
| 77 |
+
- src_name: Esperanto
|
| 78 |
+
|
| 79 |
+
- tgt_name: Polish
|
| 80 |
+
|
| 81 |
+
- train_date: 2020-06-16
|
| 82 |
+
|
| 83 |
+
- src_alpha2: eo
|
| 84 |
+
|
| 85 |
+
- tgt_alpha2: pl
|
| 86 |
+
|
| 87 |
+
- prefer_old: False
|
| 88 |
+
|
| 89 |
+
- long_pair: epo-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-eo-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": 7324,
|
| 19 |
+
"decoder_vocab_size": 7325,
|
| 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": 7325,
|
| 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": 7324,
|
| 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": 7325
|
| 56 |
+
}
|
Helsinki-NLP-opus-mt-eo-pl/generation_config.json
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"bad_words_ids": [
|
| 3 |
+
[
|
| 4 |
+
7324
|
| 5 |
+
]
|
| 6 |
+
],
|
| 7 |
+
"bos_token_id": 0,
|
| 8 |
+
"decoder_start_token_id": 7324,
|
| 9 |
+
"eos_token_id": 0,
|
| 10 |
+
"forced_eos_token_id": 0,
|
| 11 |
+
"max_length": 512,
|
| 12 |
+
"num_beams": 4,
|
| 13 |
+
"pad_token_id": 7324,
|
| 14 |
+
"renormalize_logits": true,
|
| 15 |
+
"transformers_version": "4.53.3"
|
| 16 |
+
}
|
Helsinki-NLP-opus-mt-eo-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-eo-pl/tokenizer.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
Helsinki-NLP-opus-mt-eo-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 |
+
"7324": {
|
| 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": "epo",
|
| 35 |
+
"sp_model_kwargs": {},
|
| 36 |
+
"target_lang": "pol",
|
| 37 |
+
"tokenizer_class": "MarianTokenizer",
|
| 38 |
+
"unk_token": "<unk>"
|
| 39 |
+
}
|
Helsinki-NLP-opus-mt-eo-pl/vocab.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
Helsinki-NLP-opus-mt-eo-pt/README.md
ADDED
|
@@ -0,0 +1,97 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
language:
|
| 3 |
+
- eo
|
| 4 |
+
- pt
|
| 5 |
+
|
| 6 |
+
tags:
|
| 7 |
+
- translation
|
| 8 |
+
|
| 9 |
+
license: apache-2.0
|
| 10 |
+
---
|
| 11 |
+
|
| 12 |
+
### epo-por
|
| 13 |
+
|
| 14 |
+
* source group: Esperanto
|
| 15 |
+
* target group: Portuguese
|
| 16 |
+
* OPUS readme: [epo-por](https://github.com/Helsinki-NLP/Tatoeba-Challenge/tree/master/models/epo-por/README.md)
|
| 17 |
+
|
| 18 |
+
* model: transformer-align
|
| 19 |
+
* source language(s): epo
|
| 20 |
+
* target language(s): por
|
| 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/epo-por/opus-2020-06-16.zip)
|
| 24 |
+
* test set translations: [opus-2020-06-16.test.txt](https://object.pouta.csc.fi/Tatoeba-MT-models/epo-por/opus-2020-06-16.test.txt)
|
| 25 |
+
* test set scores: [opus-2020-06-16.eval.txt](https://object.pouta.csc.fi/Tatoeba-MT-models/epo-por/opus-2020-06-16.eval.txt)
|
| 26 |
+
|
| 27 |
+
## Benchmarks
|
| 28 |
+
|
| 29 |
+
| testset | BLEU | chr-F |
|
| 30 |
+
|-----------------------|-------|-------|
|
| 31 |
+
| Tatoeba-test.epo.por | 20.2 | 0.438 |
|
| 32 |
+
|
| 33 |
+
|
| 34 |
+
### System Info:
|
| 35 |
+
- hf_name: epo-por
|
| 36 |
+
|
| 37 |
+
- source_languages: epo
|
| 38 |
+
|
| 39 |
+
- target_languages: por
|
| 40 |
+
|
| 41 |
+
- opus_readme_url: https://github.com/Helsinki-NLP/Tatoeba-Challenge/tree/master/models/epo-por/README.md
|
| 42 |
+
|
| 43 |
+
- original_repo: Tatoeba-Challenge
|
| 44 |
+
|
| 45 |
+
- tags: ['translation']
|
| 46 |
+
|
| 47 |
+
- languages: ['eo', 'pt']
|
| 48 |
+
|
| 49 |
+
- src_constituents: {'epo'}
|
| 50 |
+
|
| 51 |
+
- tgt_constituents: {'por'}
|
| 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/epo-por/opus-2020-06-16.zip
|
| 60 |
+
|
| 61 |
+
- url_test_set: https://object.pouta.csc.fi/Tatoeba-MT-models/epo-por/opus-2020-06-16.test.txt
|
| 62 |
+
|
| 63 |
+
- src_alpha3: epo
|
| 64 |
+
|
| 65 |
+
- tgt_alpha3: por
|
| 66 |
+
|
| 67 |
+
- short_pair: eo-pt
|
| 68 |
+
|
| 69 |
+
- chrF2_score: 0.43799999999999994
|
| 70 |
+
|
| 71 |
+
- bleu: 20.2
|
| 72 |
+
|
| 73 |
+
- brevity_penalty: 0.895
|
| 74 |
+
|
| 75 |
+
- ref_len: 89991.0
|
| 76 |
+
|
| 77 |
+
- src_name: Esperanto
|
| 78 |
+
|
| 79 |
+
- tgt_name: Portuguese
|
| 80 |
+
|
| 81 |
+
- train_date: 2020-06-16
|
| 82 |
+
|
| 83 |
+
- src_alpha2: eo
|
| 84 |
+
|
| 85 |
+
- tgt_alpha2: pt
|
| 86 |
+
|
| 87 |
+
- prefer_old: False
|
| 88 |
+
|
| 89 |
+
- long_pair: epo-por
|
| 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-eo-pt/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": 7245,
|
| 19 |
+
"decoder_vocab_size": 7246,
|
| 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": 7246,
|
| 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": 7245,
|
| 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": 7246
|
| 56 |
+
}
|
Helsinki-NLP-opus-mt-eo-pt/generation_config.json
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"bad_words_ids": [
|
| 3 |
+
[
|
| 4 |
+
7245
|
| 5 |
+
]
|
| 6 |
+
],
|
| 7 |
+
"bos_token_id": 0,
|
| 8 |
+
"decoder_start_token_id": 7245,
|
| 9 |
+
"eos_token_id": 0,
|
| 10 |
+
"forced_eos_token_id": 0,
|
| 11 |
+
"max_length": 512,
|
| 12 |
+
"num_beams": 4,
|
| 13 |
+
"pad_token_id": 7245,
|
| 14 |
+
"renormalize_logits": true,
|
| 15 |
+
"transformers_version": "4.53.3"
|
| 16 |
+
}
|
Helsinki-NLP-opus-mt-eo-pt/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-eo-pt/tokenizer.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
Helsinki-NLP-opus-mt-eo-pt/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 |
+
"7245": {
|
| 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": "epo",
|
| 35 |
+
"sp_model_kwargs": {},
|
| 36 |
+
"target_lang": "por",
|
| 37 |
+
"tokenizer_class": "MarianTokenizer",
|
| 38 |
+
"unk_token": "<unk>"
|
| 39 |
+
}
|
Helsinki-NLP-opus-mt-eo-pt/vocab.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
Helsinki-NLP-opus-mt-eo-ro/README.md
ADDED
|
@@ -0,0 +1,97 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
language:
|
| 3 |
+
- eo
|
| 4 |
+
- ro
|
| 5 |
+
|
| 6 |
+
tags:
|
| 7 |
+
- translation
|
| 8 |
+
|
| 9 |
+
license: apache-2.0
|
| 10 |
+
---
|
| 11 |
+
|
| 12 |
+
### epo-ron
|
| 13 |
+
|
| 14 |
+
* source group: Esperanto
|
| 15 |
+
* target group: Romanian
|
| 16 |
+
* OPUS readme: [epo-ron](https://github.com/Helsinki-NLP/Tatoeba-Challenge/tree/master/models/epo-ron/README.md)
|
| 17 |
+
|
| 18 |
+
* model: transformer-align
|
| 19 |
+
* source language(s): epo
|
| 20 |
+
* target language(s): ron
|
| 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/epo-ron/opus-2020-06-16.zip)
|
| 24 |
+
* test set translations: [opus-2020-06-16.test.txt](https://object.pouta.csc.fi/Tatoeba-MT-models/epo-ron/opus-2020-06-16.test.txt)
|
| 25 |
+
* test set scores: [opus-2020-06-16.eval.txt](https://object.pouta.csc.fi/Tatoeba-MT-models/epo-ron/opus-2020-06-16.eval.txt)
|
| 26 |
+
|
| 27 |
+
## Benchmarks
|
| 28 |
+
|
| 29 |
+
| testset | BLEU | chr-F |
|
| 30 |
+
|-----------------------|-------|-------|
|
| 31 |
+
| Tatoeba-test.epo.ron | 19.4 | 0.420 |
|
| 32 |
+
|
| 33 |
+
|
| 34 |
+
### System Info:
|
| 35 |
+
- hf_name: epo-ron
|
| 36 |
+
|
| 37 |
+
- source_languages: epo
|
| 38 |
+
|
| 39 |
+
- target_languages: ron
|
| 40 |
+
|
| 41 |
+
- opus_readme_url: https://github.com/Helsinki-NLP/Tatoeba-Challenge/tree/master/models/epo-ron/README.md
|
| 42 |
+
|
| 43 |
+
- original_repo: Tatoeba-Challenge
|
| 44 |
+
|
| 45 |
+
- tags: ['translation']
|
| 46 |
+
|
| 47 |
+
- languages: ['eo', 'ro']
|
| 48 |
+
|
| 49 |
+
- src_constituents: {'epo'}
|
| 50 |
+
|
| 51 |
+
- tgt_constituents: {'ron'}
|
| 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/epo-ron/opus-2020-06-16.zip
|
| 60 |
+
|
| 61 |
+
- url_test_set: https://object.pouta.csc.fi/Tatoeba-MT-models/epo-ron/opus-2020-06-16.test.txt
|
| 62 |
+
|
| 63 |
+
- src_alpha3: epo
|
| 64 |
+
|
| 65 |
+
- tgt_alpha3: ron
|
| 66 |
+
|
| 67 |
+
- short_pair: eo-ro
|
| 68 |
+
|
| 69 |
+
- chrF2_score: 0.42
|
| 70 |
+
|
| 71 |
+
- bleu: 19.4
|
| 72 |
+
|
| 73 |
+
- brevity_penalty: 0.9179999999999999
|
| 74 |
+
|
| 75 |
+
- ref_len: 25619.0
|
| 76 |
+
|
| 77 |
+
- src_name: Esperanto
|
| 78 |
+
|
| 79 |
+
- tgt_name: Romanian
|
| 80 |
+
|
| 81 |
+
- train_date: 2020-06-16
|
| 82 |
+
|
| 83 |
+
- src_alpha2: eo
|
| 84 |
+
|
| 85 |
+
- tgt_alpha2: ro
|
| 86 |
+
|
| 87 |
+
- prefer_old: False
|
| 88 |
+
|
| 89 |
+
- long_pair: epo-ron
|
| 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-eo-ro/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": 7346,
|
| 19 |
+
"decoder_vocab_size": 7347,
|
| 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": 7347,
|
| 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": 7346,
|
| 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": 7347
|
| 56 |
+
}
|