Tongjilibo commited on
Commit
52c729a
·
1 Parent(s): 20d2066

internlm3-8b-instruct

Browse files
internlm/internlm3-8b-instruct/bert4torch_config.json ADDED
@@ -0,0 +1,33 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "model": "llama",
3
+ "template": "apply_chat_template",
4
+ "bias": false,
5
+ "bos_token_id": 1,
6
+ "eos_token_id": 2,
7
+ "pad_token_id": 2,
8
+ "hidden_act": "silu",
9
+ "hidden_size": 4096,
10
+ "initializer_range": 0.02,
11
+ "intermediate_size": 10240,
12
+ "max_position_embeddings": 32768,
13
+ "num_attention_heads": 32,
14
+ "num_hidden_layers": 48,
15
+ "num_key_value_heads": 2,
16
+ "layer_norm_eps": 1e-05,
17
+ "rope_scaling": {
18
+ "type": "dynamic",
19
+ "factor": 6.0
20
+ },
21
+ "rope_theta": 50000000,
22
+ "tie_word_embeddings": false,
23
+ "torch_dtype": "bfloat16",
24
+ "vocab_size": 128512,
25
+ "segment_vocab_size": 0,
26
+ "skip_init": true,
27
+ "rope_rank": "updown",
28
+ "generation_config": {
29
+ "tokenizer_config": {"skip_special_tokens": true, "add_special_tokens": false},
30
+ "eos_token_id": [2, 128131],
31
+ "max_length": 32768
32
+ }
33
+ }