Update config.json
Browse files- config.json +4 -4
config.json
CHANGED
@@ -8,11 +8,11 @@
|
|
8 |
"initializer_range": 0.02,
|
9 |
"layer_norm_epsilon": 1e-05,
|
10 |
"model_type": "gpt2",
|
11 |
-
"n_ctx":
|
12 |
-
"n_embd":
|
13 |
"n_head": 16,
|
14 |
"n_layer": 24,
|
15 |
-
"n_positions":
|
16 |
"n_special": 0,
|
17 |
"predict_special_tokens": true,
|
18 |
"resid_pdrop": 0.1,
|
@@ -24,7 +24,7 @@
|
|
24 |
"task_specific_params": {
|
25 |
"text-generation": {
|
26 |
"do_sample": true,
|
27 |
-
"max_length":
|
28 |
}
|
29 |
},
|
30 |
"vocab_size": 100314
|
|
|
8 |
"initializer_range": 0.02,
|
9 |
"layer_norm_epsilon": 1e-05,
|
10 |
"model_type": "gpt2",
|
11 |
+
"n_ctx": 1024,
|
12 |
+
"n_embd": 1024,
|
13 |
"n_head": 16,
|
14 |
"n_layer": 24,
|
15 |
+
"n_positions": 1024,
|
16 |
"n_special": 0,
|
17 |
"predict_special_tokens": true,
|
18 |
"resid_pdrop": 0.1,
|
|
|
24 |
"task_specific_params": {
|
25 |
"text-generation": {
|
26 |
"do_sample": true,
|
27 |
+
"max_length": 1024
|
28 |
}
|
29 |
},
|
30 |
"vocab_size": 100314
|