Translation
Transformers
PyTorch
English
German
multilingual
fsmt
text2text-generation
wmt20
Inference Endpoints
gsarti commited on
Commit
8016078
1 Parent(s): 324b067

Initial commit

Browse files
README.md CHANGED
@@ -1,3 +1,25 @@
1
  ---
 
 
 
 
2
  license: cc-by-sa-4.0
 
 
 
 
 
 
 
 
 
 
3
  ---
 
 
 
 
 
 
 
 
1
  ---
2
+ language:
3
+ - en
4
+ - de
5
+ - multilingual
6
  license: cc-by-sa-4.0
7
+ tags:
8
+ - translation
9
+ - wmt20
10
+ - fairseq
11
+ datasets:
12
+ - wmt/europarl
13
+ - para_crawl
14
+ - german-nlp-group/german_common_crawl
15
+ - wmt/news-commentary
16
+ - wmt/wikititles
17
  ---
18
+
19
+ # Fairseq En-De NMT WMT20 MLQE
20
+
21
+ This repository contains the English-German model trained with the [fairseq toolkit](https://github.com/pytorch/fairseq) that was used to produce translations used in the WMT20 shared task on quality estimation (QE) on the [MLQE dataset](https://github.com/facebookresearch/mlqe).
22
+
23
+ The checkpoint was converted from the original fairseq checkpoint available [here](https://github.com/facebookresearch/mlqe/tree/master/nmt_models) using the `convert_fsmt_original_pytorch_checkpoint_to_pytorch.py` script from the 🤗 Transformers library (v4.26.0).
24
+
25
+ Please refer to the repositories linked above for additional information on usage, parameters and training data.
config.json ADDED
@@ -0,0 +1,37 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "FSMTForConditionalGeneration"
4
+ ],
5
+ "model_type": "fsmt",
6
+ "activation_dropout": 0.0,
7
+ "activation_function": "relu",
8
+ "attention_dropout": 0.0,
9
+ "d_model": 512,
10
+ "dropout": 0.3,
11
+ "init_std": 0.02,
12
+ "max_position_embeddings": 1024,
13
+ "num_hidden_layers": 6,
14
+ "src_vocab_size": 44384,
15
+ "tgt_vocab_size": 44456,
16
+ "langs": [
17
+ "en",
18
+ "de"
19
+ ],
20
+ "encoder_attention_heads": 8,
21
+ "encoder_ffn_dim": 2048,
22
+ "encoder_layerdrop": 0,
23
+ "encoder_layers": 6,
24
+ "decoder_attention_heads": 8,
25
+ "decoder_ffn_dim": 2048,
26
+ "decoder_layerdrop": 0,
27
+ "decoder_layers": 6,
28
+ "bos_token_id": 0,
29
+ "pad_token_id": 1,
30
+ "eos_token_id": 2,
31
+ "is_encoder_decoder": true,
32
+ "scale_embedding": true,
33
+ "tie_word_embeddings": false,
34
+ "num_beams": 5,
35
+ "early_stopping": false,
36
+ "length_penalty": 1.0
37
+ }
generation_config.json ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "bos_token_id": 0,
4
+ "decoder_start_token_id": 2,
5
+ "eos_token_id": 2,
6
+ "forced_eos_token_id": 2,
7
+ "max_length": 200,
8
+ "num_beams": 5,
9
+ "pad_token_id": 1,
10
+ "transformers_version": "4.26.0"
11
+ }
merges.txt ADDED
The diff for this file is too large to render. See raw diff
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6ce4d9170527af29626d21f1f6db8b04caa556dc9710f5fc18c771949479e65b
3
+ size 434204421
tokenizer_config.json ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "langs": [
3
+ "en",
4
+ "de"
5
+ ],
6
+ "model_max_length": 1024,
7
+ "do_lower_case": false
8
+ }
vocab-src.json ADDED
The diff for this file is too large to render. See raw diff
vocab-tgt.json ADDED
The diff for this file is too large to render. See raw diff