joaogante HF staff commited on
Commit
9a1cfa6
1 Parent(s): 63802f7

Adding generation config file(s)

Browse files
generation_config.json ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "bos_token_id": 0,
4
+ "decoder_start_token_id": 2,
5
+ "eos_token_id": 2,
6
+ "no_repeat_ngram_size": 3,
7
+ "num_beams": 5,
8
+ "pad_token_id": 1,
9
+ "transformers_version": "4.27.0.dev0"
10
+ }
generation_config_for_summarization.json ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ "length_penalty": 2.0,
8
+ "max_length": 142,
9
+ "min_length": 56,
10
+ "no_repeat_ngram_size": 3,
11
+ "num_beams": 4,
12
+ "pad_token_id": 1,
13
+ "transformers_version": "4.27.0.dev0"
14
+ }