Update config.json
Browse files- config.json +3 -1
config.json
CHANGED
|
@@ -29,7 +29,9 @@
|
|
| 29 |
"task_specific_params": {
|
| 30 |
"text-generation": {
|
| 31 |
"do_sample": true,
|
| 32 |
-
"
|
|
|
|
|
|
|
| 33 |
}
|
| 34 |
},
|
| 35 |
"torch_dtype": "float32",
|
|
|
|
| 29 |
"task_specific_params": {
|
| 30 |
"text-generation": {
|
| 31 |
"do_sample": true,
|
| 32 |
+
"no_repeat_ngram_size": 2,
|
| 33 |
+
"repetition_penalty": 4.5,
|
| 34 |
+
"max_length": 48
|
| 35 |
}
|
| 36 |
},
|
| 37 |
"torch_dtype": "float32",
|