niuwz
commited on
Commit
•
a7932c3
1
Parent(s):
5474da7
modified: generation_config.json
Browse files- generation_config.json +4 -1
generation_config.json
CHANGED
@@ -1,7 +1,10 @@
|
|
1 |
{
|
2 |
-
"_from_model_config": true,
|
3 |
"bos_token_id": 2,
|
|
|
4 |
"eos_token_id": 1,
|
|
|
5 |
"pad_token_id": 0,
|
|
|
|
|
6 |
"transformers_version": "4.41.2"
|
7 |
}
|
|
|
1 |
{
|
|
|
2 |
"bos_token_id": 2,
|
3 |
+
"do_sample": true,
|
4 |
"eos_token_id": 1,
|
5 |
+
"max_length": 128,
|
6 |
"pad_token_id": 0,
|
7 |
+
"temperature": 0.85,
|
8 |
+
"top_p": 0.95,
|
9 |
"transformers_version": "4.41.2"
|
10 |
}
|