Adding generation config file(s)
Browse files
generation_config.json
ADDED
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_from_model_config": true,
|
3 |
+
"bos_token_id": 0,
|
4 |
+
"decoder_start_token_id": 2,
|
5 |
+
"early_stopping": true,
|
6 |
+
"eos_token_id": 2,
|
7 |
+
"forced_eos_token_id": 2,
|
8 |
+
"length_penalty": 0,
|
9 |
+
"max_length": 1024,
|
10 |
+
"min_length": 11,
|
11 |
+
"no_repeat_ngram_size": 3,
|
12 |
+
"num_beams": 6,
|
13 |
+
"pad_token_id": 1,
|
14 |
+
"transformers_version": "4.27.0.dev0"
|
15 |
+
}
|
generation_config_for_summarization.json
ADDED
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_from_model_config": true,
|
3 |
+
"bos_token_id": 0,
|
4 |
+
"decoder_start_token_id": 2,
|
5 |
+
"early_stopping": true,
|
6 |
+
"eos_token_id": 2,
|
7 |
+
"forced_eos_token_id": 2,
|
8 |
+
"length_penalty": 0,
|
9 |
+
"max_length": 1024,
|
10 |
+
"min_length": 11,
|
11 |
+
"no_repeat_ngram_size": 3,
|
12 |
+
"num_beams": 5,
|
13 |
+
"pad_token_id": 1,
|
14 |
+
"transformers_version": "4.27.0.dev0"
|
15 |
+
}
|