Upload config.json with huggingface_hub
Browse files- config.json +32 -0
config.json
ADDED
@@ -0,0 +1,32 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_from_model_config": true,
|
3 |
+
"_name_or_path": "",
|
4 |
+
"architectures": [
|
5 |
+
"BaichuanForCausalLM"
|
6 |
+
],
|
7 |
+
"auto_map": {
|
8 |
+
"AutoConfig": "configuration_baichuan.BaichuanConfig",
|
9 |
+
"AutoModel": "modeling_baichuan.BaichuanForCausalLM",
|
10 |
+
"AutoModelForCausalLM": "modeling_baichuan.BaichuanForCausalLM"
|
11 |
+
},
|
12 |
+
"bos_token_id": 1,
|
13 |
+
"eos_token_id": 2,
|
14 |
+
"hidden_act": "silu",
|
15 |
+
"hidden_size": 4096,
|
16 |
+
"initializer_range": 0.02,
|
17 |
+
"intermediate_size": 11008,
|
18 |
+
"max_position_embeddings": 4096,
|
19 |
+
"model_max_length": 4096,
|
20 |
+
"model_type": "baichuan",
|
21 |
+
"num_attention_heads": 32,
|
22 |
+
"num_hidden_layers": 32,
|
23 |
+
"pad_token_id": 0,
|
24 |
+
"rms_norm_eps": 1e-06,
|
25 |
+
"tie_word_embeddings": false,
|
26 |
+
"tokenizer_class": "BaichuanTokenizer",
|
27 |
+
"torch_dtype": "bfloat16",
|
28 |
+
"transformers_version": "4.33.2",
|
29 |
+
"use_cache": true,
|
30 |
+
"vocab_size": 125696,
|
31 |
+
"z_loss_weight": 0
|
32 |
+
}
|