Update config.json
Browse files- config.json +50 -0
config.json
ADDED
@@ -0,0 +1,50 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "student-t5-small-qa-qg-hl-6-4",
|
3 |
+
"architectures": [
|
4 |
+
"T5ForConditionalGeneration"
|
5 |
+
],
|
6 |
+
"d_ff": 2048,
|
7 |
+
"d_kv": 64,
|
8 |
+
"d_model": 512,
|
9 |
+
"decoder_start_token_id": 0,
|
10 |
+
"dropout_rate": 0.1,
|
11 |
+
"eos_token_id": 1,
|
12 |
+
"init_metadata": {
|
13 |
+
"copied_decoder_layers": [
|
14 |
+
0,
|
15 |
+
1,
|
16 |
+
3,
|
17 |
+
5
|
18 |
+
],
|
19 |
+
"copied_encoder_layers": [
|
20 |
+
0,
|
21 |
+
1,
|
22 |
+
2,
|
23 |
+
3,
|
24 |
+
4,
|
25 |
+
5
|
26 |
+
],
|
27 |
+
"teacher_type": "t5"
|
28 |
+
},
|
29 |
+
"initializer_factor": 1.0,
|
30 |
+
"is_encoder_decoder": true,
|
31 |
+
"layer_norm_epsilon": 1e-06,
|
32 |
+
"model_type": "t5",
|
33 |
+
"n_positions": 512,
|
34 |
+
"num_decoder_layers": 4,
|
35 |
+
"num_heads": 8,
|
36 |
+
"num_layers": 6,
|
37 |
+
"output_past": true,
|
38 |
+
"pad_token_id": 0,
|
39 |
+
"relative_attention_num_buckets": 32,
|
40 |
+
"task_specific_params": {
|
41 |
+
"translation_en_to_fr": {
|
42 |
+
"early_stopping": true,
|
43 |
+
"length_penalty": 1.0,
|
44 |
+
"max_length": 32,
|
45 |
+
"num_beams": 4,
|
46 |
+
"prefix": ""
|
47 |
+
}
|
48 |
+
},
|
49 |
+
"vocab_size": 32102
|
50 |
+
}
|