duoqi commited on
Commit
371a476
1 Parent(s): 124da30

Upload config.json

Browse files
Files changed (1) hide show
  1. config.json +4 -12
config.json CHANGED
@@ -1,22 +1,16 @@
1
  {
2
  "architectures": [
3
- "NanbeigeForCausalLM"
4
  ],
5
- "auto_map": {
6
- "AutoConfig": "configuration_nanbeige.NanbeigeConfig",
7
- "AutoModelForCausalLM": "modeling_nanbeige.NanbeigeForCausalLM"
8
- },
9
- "attention_bias": false,
10
- "attention_dropout": 0.0,
11
  "bos_token_id": 1,
12
- "eos_token_id": 58979,
13
  "hidden_act": "silu",
14
  "hidden_size": 5120,
15
  "initializer_range": 0.02,
16
  "intermediate_size": 13824,
17
  "max_length": 4096,
18
  "max_position_embeddings": 4096,
19
- "model_type": "nanbeige",
20
  "num_attention_heads": 40,
21
  "num_hidden_layers": 48,
22
  "num_key_value_heads": 40,
@@ -24,11 +18,9 @@
24
  "pretraining_tp": 1,
25
  "rms_norm_eps": 1e-05,
26
  "rope_scaling": null,
27
- "rope_theta": 10000.0,
28
  "tie_word_embeddings": false,
29
  "torch_dtype": "bfloat16",
30
- "transformers_version": "4.38.0",
31
  "use_cache": true,
32
  "vocab_size": 59392
33
  }
34
-
 
1
  {
2
  "architectures": [
3
+ "LlamaForCausalLM"
4
  ],
 
 
 
 
 
 
5
  "bos_token_id": 1,
6
+ "eos_token_id": 2,
7
  "hidden_act": "silu",
8
  "hidden_size": 5120,
9
  "initializer_range": 0.02,
10
  "intermediate_size": 13824,
11
  "max_length": 4096,
12
  "max_position_embeddings": 4096,
13
+ "model_type": "llama",
14
  "num_attention_heads": 40,
15
  "num_hidden_layers": 48,
16
  "num_key_value_heads": 40,
 
18
  "pretraining_tp": 1,
19
  "rms_norm_eps": 1e-05,
20
  "rope_scaling": null,
 
21
  "tie_word_embeddings": false,
22
  "torch_dtype": "bfloat16",
23
+ "transformers_version": "4.28.1",
24
  "use_cache": true,
25
  "vocab_size": 59392
26
  }