Ensheng commited on
Commit
7a7b897
1 Parent(s): ffbeecd

update all config

Browse files
Files changed (3) hide show
  1. config.json +19 -1
  2. generation_config.json +8 -1
  3. tokenizer_config.json +8 -1
config.json CHANGED
@@ -1 +1,19 @@
1
- {"architectures": ["LLaMAForCausalLM"], "bos_token_id": 0, "eos_token_id": 1, "hidden_act": "silu", "hidden_size": 8192, "intermediate_size": 22016, "initializer_range": 0.02, "max_sequence_length": 2048, "model_type": "llama", "num_attention_heads": 64, "num_hidden_layers": 80, "pad_token_id": -1, "rms_norm_eps": 1e-05, "torch_dtype": "float16", "transformers_version": "4.27.0.dev0", "use_cache": true, "vocab_size": 32000}
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": ["LLaMAForCausalLM"],
3
+ "bos_token_id": 1,
4
+ "eos_token_id": 2,
5
+ "hidden_act": "silu",
6
+ "hidden_size": 8192,
7
+ "intermediate_size": 22016,
8
+ "initializer_range": 0.02,
9
+ "max_sequence_length": 2048,
10
+ "model_type": "llama",
11
+ "num_attention_heads": 64,
12
+ "num_hidden_layers": 80,
13
+ "pad_token_id": 0,
14
+ "rms_norm_eps": 1e-05,
15
+ "torch_dtype": "float16",
16
+ "transformers_version": "4.28.0.dev0",
17
+ "use_cache": true,
18
+ "vocab_size": 32000
19
+ }
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
+ }