Update config.json
Browse files- config.json +2 -1
config.json
CHANGED
@@ -7,6 +7,7 @@
|
|
7 |
"bos_token_id": 50256,
|
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",
|
@@ -30,7 +31,7 @@
|
|
30 |
"task_specific_params": {
|
31 |
"text-generation": {
|
32 |
"do_sample": true,
|
33 |
-
"max_length":
|
34 |
}
|
35 |
},
|
36 |
"torch_dtype": "float32",
|
|
|
7 |
"bos_token_id": 50256,
|
8 |
"embd_pdrop": 0.1,
|
9 |
"eos_token_id": 50256,
|
10 |
+
"pad_token_id": 50256,
|
11 |
"initializer_range": 0.02,
|
12 |
"layer_norm_epsilon": 1e-05,
|
13 |
"model_type": "gpt2",
|
|
|
31 |
"task_specific_params": {
|
32 |
"text-generation": {
|
33 |
"do_sample": true,
|
34 |
+
"max_length": 300
|
35 |
}
|
36 |
},
|
37 |
"torch_dtype": "float32",
|