thehekimoghlu commited on
Commit
fdea58f
·
verified ·
1 Parent(s): 4a00176

Upload config.json with huggingface_hub

Browse files
Files changed (1) hide show
  1. config.json +37 -50
config.json CHANGED
@@ -1,52 +1,39 @@
1
  {
2
- "architectures": [
3
- "OpenModelAdvanced"
4
- ],
5
- "attention_dropout": 0.0,
6
- "auto_map": {
7
- "AutoConfig": "configuration.OpenModelConfig",
8
- "AutoModel": "modeling.OpenModelModel",
9
- "AutoModelForCausalLM": "modeling.OpenModelForCausalLM"
10
- },
11
- "num_hidden_layers": 80,
12
- "hidden_size": 8192,
13
- "intermediate_size": 18432,
14
- "eos_token_id": 156892,
15
- "pad_token_id": 156892,
16
- "first_k_dense_replace": 4,
17
- "hidden_act": "silu",
18
- "max_position_embeddings": 32768,
19
- "model_type": "openmodel",
20
- "moe_intermediate_size": 2048,
21
- "norm_topk_prob": true,
22
- "num_experts_per_tok": 8,
23
- "num_attention_heads": 64,
24
- "norm_head": false,
25
- "num_experts": 256,
26
- "num_key_value_heads": 8,
27
- "rope_theta": 600000,
28
- "rope_scaling": null,
29
- "tie_word_embeddings": false,
30
- "torch_dtype": "bfloat16",
31
- "transformers_version": "4.52.3",
32
- "use_bias": false,
33
- "use_rmsnorm": true,
34
- "rms_norm_eps": 1e-06,
35
- "head_dim": 128,
36
- "num_shared_experts": 1,
37
- "use_cache": true,
38
- "use_qkv_bias": false,
39
- "embedding_dropout": 0.0,
40
- "norm_softmax": false,
41
- "output_dropout": 0.0,
42
- "vocab_size": 157184,
43
- "rotary_dim": 64,
44
- "using_split_qkv_in_self_attention": false,
45
- "router_dtype": "fp32",
46
- "moe_router_enable_expert_bias": true,
47
- "routed_scaling_factor": 2.5,
48
- "n_group": 8,
49
- "topk_group": 4,
50
- "use_qk_norm": true,
51
- "score_function": "sigmoid"
52
  }
 
1
  {
2
+ "_name_or_path": "mlabonne/BigLlama-3.1-681B-Instruct",
3
+ "architectures": [
4
+ "LlamaForCausalLM"
5
+ ],
6
+ "attention_bias": false,
7
+ "attention_dropout": 0.0,
8
+ "bos_token_id": 128000,
9
+ "eos_token_id": [
10
+ 128001,
11
+ 128008,
12
+ 128009
13
+ ],
14
+ "hidden_act": "silu",
15
+ "hidden_size": 16384,
16
+ "initializer_range": 0.02,
17
+ "intermediate_size": 53248,
18
+ "max_position_embeddings": 131072,
19
+ "mlp_bias": false,
20
+ "model_type": "llama",
21
+ "num_attention_heads": 128,
22
+ "num_hidden_layers": 315,
23
+ "num_key_value_heads": 16,
24
+ "pretraining_tp": 1,
25
+ "rms_norm_eps": 1e-05,
26
+ "rope_scaling": {
27
+ "factor": 8.0,
28
+ "high_freq_factor": 4.0,
29
+ "low_freq_factor": 1.0,
30
+ "original_max_position_embeddings": 8192,
31
+ "rope_type": "llama3"
32
+ },
33
+ "rope_theta": 500000.0,
34
+ "tie_word_embeddings": false,
35
+ "torch_dtype": "bfloat16",
36
+ "transformers_version": "4.44.0",
37
+ "use_cache": true,
38
+ "vocab_size": 128256
 
 
 
 
 
 
 
 
 
 
 
 
 
39
  }