doandung commited on
Commit
ab728f4
·
verified ·
1 Parent(s): 44f3bb1

Upload inference/config.json with huggingface_hub

Browse files
Files changed (1) hide show
  1. inference/config.json +98 -0
inference/config.json ADDED
@@ -0,0 +1,98 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "vocab_size": 129280,
3
+ "dim": 7168,
4
+ "moe_inter_dim": 3072,
5
+ "n_layers": 61,
6
+ "n_hash_layers": 3,
7
+ "n_heads": 128,
8
+ "n_routed_experts": 128,
9
+ "n_shared_experts": 1,
10
+ "n_activated_experts": 6,
11
+ "score_func": "sqrtsoftplus",
12
+ "route_scale": 2.5,
13
+ "swiglu_limit": 10.0,
14
+ "q_lora_rank": 1536,
15
+ "head_dim": 512,
16
+ "rope_head_dim": 64,
17
+ "o_groups": 16,
18
+ "o_lora_rank": 1024,
19
+ "window_size": 128,
20
+ "original_seq_len": 65536,
21
+ "rope_theta": 10000,
22
+ "rope_factor": 16,
23
+ "beta_fast": 32,
24
+ "beta_slow": 1,
25
+ "index_n_heads": 64,
26
+ "index_head_dim": 128,
27
+ "index_topk": 1024,
28
+ "hc_mult": 4,
29
+ "hc_sinkhorn_iters": 20,
30
+ "dtype": "fp8",
31
+ "scale_fmt": "ue8m0",
32
+ "expert_dtype": "fp4",
33
+ "compress_rope_theta": 160000,
34
+ "compress_ratios": [
35
+ 128,
36
+ 128,
37
+ 4,
38
+ 128,
39
+ 4,
40
+ 128,
41
+ 4,
42
+ 128,
43
+ 4,
44
+ 128,
45
+ 4,
46
+ 128,
47
+ 4,
48
+ 128,
49
+ 4,
50
+ 128,
51
+ 4,
52
+ 128,
53
+ 4,
54
+ 128,
55
+ 4,
56
+ 128,
57
+ 4,
58
+ 128,
59
+ 4,
60
+ 128,
61
+ 4,
62
+ 128,
63
+ 4,
64
+ 128,
65
+ 4,
66
+ 128,
67
+ 4,
68
+ 128,
69
+ 4,
70
+ 128,
71
+ 4,
72
+ 128,
73
+ 4,
74
+ 128,
75
+ 4,
76
+ 128,
77
+ 4,
78
+ 128,
79
+ 4,
80
+ 128,
81
+ 4,
82
+ 128,
83
+ 4,
84
+ 128,
85
+ 4,
86
+ 128,
87
+ 4,
88
+ 128,
89
+ 4,
90
+ 128,
91
+ 4,
92
+ 128,
93
+ 4,
94
+ 128,
95
+ 4,
96
+ 0
97
+ ]
98
+ }