Rahul Raj R R
commited on
Commit
·
a5d0d22
1
Parent(s):
9b328cc
model
Browse files- README.md +78 -0
- config.json +45 -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 +13 -0
- vocab.json +0 -0
README.md
ADDED
|
@@ -0,0 +1,78 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
language:
|
| 3 |
+
- en
|
| 4 |
+
- de
|
| 5 |
+
|
| 6 |
+
tags:
|
| 7 |
+
- translation
|
| 8 |
+
|
| 9 |
+
license: apache-2.0
|
| 10 |
+
---
|
| 11 |
+
### en-de
|
| 12 |
+
|
| 13 |
+
* source group: English
|
| 14 |
+
* target group: German
|
| 15 |
+
* OPUS readme: [eng-deu](https://github.com/Helsinki-NLP/Tatoeba-Challenge/tree/master/models/eng-deu/README.md)
|
| 16 |
+
|
| 17 |
+
* model: transformer-big
|
| 18 |
+
* source language(s): eng
|
| 19 |
+
* target language(s): deu
|
| 20 |
+
* raw source language(s): eng
|
| 21 |
+
* raw target language(s): deu
|
| 22 |
+
* model: transformer-big
|
| 23 |
+
* pre-processing: normalization + SentencePiece (spm32k,spm32k)
|
| 24 |
+
* download original weights: [opusTCv20210807+bt-2021-12-08.zip](https://object.pouta.csc.fi/Tatoeba-MT-models/eng-deu/opusTCv20210807+bt-2021-12-08.zip)
|
| 25 |
+
* test set translations: [opusTCv20210807+bt-2021-12-08.test.txt](https://object.pouta.csc.fi/Tatoeba-MT-models/eng-deu/opusTCv20210807+bt-2021-12-08.test.txt)
|
| 26 |
+
* test set scores: [opusTCv20210807+bt-2021-12-08.eval.txt](https://object.pouta.csc.fi/Tatoeba-MT-models/eng-deu/opusTCv20210807+bt-2021-12-08.eval.txt)
|
| 27 |
+
|
| 28 |
+
## Benchmarks
|
| 29 |
+
|
| 30 |
+
| testset | BLEU | chr-F | #sent | #words | BP |
|
| 31 |
+
|---------|-------|-------|-------|--------|----|
|
| 32 |
+
| newssyscomb2009.eng-deu | 24.3 | 0.5462 | 502 | 11271 | 0.993 |
|
| 33 |
+
| news-test2008.eng-deu | 24.7 | 0.5412 | 2051 | 47427 | 1.000 |
|
| 34 |
+
| newstest2009.eng-deu | 23.6 | 0.5385 | 2525 | 62816 | 0.999 |
|
| 35 |
+
| newstest2010.eng-deu | 26.9 | 0.5589 | 2489 | 61511 | 0.966 |
|
| 36 |
+
| newstest2011.eng-deu | 24.1 | 0.5364 | 3003 | 72981 | 0.990 |
|
| 37 |
+
| newstest2012.eng-deu | 24.6 | 0.5375 | 3003 | 72886 | 0.972 |
|
| 38 |
+
| newstest2013.eng-deu | 28.3 | 0.5636 | 3000 | 63737 | 0.988 |
|
| 39 |
+
| newstest2014-deen.eng-deu | 30.9 | 0.6084 | 3003 | 62964 | 1.000 |
|
| 40 |
+
| newstest2015-ende.eng-deu | 33.2 | 0.6106 | 2169 | 44260 | 1.000 |
|
| 41 |
+
| newstest2016-ende.eng-deu | 39.8 | 0.6595 | 2999 | 62670 | 0.993 |
|
| 42 |
+
| newstest2017-ende.eng-deu | 32.0 | 0.6047 | 3004 | 61291 | 1.000 |
|
| 43 |
+
| newstest2018-ende.eng-deu | 48.8 | 0.7146 | 2998 | 64276 | 1.000 |
|
| 44 |
+
| newstest2019-ende.eng-deu | 45.0 | 0.6821 | 1997 | 48969 | 0.995 |
|
| 45 |
+
| Tatoeba-test-v2021-08-07.eng-deu | 43.7 | 0.6442 | 10000 | 85728 | 1.000 |
|
| 46 |
+
|
| 47 |
+
|
| 48 |
+
### System Info:
|
| 49 |
+
- hf_name: en-de
|
| 50 |
+
- source_languages: eng
|
| 51 |
+
- target_languages: deu
|
| 52 |
+
- opus_readme_url: https://github.com/Helsinki-NLP/Tatoeba-Challenge/tree/master/models/eng-deu/README.md
|
| 53 |
+
- original_repo: Tatoeba-Challenge
|
| 54 |
+
- tags: ['translation']
|
| 55 |
+
- languages: ['en', 'de']
|
| 56 |
+
- src_constituents: ('English', {'eng'})
|
| 57 |
+
- tgt_constituents: ('German', {'deu'})
|
| 58 |
+
- src_multilingual: False
|
| 59 |
+
- tgt_multilingual: False
|
| 60 |
+
- long_pair: eng-deu
|
| 61 |
+
- prepro: normalization + SentencePiece (spm32k,spm32k)
|
| 62 |
+
- url_model: https://object.pouta.csc.fi/Tatoeba-MT-models/eng-deu/opusTCv20210807+bt-2021-12-08.zip
|
| 63 |
+
- url_test_set: https://object.pouta.csc.fi/Tatoeba-MT-models/eng-deu/opusTCv20210807+bt-2021-12-08.test.txt
|
| 64 |
+
- src_alpha3: eng
|
| 65 |
+
- tgt_alpha3: deu
|
| 66 |
+
- chrF2_score: 0.6442
|
| 67 |
+
- bleu: 43.7
|
| 68 |
+
- src_name: English
|
| 69 |
+
- tgt_name: German
|
| 70 |
+
- train_date: 2021-12-08 00:00:00
|
| 71 |
+
- src_alpha2: en
|
| 72 |
+
- tgt_alpha2: de
|
| 73 |
+
- prefer_old: False
|
| 74 |
+
- short_pair: en-de
|
| 75 |
+
- helsinki_git_sha: c4e978d8de47875b482653b423dcfe968979d7d5
|
| 76 |
+
- transformers_git_sha: 56b83cf049823ed074a655eceb28f31e2077c6eb
|
| 77 |
+
- port_machine: LAPIN4GLQ2G3
|
| 78 |
+
- port_time: 2022-06-27-16:10
|
config.json
ADDED
|
@@ -0,0 +1,45 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"activation_dropout": 0.0,
|
| 3 |
+
"activation_function": "relu",
|
| 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 |
+
"classifier_dropout": 0.0,
|
| 15 |
+
"d_model": 1024,
|
| 16 |
+
"decoder_attention_heads": 16,
|
| 17 |
+
"decoder_ffn_dim": 4096,
|
| 18 |
+
"decoder_layerdrop": 0.0,
|
| 19 |
+
"decoder_layers": 6,
|
| 20 |
+
"decoder_start_token_id": 65000,
|
| 21 |
+
"decoder_vocab_size": 65001,
|
| 22 |
+
"dropout": 0.1,
|
| 23 |
+
"encoder_attention_heads": 16,
|
| 24 |
+
"encoder_ffn_dim": 4096,
|
| 25 |
+
"encoder_layerdrop": 0.0,
|
| 26 |
+
"encoder_layers": 6,
|
| 27 |
+
"eos_token_id": 0,
|
| 28 |
+
"forced_eos_token_id": 0,
|
| 29 |
+
"init_std": 0.02,
|
| 30 |
+
"is_encoder_decoder": true,
|
| 31 |
+
"max_length": 512,
|
| 32 |
+
"max_position_embeddings": 1024,
|
| 33 |
+
"model_type": "marian",
|
| 34 |
+
"normalize_embedding": false,
|
| 35 |
+
"num_beams": 6,
|
| 36 |
+
"num_hidden_layers": 6,
|
| 37 |
+
"pad_token_id": 65000,
|
| 38 |
+
"scale_embedding": true,
|
| 39 |
+
"share_encoder_decoder_embeddings": true,
|
| 40 |
+
"static_position_embeddings": true,
|
| 41 |
+
"torch_dtype": "float16",
|
| 42 |
+
"transformers_version": "4.21.0.dev0",
|
| 43 |
+
"use_cache": true,
|
| 44 |
+
"vocab_size": 65001
|
| 45 |
+
}
|
metadata.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"hf_name":"en-de","source_languages":"eng","target_languages":"deu","opus_readme_url":"https:\/\/github.com\/Helsinki-NLP\/Tatoeba-Challenge\/tree\/master\/models\/eng-deu\/README.md","original_repo":"Tatoeba-Challenge","tags":["translation"],"languages":["en","de"],"src_constituents":["English",["eng"]],"tgt_constituents":["German",["deu"]],"src_multilingual":false,"tgt_multilingual":false,"long_pair":"eng-deu","prepro":" normalization + SentencePiece (spm32k,spm32k)","url_model":"https:\/\/object.pouta.csc.fi\/Tatoeba-MT-models\/eng-deu\/opusTCv20210807+bt-2021-12-08.zip","url_test_set":"https:\/\/object.pouta.csc.fi\/Tatoeba-MT-models\/eng-deu\/opusTCv20210807+bt-2021-12-08.test.txt","src_alpha3":"eng","tgt_alpha3":"deu","chrF2_score":0.6442,"bleu":43.7,"src_name":"English","tgt_name":"German","train_date":1638921600000,"src_alpha2":"en","tgt_alpha2":"de","prefer_old":false,"short_pair":"en-de","helsinki_git_sha":"c4e978d8de47875b482653b423dcfe968979d7d5","transformers_git_sha":"56b83cf049823ed074a655eceb28f31e2077c6eb","port_machine":"LAPIN4GLQ2G3","port_time":"2022-06-27-16:10"}
|
pytorch_model.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1158c21e9262a18d917029b5d2064db960fda3469737094597c80d811d0ac7af
|
| 3 |
+
size 619169923
|
source.spm
ADDED
|
Binary file (794 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 (819 kB). View file
|
|
|
tokenizer_config.json
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"eos_token": "</s>",
|
| 3 |
+
"model_max_length": 512,
|
| 4 |
+
"name_or_path": "marian_ckpt\\eng-deu",
|
| 5 |
+
"pad_token": "<pad>",
|
| 6 |
+
"separate_vocabs": false,
|
| 7 |
+
"source_lang": "eng",
|
| 8 |
+
"sp_model_kwargs": {},
|
| 9 |
+
"special_tokens_map_file": null,
|
| 10 |
+
"target_lang": "deu",
|
| 11 |
+
"tokenizer_class": "MarianTokenizer",
|
| 12 |
+
"unk_token": "<unk>"
|
| 13 |
+
}
|
vocab.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|