Ensheng commited on
Commit
b98b5ea
1 Parent(s): 6b5cf4d

update all config

Browse files
Files changed (3) hide show
  1. config.json +21 -1
  2. generation_config.json +8 -1
  3. tokenizer_config.json +8 -1
config.json CHANGED
@@ -1 +1,21 @@
1
- {"architectures": ["LLaMAForCausalLM"], "bos_token_id": 0, "eos_token_id": 1, "hidden_act": "silu", "hidden_size": 4096, "intermediate_size": 11008, "initializer_range": 0.02, "max_sequence_length": 2048, "model_type": "llama", "num_attention_heads": 32, "num_hidden_layers": 32, "pad_token_id": -1, "rms_norm_eps": 1e-06, "torch_dtype": "float16", "transformers_version": "4.27.0.dev0", "use_cache": true, "vocab_size": 32000}
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "LlamaForCausalLM"
4
+ ],
5
+ "bos_token_id": 1,
6
+ "eos_token_id": 2,
7
+ "hidden_act": "silu",
8
+ "hidden_size": 4096,
9
+ "initializer_range": 0.02,
10
+ "intermediate_size": 11008,
11
+ "model_type": "llama",
12
+ "num_attention_heads": 32,
13
+ "num_hidden_layers": 32,
14
+ "pad_token_id": 0,
15
+ "rms_norm_eps": 1e-06,
16
+ "tie_word_embeddings": false,
17
+ "torch_dtype": "float16",
18
+ "transformers_version": "4.28.0.dev0",
19
+ "use_cache": true,
20
+ "vocab_size": 32000
21
+ }
generation_config.json CHANGED
@@ -1 +1,8 @@
1
- {"_from_model_config": true, "bos_token_id": 0, "eos_token_id": 1, "pad_token_id": 0, "transformers_version": "4.27.0.dev0"}
 
 
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "bos_token_id": 1,
4
+ "eos_token_id": 2,
5
+ "pad_token_id": 0,
6
+ "transformers_version": "4.28.0.dev0"
7
+ }
8
+
tokenizer_config.json CHANGED
@@ -1 +1,8 @@
1
- {"bos_token": "", "eos_token": "", "model_max_length": 1000000000000000019884624838656, "tokenizer_class": "LLaMATokenizer", "unk_token": ""}
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token": "<s>",
3
+ "clean_up_tokenization_spaces": false,
4
+ "eos_token": "</s>",
5
+ "model_max_length": 1000000000000000019884624838656,
6
+ "tokenizer_class": "LlamaTokenizer",
7
+ "unk_token": "<unk>"
8
+ }