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