apepkuss79
commited on
Commit
•
be42306
1
Parent(s):
ee37058
Upload config.json with huggingface_hub
Browse files- config.json +36 -0
config.json
ADDED
@@ -0,0 +1,36 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"architectures": [
|
3 |
+
"InternLM2ForCausalLM"
|
4 |
+
],
|
5 |
+
"attn_implementation": "eager",
|
6 |
+
"auto_map": {
|
7 |
+
"AutoConfig": "configuration_internlm2.InternLM2Config",
|
8 |
+
"AutoModel": "modeling_internlm2.InternLM2ForCausalLM",
|
9 |
+
"AutoModelForCausalLM": "modeling_internlm2.InternLM2ForCausalLM",
|
10 |
+
"AutoModelForSequenceClassification": "modeling_internlm2.InternLM2ForSequenceClassification"
|
11 |
+
},
|
12 |
+
"bias": false,
|
13 |
+
"bos_token_id": 1,
|
14 |
+
"eos_token_id": 2,
|
15 |
+
"hidden_act": "silu",
|
16 |
+
"hidden_size": 2048,
|
17 |
+
"initializer_range": 0.02,
|
18 |
+
"intermediate_size": 8192,
|
19 |
+
"max_position_embeddings": 32768,
|
20 |
+
"model_type": "internlm2",
|
21 |
+
"num_attention_heads": 16,
|
22 |
+
"num_hidden_layers": 24,
|
23 |
+
"num_key_value_heads": 8,
|
24 |
+
"pad_token_id": 2,
|
25 |
+
"rms_norm_eps": 1e-05,
|
26 |
+
"rope_scaling": {
|
27 |
+
"type": "dynamic",
|
28 |
+
"factor": 2.0
|
29 |
+
},
|
30 |
+
"rope_theta": 1000000,
|
31 |
+
"tie_word_embeddings": false,
|
32 |
+
"torch_dtype": "bfloat16",
|
33 |
+
"transformers_version": "4.41.0",
|
34 |
+
"use_cache": true,
|
35 |
+
"vocab_size": 92544
|
36 |
+
}
|