Update config.json
Browse files- config.json +3 -1
config.json
CHANGED
@@ -36,7 +36,9 @@
|
|
36 |
"task_specific_params": {
|
37 |
"text-generation": {
|
38 |
"do_sample": true,
|
39 |
-
"
|
|
|
|
|
40 |
}
|
41 |
},
|
42 |
"torch_dtype": "float32",
|
|
|
36 |
"task_specific_params": {
|
37 |
"text-generation": {
|
38 |
"do_sample": true,
|
39 |
+
"no_repeat_ngram_size": 2,
|
40 |
+
"repetition_penalty": 4.5,
|
41 |
+
"max_length": 48
|
42 |
}
|
43 |
},
|
44 |
"torch_dtype": "float32",
|