Initial commit
Browse files- README.md +65 -0
- config.json +43 -0
- metadata.json +1 -0
- pytorch_model.bin +3 -0
- source.spm +0 -0
- special_tokens_map.json +1 -0
- target.spm +0 -0
- tokenizer_config.json +1 -0
- vocab.json +0 -0
README.md
ADDED
@@ -0,0 +1,65 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
language:
|
3 |
+
- fr
|
4 |
+
- it
|
5 |
+
|
6 |
+
tags:
|
7 |
+
- translation
|
8 |
+
|
9 |
+
license: apache-2.0
|
10 |
+
---
|
11 |
+
### fr-it
|
12 |
+
|
13 |
+
* source group: French
|
14 |
+
* target group: Italian
|
15 |
+
* OPUS readme: [fra-ita](https://github.com/Helsinki-NLP/Tatoeba-Challenge/tree/master/models/fra-ita/README.md)
|
16 |
+
|
17 |
+
* model: transformer-align
|
18 |
+
* source language(s): fra
|
19 |
+
* target language(s): ita
|
20 |
+
* raw source language(s): fra
|
21 |
+
* raw target language(s): ita
|
22 |
+
* model: transformer-align
|
23 |
+
* pre-processing: normalization + SentencePiece (spm32k,spm32k)
|
24 |
+
* download original weights: [opusTCv20210807-2021-11-11.zip](https://object.pouta.csc.fi/Tatoeba-MT-models/fra-ita/opusTCv20210807-2021-11-11.zip)
|
25 |
+
* test set translations: [opusTCv20210807-2021-11-11.test.txt](https://object.pouta.csc.fi/Tatoeba-MT-models/fra-ita/opusTCv20210807-2021-11-11.test.txt)
|
26 |
+
* test set scores: [opusTCv20210807-2021-11-11.eval.txt](https://object.pouta.csc.fi/Tatoeba-MT-models/fra-ita/opusTCv20210807-2021-11-11.eval.txt)
|
27 |
+
|
28 |
+
## Benchmarks
|
29 |
+
|
30 |
+
| testset | BLEU | chr-F | #sent | #words | BP |
|
31 |
+
|---------|-------|-------|-------|--------|----|
|
32 |
+
| Tatoeba-test-v2021-08-07.fra-ita | 54.8 | 0.737 | 10000 | 61517 | 0.953 |
|
33 |
+
|
34 |
+
|
35 |
+
### System Info:
|
36 |
+
- hf_name: fr-it
|
37 |
+
- source_languages: fra
|
38 |
+
- target_languages: ita
|
39 |
+
- opus_readme_url: https://github.com/Helsinki-NLP/Tatoeba-Challenge/tree/master/models/fra-ita/README.md
|
40 |
+
- original_repo: Tatoeba-Challenge
|
41 |
+
- tags: ['translation']
|
42 |
+
- languages: ['fr', 'it']
|
43 |
+
- src_constituents: ('French', {'fra'})
|
44 |
+
- tgt_constituents: ('Italian', {'ita'})
|
45 |
+
- src_multilingual: False
|
46 |
+
- tgt_multilingual: False
|
47 |
+
- long_pair: fra-ita
|
48 |
+
- prepro: normalization + SentencePiece (spm32k,spm32k)
|
49 |
+
- url_model: https://object.pouta.csc.fi/Tatoeba-MT-models/fra-ita/opusTCv20210807-2021-11-11.zip
|
50 |
+
- url_test_set: https://object.pouta.csc.fi/Tatoeba-MT-models/fra-ita/opusTCv20210807-2021-11-11.test.txt
|
51 |
+
- src_alpha3: fra
|
52 |
+
- tgt_alpha3: ita
|
53 |
+
- chrF2_score: 0.737
|
54 |
+
- bleu: 54.8
|
55 |
+
- src_name: French
|
56 |
+
- tgt_name: Italian
|
57 |
+
- train_date: 2021-11-11 00:00:00
|
58 |
+
- src_alpha2: fr
|
59 |
+
- tgt_alpha2: it
|
60 |
+
- prefer_old: False
|
61 |
+
- short_pair: fr-it
|
62 |
+
- helsinki_git_sha: 7ab0c987850187e0b10342bfc616cd47c027ba18
|
63 |
+
- transformers_git_sha: df1f94eb4a18b1a27d27e32040b60a17410d516e
|
64 |
+
- port_machine: LM0-400-22516.local
|
65 |
+
- port_time: 2021-11-11-16:20
|
config.json
ADDED
@@ -0,0 +1,43 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"activation_dropout": 0.0,
|
3 |
+
"activation_function": "swish",
|
4 |
+
"architectures": [
|
5 |
+
"MarianMTModel"
|
6 |
+
],
|
7 |
+
"attention_dropout": 0.0,
|
8 |
+
"bad_words_ids": [
|
9 |
+
[
|
10 |
+
56132
|
11 |
+
]
|
12 |
+
],
|
13 |
+
"bos_token_id": 0,
|
14 |
+
"classifier_dropout": 0.0,
|
15 |
+
"d_model": 512,
|
16 |
+
"decoder_attention_heads": 8,
|
17 |
+
"decoder_ffn_dim": 2048,
|
18 |
+
"decoder_layerdrop": 0.0,
|
19 |
+
"decoder_layers": 6,
|
20 |
+
"decoder_start_token_id": 56132,
|
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 |
+
"init_std": 0.02,
|
29 |
+
"is_encoder_decoder": true,
|
30 |
+
"max_length": 512,
|
31 |
+
"max_position_embeddings": 512,
|
32 |
+
"model_type": "marian",
|
33 |
+
"normalize_embedding": false,
|
34 |
+
"num_beams": 6,
|
35 |
+
"num_hidden_layers": 6,
|
36 |
+
"pad_token_id": 56132,
|
37 |
+
"scale_embedding": true,
|
38 |
+
"static_position_embeddings": true,
|
39 |
+
"torch_dtype": "float16",
|
40 |
+
"transformers_version": "4.12.3",
|
41 |
+
"use_cache": true,
|
42 |
+
"vocab_size": 56133
|
43 |
+
}
|
metadata.json
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"hf_name":"fr-it","source_languages":"fra","target_languages":"ita","opus_readme_url":"https:\/\/github.com\/Helsinki-NLP\/Tatoeba-Challenge\/tree\/master\/models\/fra-ita\/README.md","original_repo":"Tatoeba-Challenge","tags":["translation"],"languages":["fr","it"],"src_constituents":["French",["fra"]],"tgt_constituents":["Italian",["ita"]],"src_multilingual":false,"tgt_multilingual":false,"long_pair":"fra-ita","prepro":" normalization + SentencePiece (spm32k,spm32k)","url_model":"https:\/\/object.pouta.csc.fi\/Tatoeba-MT-models\/fra-ita\/opusTCv20210807-2021-11-11.zip","url_test_set":"https:\/\/object.pouta.csc.fi\/Tatoeba-MT-models\/fra-ita\/opusTCv20210807-2021-11-11.test.txt","src_alpha3":"fra","tgt_alpha3":"ita","chrF2_score":0.737,"bleu":54.8,"src_name":"French","tgt_name":"Italian","train_date":1636588800000,"src_alpha2":"fr","tgt_alpha2":"it","prefer_old":false,"short_pair":"fr-it","helsinki_git_sha":"7ab0c987850187e0b10342bfc616cd47c027ba18","transformers_git_sha":"df1f94eb4a18b1a27d27e32040b60a17410d516e","port_machine":"LM0-400-22516.local","port_time":"2021-11-11-16:20"}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:4df05e8d32bba3091ffa2b79d66b49c575262def30a4d89bdf5dbecff73dd22f
|
3 |
+
size 203430723
|
source.spm
ADDED
Binary file (819 kB). View file
|
|
special_tokens_map.json
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"eos_token": "</s>", "unk_token": "<unk>", "pad_token": "<pad>"}
|
target.spm
ADDED
Binary file (821 kB). View file
|
|
tokenizer_config.json
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"source_lang": "fra", "target_lang": "ita", "unk_token": "<unk>", "eos_token": "</s>", "pad_token": "<pad>", "model_max_length": 512, "sp_model_kwargs": {}, "special_tokens_map_file": null, "tokenizer_file": null, "name_or_path": "marian_ckpt/fra-ita", "tokenizer_class": "MarianTokenizer"}
|
vocab.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|