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