DachengZhang commited on
Commit
8319b96
1 Parent(s): 2ad8f46
Files changed (2) hide show
  1. config.json +1 -1
  2. generation_config.json +7 -0
config.json CHANGED
@@ -34,7 +34,7 @@
34
  "rope_theta": 10000.0,
35
  "tie_word_embeddings": false,
36
  "torch_dtype": "bfloat16",
37
- "transformers_version": "4.34.0",
38
  "use_cache": true,
39
  "vocab_size": 84608
40
  }
 
34
  "rope_theta": 10000.0,
35
  "tie_word_embeddings": false,
36
  "torch_dtype": "bfloat16",
37
+ "transformers_version": "4.36.2",
38
  "use_cache": true,
39
  "vocab_size": 84608
40
  }
generation_config.json CHANGED
@@ -2,5 +2,12 @@
2
  "_from_model_config": true,
3
  "bos_token_id": 1,
4
  "eos_token_id": 2,
 
 
 
 
 
 
 
5
  "transformers_version": "4.36.2"
6
  }
 
2
  "_from_model_config": true,
3
  "bos_token_id": 1,
4
  "eos_token_id": 2,
5
+ "pad_token_id": 0,
6
+ "max_new_tokens": 1024,
7
+ "temperature": 0.3,
8
+ "top_k": 5,
9
+ "top_p": 0.90,
10
+ "repetition_penalty": 1.05,
11
+ "do_sample": true,
12
  "transformers_version": "4.36.2"
13
  }