Maki Nishikino
commited on
Commit
•
ad4b543
1
Parent(s):
7a94558
add:intern_study_L0_4
Browse files- README.md +3 -0
- config.json +35 -0
README.md
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
# 书生浦语大模型实战营camp4
|
2 |
+
- hugging face模型上传测试
|
3 |
+
- 更多内容请访问 https://github.com/InternLM/Tutorial/tree/camp4
|
config.json
ADDED
@@ -0,0 +1,35 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"architectures": [
|
3 |
+
"InternLM2ForCausalLM"
|
4 |
+
],
|
5 |
+
"attn_implementation": "eager",
|
6 |
+
"auto_map": {
|
7 |
+
"AutoConfig": "configuration_internlm2.InternLM2Config",
|
8 |
+
"AutoModelForCausalLM": "modeling_internlm2.InternLM2ForCausalLM",
|
9 |
+
"AutoModel": "modeling_internlm2.InternLM2ForCausalLM"
|
10 |
+
},
|
11 |
+
"bias": false,
|
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": 14336,
|
18 |
+
"max_position_embeddings": 262144,
|
19 |
+
"model_type": "internlm2",
|
20 |
+
"num_attention_heads": 32,
|
21 |
+
"num_hidden_layers": 32,
|
22 |
+
"num_key_value_heads": 8,
|
23 |
+
"pad_token_id": 2,
|
24 |
+
"rms_norm_eps": 1e-05,
|
25 |
+
"rope_scaling": {
|
26 |
+
"factor": 2.0,
|
27 |
+
"type": "dynamic"
|
28 |
+
},
|
29 |
+
"rope_theta": 50000000,
|
30 |
+
"tie_word_embeddings": false,
|
31 |
+
"torch_dtype": "bfloat16",
|
32 |
+
"transformers_version": "4.41.0",
|
33 |
+
"use_cache": true,
|
34 |
+
"vocab_size": 92544
|
35 |
+
}
|