File size: 7,502 Bytes
bb59c1d
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
{
    "model_name": "models--simaai--Phi-4-mini-instruct-Autoround-Safetensors",
    "model_type": "llm-phi3",
    "vm_cfg": null,
    "mm_cfg": null,
    "lm_cfg": {
        "model_type": "phi3",
        "data_type": "bfloat16",
        "arch": "phi",
        "token_cfg": {
            "vocab_size": 200064
        },
        "rope_cfg": {
            "rope_theta": 10000.0,
            "rope_local_base_freq": 10000.0,
            "rope_dimension_count": 96,
            "sliding_rope_dimension_count": null,
            "rope_scaling": {
                "factor": 1.0,
                "low_freq_factor": 0,
                "high_freq_factor": 0,
                "original_max_position_embeddings": 4096,
                "attention_factor": 1.190238118171692,
                "long_factor": [
                    1,
                    1.118320672,
                    1.250641126,
                    1.398617824,
                    1.564103225,
                    1.74916897,
                    1.956131817,
                    2.187582649,
                    2.446418898,
                    2.735880826,
                    3.059592084,
                    3.421605075,
                    3.826451687,
                    4.279200023,
                    4.785517845,
                    5.351743533,
                    5.984965424,
                    6.693110555,
                    7.485043894,
                    8.370679318,
                    9.36110372,
                    10.4687158,
                    11.70738129,
                    13.09260651,
                    14.64173252,
                    16.37415215,
                    18.31155283,
                    20.47818807,
                    22.90118105,
                    25.61086418,
                    28.64115884,
                    32.03,
                    32.1,
                    32.13,
                    32.23,
                    32.6,
                    32.61,
                    32.64,
                    32.66,
                    32.7,
                    32.71,
                    32.93,
                    32.97,
                    33.28,
                    33.49,
                    33.5,
                    44.16,
                    47.77
                ],
                "short_factor": [
                    1.0,
                    1.0,
                    1.0,
                    1.0,
                    1.0,
                    1.0,
                    1.0,
                    1.0,
                    1.0,
                    1.0,
                    1.0,
                    1.0,
                    1.0,
                    1.0,
                    1.0,
                    1.0,
                    1.0,
                    1.0,
                    1.0,
                    1.0,
                    1.0,
                    1.0,
                    1.0,
                    1.0,
                    1.0,
                    1.0,
                    1.0,
                    1.0,
                    1.0,
                    1.0,
                    1.0,
                    1.0,
                    1.0,
                    1.0,
                    1.0,
                    1.0,
                    1.0,
                    1.0,
                    1.0,
                    1.0,
                    1.0,
                    1.0,
                    1.0,
                    1.0,
                    1.0,
                    1.0,
                    1.0,
                    1.0
                ],
                "rope_type": "longrope",
                "mrope_section": null,
                "mrope_interleaved": false
            }
        },
        "attn_cfg": {
            "num_attention_heads": 24,
            "num_key_value_heads": 8,
            "head_dim": 128,
            "sliding_head_dim": null,
            "swa_enable": false,
            "sliding_window": 262144,
            "attention_bias": false,
            "attention_dropout": 0.0,
            "query_pre_attn_scalar": 0
        },
        "mlp_cfg": {
            "intermediate_size": 8192,
            "act": "silu",
            "num_layers": 3,
            "mlp_bias": false
        },
        "hidden_size": 3072,
        "num_hidden_layers": 32,
        "max_position_embeddings": 2048,
        "rms_norm_eps": 1e-05,
        "rms_norm_unit_offset": false,
        "layer_types": [
            "full_attention",
            "full_attention",
            "full_attention",
            "full_attention",
            "full_attention",
            "full_attention",
            "full_attention",
            "full_attention",
            "full_attention",
            "full_attention",
            "full_attention",
            "full_attention",
            "full_attention",
            "full_attention",
            "full_attention",
            "full_attention",
            "full_attention",
            "full_attention",
            "full_attention",
            "full_attention",
            "full_attention",
            "full_attention",
            "full_attention",
            "full_attention",
            "full_attention",
            "full_attention",
            "full_attention",
            "full_attention",
            "full_attention",
            "full_attention",
            "full_attention",
            "full_attention"
        ],
        "hidden_size_per_layer_input": 0,
        "num_kv_shared_layers": 0,
        "use_double_wide_mlp": false,
        "attn_logit_softcapping": null,
        "final_logit_softcapping": null,
        "lm_head_num_splits": 4,
        "lm_head_split_dim": 50016,
        "draft_vocab_size": 0,
        "conv_L_cache": 3,
        "conv_bias": false,
        "lora_cfg": null,
        "speculative_decoding_cfg": null
    },
    "pipeline_cfg": {
        "system_prompt": null,
        "chat_template": null,
        "max_num_tokens": 8192,
        "input_token_group_size": 128,
        "input_token_group_offsets": [
            0,
            128,
            256,
            384,
            512,
            640,
            768,
            896,
            1024,
            1152,
            1280,
            1408,
            1536,
            1664,
            1792,
            1920,
            2048,
            2176,
            2304,
            2432,
            2560,
            2688,
            2816,
            2944,
            3072,
            3200,
            3328,
            3456,
            3584,
            3712,
            3840,
            3968,
            4096,
            4224,
            4352,
            4480,
            4608,
            4736,
            4864,
            4992,
            5120,
            5248,
            5376,
            5504,
            5632,
            5760,
            5888,
            6016,
            6144,
            6272,
            6400,
            6528,
            6656,
            6784,
            6912,
            7040,
            7168,
            7296,
            7424,
            7552,
            7680,
            7808,
            7936,
            8064
        ],
        "future_token_mask_size": 128,
        "long_context_future_token_mask_size": 1024,
        "return_logits": false,
        "enable_filter_sharing": true,
        "quantize_embeddings": true,
        "quantize_kv_cache": true,
        "split_mlp": true
    },
    "language_model_name": "models--simaai--Phi-4-mini-instruct-Autoround-Safetensors_language"
}