Update config.json
Browse files- config.json +84 -0
config.json
ADDED
@@ -0,0 +1,84 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"activation_dropout": 0.0,
|
3 |
+
"activation_function": "relu",
|
4 |
+
"architectures": [
|
5 |
+
"FSMTForConditionalGeneration"
|
6 |
+
],
|
7 |
+
"attention_dropout": 0.1,
|
8 |
+
"bos_token_id": 0,
|
9 |
+
"d_model": 4,
|
10 |
+
"decoder": {
|
11 |
+
"add_cross_attention": false,
|
12 |
+
"architectures": null,
|
13 |
+
"bad_words_ids": null,
|
14 |
+
"bos_token_id": 2,
|
15 |
+
"chunk_size_feed_forward": 0,
|
16 |
+
"decoder_start_token_id": null,
|
17 |
+
"do_sample": false,
|
18 |
+
"early_stopping": false,
|
19 |
+
"eos_token_id": null,
|
20 |
+
"finetuning_task": null,
|
21 |
+
"id2label": {
|
22 |
+
"0": "LABEL_0",
|
23 |
+
"1": "LABEL_1"
|
24 |
+
},
|
25 |
+
"is_decoder": false,
|
26 |
+
"is_encoder_decoder": false,
|
27 |
+
"label2id": {
|
28 |
+
"LABEL_0": 0,
|
29 |
+
"LABEL_1": 1
|
30 |
+
},
|
31 |
+
"length_penalty": 1.0,
|
32 |
+
"max_length": 20,
|
33 |
+
"min_length": 0,
|
34 |
+
"model_type": "fsmt_decoder",
|
35 |
+
"no_repeat_ngram_size": 0,
|
36 |
+
"num_beams": 1,
|
37 |
+
"num_return_sequences": 1,
|
38 |
+
"output_attentions": false,
|
39 |
+
"output_hidden_states": false,
|
40 |
+
"pad_token_id": null,
|
41 |
+
"prefix": null,
|
42 |
+
"pruned_heads": {},
|
43 |
+
"repetition_penalty": 1.0,
|
44 |
+
"return_dict": false,
|
45 |
+
"task_specific_params": null,
|
46 |
+
"temperature": 1.0,
|
47 |
+
"tie_encoder_decoder": false,
|
48 |
+
"tie_word_embeddings": true,
|
49 |
+
"tokenizer_class": null,
|
50 |
+
"top_k": 50,
|
51 |
+
"top_p": 1.0,
|
52 |
+
"torchscript": false,
|
53 |
+
"use_bfloat16": false,
|
54 |
+
"use_cache": true,
|
55 |
+
"vocab_size": 42024,
|
56 |
+
"xla_device": null
|
57 |
+
},
|
58 |
+
"decoder_attention_heads": 1,
|
59 |
+
"decoder_ffn_dim": 4,
|
60 |
+
"decoder_layerdrop": 0,
|
61 |
+
"decoder_layers": 1,
|
62 |
+
"decoder_start_token_id": 2,
|
63 |
+
"dropout": 0.2,
|
64 |
+
"encoder_attention_heads": 1,
|
65 |
+
"encoder_ffn_dim": 4,
|
66 |
+
"encoder_layerdrop": 0,
|
67 |
+
"encoder_layers": 1,
|
68 |
+
"eos_token_id": 2,
|
69 |
+
"init_std": 0.02,
|
70 |
+
"is_encoder_decoder": true,
|
71 |
+
"langs": [
|
72 |
+
"en",
|
73 |
+
"de"
|
74 |
+
],
|
75 |
+
"max_length": 200,
|
76 |
+
"max_position_embeddings": 1024,
|
77 |
+
"model_type": "fsmt",
|
78 |
+
"num_beams": 5,
|
79 |
+
"num_hidden_layers": 6,
|
80 |
+
"pad_token_id": 1,
|
81 |
+
"scale_embedding": true,
|
82 |
+
"src_vocab_size": 42024,
|
83 |
+
"tgt_vocab_size": 42024
|
84 |
+
}
|