marialcasimiro
commited on
Commit
·
9646ed5
1
Parent(s):
4240f76
Initial commit
Browse files- README.md +89 -0
- config.json +44 -0
- generation_config.json +16 -0
- metadata.json +1 -0
- pytorch_model.bin +3 -0
- source.spm +0 -0
- special_tokens_map.json +5 -0
- target.spm +0 -0
- tokenizer_config.json +38 -0
- vocab.json +0 -0
README.md
ADDED
@@ -0,0 +1,89 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
language:
|
3 |
+
- en
|
4 |
+
- fr
|
5 |
+
|
6 |
+
tags:
|
7 |
+
- translation
|
8 |
+
|
9 |
+
license: apache-2.0
|
10 |
+
---
|
11 |
+
|
12 |
+
### eng-fra
|
13 |
+
|
14 |
+
* source language name: English
|
15 |
+
* target language name: French
|
16 |
+
* OPUS readme: [README.md](https://object.pouta.csc.fi/Tatoeba-MT-models/eng-fra/README.md)
|
17 |
+
|
18 |
+
* model: transformer-align
|
19 |
+
* source language code: en
|
20 |
+
* target language code: fr
|
21 |
+
* dataset: opus
|
22 |
+
* release date: 2021-02-22
|
23 |
+
* pre-processing: normalization + SentencePiece (spm32k,spm32k)
|
24 |
+
* download original weights: [opus-2021-02-22.zip](https://object.pouta.csc.fi/Tatoeba-MT-models/eng-fra/opus-2021-02-22.zip/eng-fra/opus-2021-02-22.zip)
|
25 |
+
* Training data:
|
26 |
+
* fra-eng: Tatoeba-train (180923857)
|
27 |
+
* Validation data:
|
28 |
+
* eng-fra: Tatoeba-dev, 250098
|
29 |
+
* total-size-shuffled: 249757
|
30 |
+
* devset-selected: top 5000 lines of Tatoeba-dev.src.shuffled!
|
31 |
+
* Test data:
|
32 |
+
* newsdiscussdev2015-enfr.eng-fra: 1500/27986
|
33 |
+
* newsdiscusstest2015-enfr.eng-fra: 1500/28027
|
34 |
+
* newssyscomb2009.eng-fra: 502/12334
|
35 |
+
* news-test2008.eng-fra: 2051/52685
|
36 |
+
* newstest2009.eng-fra: 2525/69278
|
37 |
+
* newstest2010.eng-fra: 2489/66043
|
38 |
+
* newstest2011.eng-fra: 3003/80626
|
39 |
+
* newstest2012.eng-fra: 3003/78011
|
40 |
+
* newstest2013.eng-fra: 3000/70037
|
41 |
+
* Tatoeba-test.eng-fra: 10000/80769
|
42 |
+
* tico19-test.eng-fra: 2100/64655
|
43 |
+
* test set translations file: [test.txt](https://object.pouta.csc.fi/Tatoeba-MT-models/eng-fra/opus-2021-02-22.zip/eng-fra/opus-2021-02-22.test.txt)
|
44 |
+
* test set scores file: [eval.txt](https://object.pouta.csc.fi/Tatoeba-MT-models/eng-fra/opus-2021-02-22.zip/eng-fra/opus-2021-02-22.eval.txt)
|
45 |
+
* BLEU-scores
|
46 |
+
|Test set|score|
|
47 |
+
|---|---|
|
48 |
+
|Tatoeba-test.eng-fra|50.8|
|
49 |
+
|tico19-test.eng-fra|41.8|
|
50 |
+
|newsdiscusstest2015-enfr.eng-fra|40.8|
|
51 |
+
|newstest2011.eng-fra|34.6|
|
52 |
+
|newsdiscussdev2015-enfr.eng-fra|33.9|
|
53 |
+
|newstest2013.eng-fra|33.5|
|
54 |
+
|newstest2010.eng-fra|33.0|
|
55 |
+
|newstest2012.eng-fra|32.0|
|
56 |
+
|newssyscomb2009.eng-fra|30.0|
|
57 |
+
|newstest2009.eng-fra|29.9|
|
58 |
+
|news-test2008.eng-fra|27.5|
|
59 |
+
* chr-F-scores
|
60 |
+
|Test set|score|
|
61 |
+
|---|---|
|
62 |
+
|Tatoeba-test.eng-fra|0.671|
|
63 |
+
|newsdiscusstest2015-enfr.eng-fra|0.649|
|
64 |
+
|tico19-test.eng-fra|0.638|
|
65 |
+
|newstest2011.eng-fra|0.614|
|
66 |
+
|newsdiscussdev2015-enfr.eng-fra|0.606|
|
67 |
+
|newstest2010.eng-fra|0.599|
|
68 |
+
|newstest2012.eng-fra|0.593|
|
69 |
+
|newstest2013.eng-fra|0.591|
|
70 |
+
|newssyscomb2009.eng-fra|0.587|
|
71 |
+
|newstest2009.eng-fra|0.58|
|
72 |
+
|news-test2008.eng-fra|0.556|
|
73 |
+
|
74 |
+
### System Info:
|
75 |
+
* hf_name: eng-fra
|
76 |
+
* source_languages: en
|
77 |
+
* target_languages: fr
|
78 |
+
* opus_readme_url: https://object.pouta.csc.fi/Tatoeba-MT-models/eng-fra/opus-2021-02-22.zip/README.md
|
79 |
+
* original_repo: Tatoeba-Challenge
|
80 |
+
* tags: ['translation']
|
81 |
+
* languages: ['en', 'fr']
|
82 |
+
* src_constituents: ['eng']
|
83 |
+
* tgt_constituents: ['fra']
|
84 |
+
* src_multilingual: False
|
85 |
+
* tgt_multilingual: False
|
86 |
+
* helsinki_git_sha: 6faf2dab0b7b01a0e08a114dbacbb7deac54988d
|
87 |
+
* transformers_git_sha: e9a6c72b5edfb9561a981959b0e7c62d8ab9ef6c
|
88 |
+
* port_machine: 146-193-182-187.edr.inesc.pt
|
89 |
+
* port_time: 2023-11-08-11:42
|
config.json
ADDED
@@ -0,0 +1,44 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 |
+
65000
|
11 |
+
]
|
12 |
+
],
|
13 |
+
"bos_token_id": 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": 65000,
|
20 |
+
"decoder_vocab_size": 65001,
|
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": 65000,
|
37 |
+
"scale_embedding": true,
|
38 |
+
"share_encoder_decoder_embeddings": true,
|
39 |
+
"static_position_embeddings": true,
|
40 |
+
"torch_dtype": "float16",
|
41 |
+
"transformers_version": "4.36.0.dev0",
|
42 |
+
"use_cache": true,
|
43 |
+
"vocab_size": 65001
|
44 |
+
}
|
generation_config.json
ADDED
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_from_model_config": true,
|
3 |
+
"bad_words_ids": [
|
4 |
+
[
|
5 |
+
65000
|
6 |
+
]
|
7 |
+
],
|
8 |
+
"bos_token_id": 0,
|
9 |
+
"decoder_start_token_id": 65000,
|
10 |
+
"eos_token_id": 0,
|
11 |
+
"forced_eos_token_id": 0,
|
12 |
+
"max_length": 512,
|
13 |
+
"num_beams": 6,
|
14 |
+
"pad_token_id": 65000,
|
15 |
+
"transformers_version": "4.36.0.dev0"
|
16 |
+
}
|
metadata.json
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"hf_name": "eng-fra", "source_languages": "en", "target_languages": "fr", "opus_readme_url": "https://object.pouta.csc.fi/Tatoeba-MT-models/eng-fra/opus-2021-02-22.zip/README.md", "original_repo": "Tatoeba-Challenge", "tags": ["translation"], "languages": ["en", "fr"], "src_constituents": ["eng"], "tgt_constituents": ["fra"], "src_multilingual": false, "tgt_multilingual": false, "helsinki_git_sha": "6faf2dab0b7b01a0e08a114dbacbb7deac54988d", "transformers_git_sha": "e9a6c72b5edfb9561a981959b0e7c62d8ab9ef6c", "port_machine": "146-193-182-187.edr.inesc.pt", "port_time": "2023-11-08-11:42"}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:182db8a30b5b720e07e23248a24055599e001ddc800c200d7ab77bf61c951700
|
3 |
+
size 221610115
|
source.spm
ADDED
Binary file (797 kB). View file
|
|
special_tokens_map.json
ADDED
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"eos_token": "</s>",
|
3 |
+
"pad_token": "<pad>",
|
4 |
+
"unk_token": "<unk>"
|
5 |
+
}
|
target.spm
ADDED
Binary file (818 kB). View file
|
|
tokenizer_config.json
ADDED
@@ -0,0 +1,38 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"added_tokens_decoder": {
|
3 |
+
"0": {
|
4 |
+
"content": "</s>",
|
5 |
+
"lstrip": false,
|
6 |
+
"normalized": false,
|
7 |
+
"rstrip": false,
|
8 |
+
"single_word": false,
|
9 |
+
"special": true
|
10 |
+
},
|
11 |
+
"1": {
|
12 |
+
"content": "<unk>",
|
13 |
+
"lstrip": false,
|
14 |
+
"normalized": false,
|
15 |
+
"rstrip": false,
|
16 |
+
"single_word": false,
|
17 |
+
"special": true
|
18 |
+
},
|
19 |
+
"65000": {
|
20 |
+
"content": "<pad>",
|
21 |
+
"lstrip": false,
|
22 |
+
"normalized": false,
|
23 |
+
"rstrip": false,
|
24 |
+
"single_word": false,
|
25 |
+
"special": true
|
26 |
+
}
|
27 |
+
},
|
28 |
+
"clean_up_tokenization_spaces": true,
|
29 |
+
"eos_token": "</s>",
|
30 |
+
"model_max_length": 512,
|
31 |
+
"pad_token": "<pad>",
|
32 |
+
"separate_vocabs": false,
|
33 |
+
"source_lang": "eng",
|
34 |
+
"sp_model_kwargs": {},
|
35 |
+
"target_lang": "fra",
|
36 |
+
"tokenizer_class": "MarianTokenizer",
|
37 |
+
"unk_token": "<unk>"
|
38 |
+
}
|
vocab.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|