Trouter-Library commited on
Commit
2ac79c5
·
verified ·
1 Parent(s): 071def4

Create generation_config.json

Browse files
Files changed (1) hide show
  1. generation_config.json +41 -0
generation_config.json ADDED
@@ -0,0 +1,41 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "bos_token_id": 1,
4
+ "eos_token_id": 2,
5
+ "pad_token_id": 0,
6
+ "max_length": 4096,
7
+ "max_new_tokens": 2048,
8
+ "min_length": 0,
9
+ "min_new_tokens": null,
10
+ "early_stopping": false,
11
+ "do_sample": true,
12
+ "num_beams": 1,
13
+ "num_beam_groups": 1,
14
+ "penalty_alpha": null,
15
+ "use_cache": true,
16
+ "temperature": 0.7,
17
+ "top_k": 50,
18
+ "top_p": 0.95,
19
+ "typical_p": 1.0,
20
+ "epsilon_cutoff": 0.0,
21
+ "eta_cutoff": 0.0,
22
+ "diversity_penalty": 0.0,
23
+ "repetition_penalty": 1.0,
24
+ "encoder_repetition_penalty": 1.0,
25
+ "length_penalty": 1.0,
26
+ "no_repeat_ngram_size": 0,
27
+ "bad_words_ids": null,
28
+ "force_words_ids": null,
29
+ "renormalize_logits": false,
30
+ "constraints": null,
31
+ "forced_bos_token_id": null,
32
+ "forced_eos_token_id": null,
33
+ "remove_invalid_values": false,
34
+ "exponential_decay_length_penalty": null,
35
+ "suppress_tokens": null,
36
+ "begin_suppress_tokens": null,
37
+ "forced_decoder_ids": null,
38
+ "sequence_bias": null,
39
+ "guidance_scale": null,
40
+ "transformers_version": "4.38.0"
41
+ }