Update config.json
Browse files- config.json +7 -2
config.json
CHANGED
@@ -8,10 +8,9 @@
|
|
8 |
"embd_pdrop": 0.1,
|
9 |
"eos_token_id": 50256,
|
10 |
"initializer_range": 0.02,
|
11 |
-
"intermediate_size": 4,
|
12 |
"layer_norm_epsilon": 1e-05,
|
13 |
"model_type": "gpt2",
|
14 |
-
"n_ctx":
|
15 |
"n_embd": 2,
|
16 |
"n_head": 2,
|
17 |
"n_layer": 2,
|
@@ -22,5 +21,11 @@
|
|
22 |
"summary_proj_to_labels": true,
|
23 |
"summary_type": "cls_index",
|
24 |
"summary_use_proj": true,
|
|
|
|
|
|
|
|
|
|
|
|
|
25 |
"vocab_size": 50257
|
26 |
}
|
|
|
8 |
"embd_pdrop": 0.1,
|
9 |
"eos_token_id": 50256,
|
10 |
"initializer_range": 0.02,
|
|
|
11 |
"layer_norm_epsilon": 1e-05,
|
12 |
"model_type": "gpt2",
|
13 |
+
"n_ctx": 2,
|
14 |
"n_embd": 2,
|
15 |
"n_head": 2,
|
16 |
"n_layer": 2,
|
|
|
21 |
"summary_proj_to_labels": true,
|
22 |
"summary_type": "cls_index",
|
23 |
"summary_use_proj": true,
|
24 |
+
"task_specific_params": {
|
25 |
+
"text-generation": {
|
26 |
+
"do_sample": true,
|
27 |
+
"max_length": 50
|
28 |
+
}
|
29 |
+
},
|
30 |
"vocab_size": 50257
|
31 |
}
|