Create generation_config_for_text_generation.json
Browse files
generation_config_for_text_generation.json
ADDED
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_from_model_config": true,
|
3 |
+
"bos_token_id": 32000,
|
4 |
+
"eos_token_id": 32001,
|
5 |
+
"pad_token_id": 32002,
|
6 |
+
"transformers_version": "4.34.1",
|
7 |
+
"max_new_tokens": 32,
|
8 |
+
"repetition_penalty": 1.18,
|
9 |
+
"do_sample": true,
|
10 |
+
"temperature": 0.7,
|
11 |
+
"top_p": 0.1,
|
12 |
+
"top_k": 40
|
13 |
+
}
|