Create generation_config.json
Browse files- generation_config.json +16 -0
generation_config.json
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"max_length": 4096,
|
| 3 |
+
"temperature": 0.8,
|
| 4 |
+
"top_p": 0.95,
|
| 5 |
+
"top_k": 40,
|
| 6 |
+
"repetition_penalty": 1.1,
|
| 7 |
+
"do_sample": true,
|
| 8 |
+
"num_return_sequences": 1,
|
| 9 |
+
"early_stopping": true,
|
| 10 |
+
"length_penalty": 1.0,
|
| 11 |
+
"no_repeat_ngram_size": 2,
|
| 12 |
+
"presence_penalty": 0.3,
|
| 13 |
+
"frequency_penalty": 0.3,
|
| 14 |
+
"min_length": 10,
|
| 15 |
+
"use_cache": true
|
| 16 |
+
}
|