Update generation_config.json
Browse files- generation_config.json +11 -1
generation_config.json
CHANGED
@@ -1,6 +1,16 @@
|
|
1 |
{
|
|
|
2 |
"_from_model_config": true,
|
3 |
"bos_token_id": 1,
|
4 |
"eos_token_id": 2,
|
5 |
-
"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
6 |
}
|
|
|
1 |
{
|
2 |
+
"transformers_version": "4.39.3"
|
3 |
"_from_model_config": true,
|
4 |
"bos_token_id": 1,
|
5 |
"eos_token_id": 2,
|
6 |
+
"pad_token_id": 2,
|
7 |
+
"max_length": 1024,
|
8 |
+
"num_beams"=5,
|
9 |
+
"do_sample"=True,
|
10 |
+
"early_stopping"=True,
|
11 |
+
"temperature"=0.7,
|
12 |
+
"top_k"=50,
|
13 |
+
"top_p"=0.95,
|
14 |
+
"repetition_penalty"=1.2,
|
15 |
+
"no_repeat_ngram_size"=3,
|
16 |
}
|