Update config.json
Browse files- config.json +6 -3
config.json
CHANGED
@@ -29,10 +29,13 @@
|
|
29 |
"task_specific_params": {
|
30 |
"text-generation": {
|
31 |
"do_sample": true,
|
32 |
-
"max_length":
|
33 |
-
"
|
|
|
|
|
|
|
34 |
}
|
35 |
-
},
|
36 |
"tie_word_embeddings": false,
|
37 |
"tokenizer_class": "GPT2Tokenizer",
|
38 |
"torch_dtype": "float32",
|
|
|
29 |
"task_specific_params": {
|
30 |
"text-generation": {
|
31 |
"do_sample": true,
|
32 |
+
"max_length": 224,
|
33 |
+
"max_new_tokens": 5,
|
34 |
+
"return_full_text": false,
|
35 |
+
"temperature": 1.0,
|
36 |
+
"top_k": 1
|
37 |
}
|
38 |
+
}, },
|
39 |
"tie_word_embeddings": false,
|
40 |
"tokenizer_class": "GPT2Tokenizer",
|
41 |
"torch_dtype": "float32",
|