zhjohnchan
commited on
Commit
•
c3a0cfc
1
Parent(s):
12c689d
Update generation_config.json
Browse files- generation_config.json +10 -2
generation_config.json
CHANGED
@@ -2,5 +2,13 @@
|
|
2 |
"_from_model_config": true,
|
3 |
"bos_token_id": 1,
|
4 |
"eos_token_id": 2,
|
5 |
-
"
|
6 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
"_from_model_config": true,
|
3 |
"bos_token_id": 1,
|
4 |
"eos_token_id": 2,
|
5 |
+
"do_sample": false,
|
6 |
+
"num_beams": 5,
|
7 |
+
"min_length": 0,
|
8 |
+
"max_length": 256,
|
9 |
+
"top_p": 1.0,
|
10 |
+
"repetition_penalty": 1.0,
|
11 |
+
"length_penalty": 1.0,
|
12 |
+
"temperature": 1,
|
13 |
+
"transformers_version": "4.35.2",
|
14 |
+
}
|