Update generation_config.json
Browse files- generation_config.json +9 -0
generation_config.json
CHANGED
@@ -2,5 +2,14 @@
|
|
2 |
"decoder_start_token_id": 0,
|
3 |
"eos_token_id": 1,
|
4 |
"pad_token_id": 0,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
5 |
"transformers_version": "4.27.4"
|
6 |
}
|
|
|
2 |
"decoder_start_token_id": 0,
|
3 |
"eos_token_id": 1,
|
4 |
"pad_token_id": 0,
|
5 |
+
"min_length": 8,
|
6 |
+
"max_length": 512,
|
7 |
+
"no_repeat_ngram_size": 3,
|
8 |
+
"encoder_no_repeat_ngram_size": 3,
|
9 |
+
"repetition_penalty": 2.5,
|
10 |
+
"num_beams": 4,
|
11 |
+
"length_penalty": 0.8,
|
12 |
+
"early_stopping": true,
|
13 |
+
"do_sample": false,
|
14 |
"transformers_version": "4.27.4"
|
15 |
}
|