Trouter-Library commited on
Commit
d38b312
·
verified ·
1 Parent(s): aeae2fe

Create generation_config.json

Browse files
Files changed (1) hide show
  1. generation_config.json +32 -0
generation_config.json ADDED
@@ -0,0 +1,32 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "bos_token_id": 0,
4
+ "eos_token_id": 2,
5
+ "pad_token_id": 1,
6
+ "transformers_version": "4.35.0",
7
+ "max_length": 2048,
8
+ "min_length": 0,
9
+ "do_sample": true,
10
+ "early_stopping": false,
11
+ "num_beams": 1,
12
+ "num_beam_groups": 1,
13
+ "diversity_penalty": 0.0,
14
+ "temperature": 0.7,
15
+ "top_k": 50,
16
+ "top_p": 0.9,
17
+ "typical_p": 1.0,
18
+ "repetition_penalty": 1.1,
19
+ "length_penalty": 1.0,
20
+ "no_repeat_ngram_size": 0,
21
+ "encoder_no_repeat_ngram_size": 0,
22
+ "bad_words_ids": null,
23
+ "num_return_sequences": 1,
24
+ "output_scores": false,
25
+ "return_dict_in_generate": false,
26
+ "forced_bos_token_id": null,
27
+ "forced_eos_token_id": null,
28
+ "remove_invalid_values": false,
29
+ "exponential_decay_length_penalty": null,
30
+ "suppress_tokens": null,
31
+ "begin_suppress_tokens": null
32
+ }