tiedeman commited on
Commit
f5aa4b0
1 Parent(s): e597651

Initial commit

Browse files
README.md ADDED
@@ -0,0 +1,63 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ language:
3
+ - en
4
+ - ja
5
+
6
+ tags:
7
+ - translation
8
+
9
+ license: apache-2.0
10
+ ---
11
+ ### en-ja
12
+
13
+ * source group: English
14
+ * target group: Japanese
15
+ * OPUS readme: [eng-jpn](https://github.com/Helsinki-NLP/Tatoeba-Challenge/tree/master/models/eng-jpn/README.md)
16
+
17
+ * model: transformer-align
18
+ * source language(s): eng
19
+ * target language(s): jpn
20
+ * model: transformer-align
21
+ * pre-processing: normalization + SentencePiece (spm32k,spm32k)
22
+ * download original weights: [opus+bt-2021-04-10.zip](https://object.pouta.csc.fi/Tatoeba-MT-models/eng-jpn/opus+bt-2021-04-10.zip)
23
+ * test set translations: [opus+bt-2021-04-10.test.txt](https://object.pouta.csc.fi/Tatoeba-MT-models/eng-jpn/opus+bt-2021-04-10.test.txt)
24
+ * test set scores: [opus+bt-2021-04-10.eval.txt](https://object.pouta.csc.fi/Tatoeba-MT-models/eng-jpn/opus+bt-2021-04-10.eval.txt)
25
+
26
+ ## Benchmarks
27
+
28
+ | testset | BLEU | chr-F | #sent | #words | BP |
29
+ |---------|-------|-------|-------|--------|----|
30
+ | Tatoeba-test.eng-jpn | 15.2 | 0.258 | 10000 | 99206 | 1.000 |
31
+
32
+
33
+ ### System Info:
34
+ - hf_name: en-ja
35
+ - source_languages: eng
36
+ - target_languages: jpn
37
+ - opus_readme_url: https://github.com/Helsinki-NLP/Tatoeba-Challenge/tree/master/models/eng-jpn/README.md
38
+ - original_repo: Tatoeba-Challenge
39
+ - tags: ['translation']
40
+ - languages: ['en', 'ja']
41
+ - src_constituents: ('English', {'eng'})
42
+ - tgt_constituents: ('Japanese', {'jpn', 'jpn_Latn', 'jpn_Yiii', 'jpn_Kana', 'jpn_Hira', 'jpn_Hang', 'jpn_Bopo', 'jpn_Hani'})
43
+ - src_multilingual: False
44
+ - tgt_multilingual: False
45
+ - long_pair: eng-jpn
46
+ - prepro: normalization + SentencePiece (spm32k,spm32k)
47
+ - url_model: https://object.pouta.csc.fi/Tatoeba-MT-models/eng-jpn/opus+bt-2021-04-10.zip
48
+ - url_test_set: https://object.pouta.csc.fi/Tatoeba-MT-models/eng-jpn/opus+bt-2021-04-10.test.txt
49
+ - src_alpha3: eng
50
+ - tgt_alpha3: jpn
51
+ - chrF2_score: 0.258
52
+ - bleu: 15.2
53
+ - src_name: English
54
+ - tgt_name: Japanese
55
+ - train_date: 2021-04-10 00:00:00
56
+ - src_alpha2: en
57
+ - tgt_alpha2: ja
58
+ - prefer_old: False
59
+ - short_pair: en-ja
60
+ - helsinki_git_sha: 70b0a9621f054ef1d8ea81f7d55595d7f64d19ff
61
+ - transformers_git_sha: 12b4d66a80419db30a15e7b9d4208ceb9887c03b
62
+ - port_machine: LM0-400-22516.local
63
+ - port_time: 2021-10-12-11:13
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
+ 65000
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": 65000,
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
+ "static_position_embeddings": true,
39
+ "torch_dtype": "float16",
40
+ "transformers_version": "4.11.3",
41
+ "use_cache": true,
42
+ "vocab_size": 65001
43
+ }
metadata.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"hf_name":"en-ja","source_languages":"eng","target_languages":"jpn","opus_readme_url":"https:\/\/github.com\/Helsinki-NLP\/Tatoeba-Challenge\/tree\/master\/models\/eng-jpn\/README.md","original_repo":"Tatoeba-Challenge","tags":["translation"],"languages":["en","ja"],"src_constituents":["English",["eng"]],"tgt_constituents":["Japanese",["jpn","jpn_Latn","jpn_Yiii","jpn_Kana","jpn_Hira","jpn_Hang","jpn_Bopo","jpn_Hani"]],"src_multilingual":false,"tgt_multilingual":false,"long_pair":"eng-jpn","prepro":" normalization + SentencePiece (spm32k,spm32k)","url_model":"https:\/\/object.pouta.csc.fi\/Tatoeba-MT-models\/eng-jpn\/opus+bt-2021-04-10.zip","url_test_set":"https:\/\/object.pouta.csc.fi\/Tatoeba-MT-models\/eng-jpn\/opus+bt-2021-04-10.test.txt","src_alpha3":"eng","tgt_alpha3":"jpn","chrF2_score":0.258,"bleu":15.2,"src_name":"English","tgt_name":"Japanese","train_date":1618012800000,"src_alpha2":"en","tgt_alpha2":"ja","prefer_old":false,"short_pair":"en-ja","helsinki_git_sha":"70b0a9621f054ef1d8ea81f7d55595d7f64d19ff","transformers_git_sha":"12b4d66a80419db30a15e7b9d4208ceb9887c03b","port_machine":"LM0-400-22516.local","port_time":"2021-10-12-11:13"}
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f1211116eb4e023ae2955078481f0a9921bf33f4b62934dd917acd8db1158be8
3
+ size 221610115
source.spm ADDED
Binary file (808 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 (834 kB). View file
 
tokenizer_config.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"source_lang": "eng", "target_lang": "jpn", "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/eng-jpn", "tokenizer_class": "MarianTokenizer"}
vocab.json ADDED
The diff for this file is too large to render. See raw diff