sfang32 commited on
Commit
c400022
·
verified ·
1 Parent(s): c7394e8

add:intern_study_L0_4

Browse files
Files changed (3) hide show
  1. README.md +3 -0
  2. config.json +32 -0
  3. configuration.json +1 -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,32 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": 2048,
16
+ "initializer_range": 0.02,
17
+ "intermediate_size": 8192,
18
+ "max_position_embeddings": 32768,
19
+ "model_type": "internlm2",
20
+ "num_attention_heads": 16,
21
+ "num_hidden_layers": 24,
22
+ "num_key_value_heads": 8,
23
+ "pad_token_id": 2,
24
+ "rms_norm_eps": 1e-05,
25
+ "rope_scaling": null,
26
+ "rope_theta": 1000000,
27
+ "tie_word_embeddings": false,
28
+ "torch_dtype": "bfloat16",
29
+ "transformers_version": "4.37.1",
30
+ "use_cache": true,
31
+ "vocab_size": 92544
32
+ }
configuration.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"framework":"Pytorch","task":"text-generation"}