Amama02 commited on
Commit
97c4578
·
verified ·
1 Parent(s): c4ecf08

Upload generation_config.json with huggingface_hub

Browse files
Files changed (1) hide show
  1. 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": 1,
 
 
 
 
5
  "pad_token_id": 0,
 
 
 
6
  "transformers_version": "4.44.0"
7
  }
 
1
  {
2
+ "do_sample": true,
3
+ "early_stopping": true,
4
  "eos_token_id": 1,
5
+ "length_penalty": 1.2,
6
+ "max_length": 300,
7
+ "no_repeat_ngram_size": 2,
8
+ "num_beams": 8,
9
  "pad_token_id": 0,
10
+ "repetition_penalty": 2.0,
11
+ "temperature": 0.9,
12
+ "top_p": 0.95,
13
  "transformers_version": "4.44.0"
14
  }