FredZhang7
commited on
Commit
·
09217d1
1
Parent(s):
cbc10a7
Update config.json
Browse files- config.json +4 -1
config.json
CHANGED
@@ -37,7 +37,10 @@
|
|
37 |
"task_specific_params": {
|
38 |
"text-generation": {
|
39 |
"do_sample": true,
|
40 |
-
"max_length":
|
|
|
|
|
|
|
41 |
}
|
42 |
},
|
43 |
"torch_dtype": "float32",
|
|
|
37 |
"task_specific_params": {
|
38 |
"text-generation": {
|
39 |
"do_sample": true,
|
40 |
+
"max_length": 80,
|
41 |
+
"temperature": 0.7,
|
42 |
+
"top_k": 4,
|
43 |
+
"early_stopping": true
|
44 |
}
|
45 |
},
|
46 |
"torch_dtype": "float32",
|