add some inference params
Browse files- generation_config.json +2 -0
generation_config.json
CHANGED
@@ -4,5 +4,7 @@
|
|
4 |
"max_new_tokens": 64,
|
5 |
"penalty_alpha": 0.6,
|
6 |
"top_k": 4,
|
|
|
|
|
7 |
"transformers_version": "4.27.0.dev0"
|
8 |
}
|
|
|
4 |
"max_new_tokens": 64,
|
5 |
"penalty_alpha": 0.6,
|
6 |
"top_k": 4,
|
7 |
+
"do_sample": true,
|
8 |
+
"no_repeat_ngram_size": 4,
|
9 |
"transformers_version": "4.27.0.dev0"
|
10 |
}
|