Upload generation_config.json
Browse files- generation_config.json +9 -2
generation_config.json
CHANGED
@@ -1,7 +1,14 @@
|
|
1 |
{
|
2 |
-
"_from_model_config": true,
|
3 |
"decoder_start_token_id": 0,
|
4 |
"eos_token_id": 2,
|
5 |
"pad_token_id": 0,
|
6 |
-
"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
7 |
}
|
|
|
1 |
{
|
|
|
2 |
"decoder_start_token_id": 0,
|
3 |
"eos_token_id": 2,
|
4 |
"pad_token_id": 0,
|
5 |
+
"early_stopping": "never",
|
6 |
+
"top_k": 1,
|
7 |
+
"do_sample": false,
|
8 |
+
"max_new_tokens": 200,
|
9 |
+
"num_beams": 7,
|
10 |
+
"num_beam_groups": 1,
|
11 |
+
"penalty_alpha": 0.0,
|
12 |
+
"diversity_penalty": 0.0,
|
13 |
+
"use_cache": true
|
14 |
}
|