File size: 3,082 Bytes
2cb2bdc
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
{
  "architectures": [
    "FlintForCausalLM"
  ],
  "attention_bias": false,
  "attention_dropout": 0.0,
  "attention_sink": true,
  "bos_token_id": 150000,
  "decoder_sparse_step": 1,
  "dtype": "bfloat16",
  "eos_token_id": [
    150001,
    150003,
    150005,
    150018
  ],
  "head_dim": 128,
  "hidden_act": "silu",
  "hidden_size": 2048,
  "intermediate_size": 6144,
  "kv_group_size": 64,
  "kv_key_bits": 8,
  "kv_value_bits": 8,
  "layer_types": [
    "full_attention",
    "full_attention",
    "sliding_attention",
    "sliding_attention",
    "sliding_attention",
    "full_attention",
    "sliding_attention",
    "sliding_attention",
    "sliding_attention",
    "full_attention",
    "sliding_attention",
    "sliding_attention",
    "sliding_attention",
    "full_attention",
    "sliding_attention",
    "sliding_attention",
    "sliding_attention",
    "full_attention",
    "sliding_attention",
    "sliding_attention",
    "sliding_attention",
    "full_attention",
    "sliding_attention",
    "sliding_attention",
    "sliding_attention",
    "full_attention",
    "sliding_attention",
    "sliding_attention",
    "sliding_attention",
    "full_attention",
    "sliding_attention",
    "sliding_attention",
    "sliding_attention",
    "full_attention",
    "sliding_attention",
    "sliding_attention",
    "sliding_attention",
    "full_attention",
    "sliding_attention",
    "sliding_attention",
    "sliding_attention",
    "full_attention",
    "sliding_attention",
    "sliding_attention",
    "sliding_attention",
    "full_attention",
    "sliding_attention",
    "sliding_attention",
    "full_attention"
  ],
  "max_position_embeddings": 262144,
  "mlp_only_layers": [
    0,
    1
  ],
  "mlx_export": {
    "bits": 4,
    "embedding_bits": 8,
    "full_attention_layers": [
      0,
      1,
      5,
      9,
      13,
      17,
      21,
      25,
      29,
      33,
      37,
      41,
      45,
      48
    ],
    "routed_expert_bits": 4,
    "scale_rule": "mse"
  },
  "model_type": "flint",
  "moe_intermediate_size": 512,
  "no_rope_layer_indices": [
    0,
    1,
    5,
    9,
    13,
    17,
    21,
    25,
    29,
    33,
    37,
    41,
    45,
    48
  ],
  "norm_topk_prob": true,
  "num_attention_heads": 32,
  "num_experts": 256,
  "num_experts_per_tok": 6,
  "num_hidden_layers": 49,
  "num_key_value_heads": 4,
  "num_local_experts": 256,
  "output_router_logits": false,
  "quantization": {
    "bits": 4,
    "group_size": 64
  },
  "rms_norm_eps": 1e-06,
  "rope_parameters": {
    "rope_theta": 10000.0,
    "rope_type": "default"
  },
  "rope_theta": 10000.0,
  "router_aux_loss_coef": 0.0,
  "router_expert_bias": false,
  "scoring_func": "sigmoid",
  "shared_expert_intermediate_size": 1024,
  "sliding_window": 513,
  "softmax_type": "learnable",
  "softmax_type_source": "model.attention_pattern.softmax_type",
  "tie_word_embeddings": false,
  "use_cache": true,
  "use_sliding_window": true,
  "vocab_size": 150144,
  "router_score_function": "sigmoid",
  "torch_dtype": "bfloat16",
  "pad_token_id": 150001
}