joaogante HF staff commited on
Commit
23096ad
1 Parent(s): e827ade

Adding generation config file(s)

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