Create generation_config.json
Browse files- generation_config.json +8 -0
generation_config.json
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"max_length": 2048,
|
| 3 |
+
"max_new_tokens": 256,
|
| 4 |
+
"temperature": 0.7,
|
| 5 |
+
"top_p": 0.9,
|
| 6 |
+
"do_sample": true,
|
| 7 |
+
"repetition_penalty": 1.05
|
| 8 |
+
}
|