Create generation_config.json
Browse files- generation_config.json +12 -0
generation_config.json
ADDED
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"bos_token_id": 1,
|
3 |
+
"eos_token_id": 2,
|
4 |
+
"pad_token_id": 0,
|
5 |
+
"temperature": 0.2,
|
6 |
+
"top_p": 0.8,
|
7 |
+
"top_k": 40,
|
8 |
+
"do_sample": true,
|
9 |
+
"num_beams": 3,
|
10 |
+
"max_new_tokens": 512,
|
11 |
+
"transformers_version": "4.28.0.dev0"
|
12 |
+
}
|