tiedeman commited on
Commit
23b4b90
1 Parent(s): a862f11

Initial commit

Browse files
README.md ADDED
@@ -0,0 +1,67 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ language:
3
+ - de
4
+ - ro
5
+
6
+ tags:
7
+ - translation
8
+
9
+ license: apache-2.0
10
+ ---
11
+ ### de-ro
12
+
13
+ * source group: German
14
+ * target group: Romanian
15
+ * OPUS readme: [deu-ron](https://github.com/Helsinki-NLP/Tatoeba-Challenge/tree/master/models/deu-ron/README.md)
16
+
17
+ * model: transformer-align
18
+ * source language(s): deu
19
+ * target language(s): mol ron
20
+ * raw source language(s): deu
21
+ * raw target language(s): mol ron
22
+ * model: transformer-align
23
+ * pre-processing: normalization + SentencePiece (spm32k,spm32k)
24
+ * a sentence initial language token is required in the form of `>>id<<` (id = valid target language ID)
25
+ * valid language labels: >>mol<< >>ron<<
26
+ * download original weights: [opusTCv20210807-2021-10-22.zip](https://object.pouta.csc.fi/Tatoeba-MT-models/deu-ron/opusTCv20210807-2021-10-22.zip)
27
+ * test set translations: [opusTCv20210807-2021-10-22.test.txt](https://object.pouta.csc.fi/Tatoeba-MT-models/deu-ron/opusTCv20210807-2021-10-22.test.txt)
28
+ * test set scores: [opusTCv20210807-2021-10-22.eval.txt](https://object.pouta.csc.fi/Tatoeba-MT-models/deu-ron/opusTCv20210807-2021-10-22.eval.txt)
29
+
30
+ ## Benchmarks
31
+
32
+ | testset | BLEU | chr-F | #sent | #words | BP |
33
+ |---------|-------|-------|-------|--------|----|
34
+ | Tatoeba-test-v2021-08-07.deu-ron | 42.0 | 0.636 | 1141 | 7432 | 0.976 |
35
+
36
+
37
+ ### System Info:
38
+ - hf_name: de-ro
39
+ - source_languages: deu
40
+ - target_languages: ron
41
+ - opus_readme_url: https://github.com/Helsinki-NLP/Tatoeba-Challenge/tree/master/models/deu-ron/README.md
42
+ - original_repo: Tatoeba-Challenge
43
+ - tags: ['translation']
44
+ - languages: ['de', 'ro']
45
+ - src_constituents: ('German', {'deu'})
46
+ - tgt_constituents: ('Romanian', {'ron'})
47
+ - src_multilingual: False
48
+ - tgt_multilingual: False
49
+ - long_pair: deu-ron
50
+ - prepro: normalization + SentencePiece (spm32k,spm32k)
51
+ - url_model: https://object.pouta.csc.fi/Tatoeba-MT-models/deu-ron/opusTCv20210807-2021-10-22.zip
52
+ - url_test_set: https://object.pouta.csc.fi/Tatoeba-MT-models/deu-ron/opusTCv20210807-2021-10-22.test.txt
53
+ - src_alpha3: deu
54
+ - tgt_alpha3: ron
55
+ - chrF2_score: 0.636
56
+ - bleu: 42.0
57
+ - src_name: German
58
+ - tgt_name: Romanian
59
+ - train_date: 2021-10-22 00:00:00
60
+ - src_alpha2: de
61
+ - tgt_alpha2: ro
62
+ - prefer_old: False
63
+ - short_pair: de-ro
64
+ - helsinki_git_sha: 2ef219d5b67f0afb0c6b732cd07001d84181f002
65
+ - transformers_git_sha: 12b4d66a80419db30a15e7b9d4208ceb9887c03b
66
+ - port_machine: LM0-400-22516.local
67
+ - port_time: 2021-11-08-10:12
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
+ 57184
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": 57184,
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": 57184,
37
+ "scale_embedding": true,
38
+ "static_position_embeddings": true,
39
+ "torch_dtype": "float16",
40
+ "transformers_version": "4.11.3",
41
+ "use_cache": true,
42
+ "vocab_size": 57185
43
+ }
metadata.json ADDED
@@ -0,0 +1 @@
 
1
+ {"hf_name":"de-ro","source_languages":"deu","target_languages":"ron","opus_readme_url":"https:\/\/github.com\/Helsinki-NLP\/Tatoeba-Challenge\/tree\/master\/models\/deu-ron\/README.md","original_repo":"Tatoeba-Challenge","tags":["translation"],"languages":["de","ro"],"src_constituents":["German",["deu"]],"tgt_constituents":["Romanian",["ron"]],"src_multilingual":false,"tgt_multilingual":false,"long_pair":"deu-ron","prepro":" normalization + SentencePiece (spm32k,spm32k)","url_model":"https:\/\/object.pouta.csc.fi\/Tatoeba-MT-models\/deu-ron\/opusTCv20210807-2021-10-22.zip","url_test_set":"https:\/\/object.pouta.csc.fi\/Tatoeba-MT-models\/deu-ron\/opusTCv20210807-2021-10-22.test.txt","src_alpha3":"deu","tgt_alpha3":"ron","chrF2_score":0.636,"bleu":42.0,"src_name":"German","tgt_name":"Romanian","train_date":1634860800000,"src_alpha2":"de","tgt_alpha2":"ro","prefer_old":false,"short_pair":"de-ro","helsinki_git_sha":"2ef219d5b67f0afb0c6b732cd07001d84181f002","transformers_git_sha":"12b4d66a80419db30a15e7b9d4208ceb9887c03b","port_machine":"LM0-400-22516.local","port_time":"2021-11-08-10:12"}
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:684fa4e3945185c788d6ceaf6409206636cd0b35b7e71081397d5ec585141513
3
+ size 205587331
source.spm ADDED
Binary file (833 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 (835 kB). View file
tokenizer_config.json ADDED
@@ -0,0 +1 @@
 
1
+ {"source_lang": "deu", "target_lang": "ron", "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/deu-ron", "tokenizer_class": "MarianTokenizer"}
vocab.json ADDED
The diff for this file is too large to render. See raw diff