Commit ·
2bc3ea3
1
Parent(s): 0e0c407
add model
Browse files- config.json +2 -2
config.json
CHANGED
|
@@ -12,7 +12,7 @@
|
|
| 12 |
"gradient_checkpointing": false,
|
| 13 |
"initializer_range": 0.02,
|
| 14 |
"layer_norm_epsilon": 1e-05,
|
| 15 |
-
"max_length":
|
| 16 |
"model_type": "gpt2",
|
| 17 |
"n_ctx": 1024,
|
| 18 |
"n_embd": 768,
|
|
@@ -32,7 +32,7 @@
|
|
| 32 |
"task_specific_params": {
|
| 33 |
"text-generation": {
|
| 34 |
"do_sample": true,
|
| 35 |
-
"max_length":
|
| 36 |
}
|
| 37 |
},
|
| 38 |
"tokenizer_class": "BertTokenizerFast",
|
|
|
|
| 12 |
"gradient_checkpointing": false,
|
| 13 |
"initializer_range": 0.02,
|
| 14 |
"layer_norm_epsilon": 1e-05,
|
| 15 |
+
"max_length": 300,
|
| 16 |
"model_type": "gpt2",
|
| 17 |
"n_ctx": 1024,
|
| 18 |
"n_embd": 768,
|
|
|
|
| 32 |
"task_specific_params": {
|
| 33 |
"text-generation": {
|
| 34 |
"do_sample": true,
|
| 35 |
+
"max_length": 300
|
| 36 |
}
|
| 37 |
},
|
| 38 |
"tokenizer_class": "BertTokenizerFast",
|