File size: 7,195 Bytes
5a393d8 |
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 |
{
"_name_or_path": "/root/.cache/huggingface/hub/models--microsoft--Phi-3.5-MoE-instruct/snapshots/ae6cb90aceffd86d1e3fba55c59ec62dfc88d4a1",
"architectures": [
"PhiMoEForCausalLM"
],
"attention_bias": true,
"attention_dropout": 0.0,
"auto_map": {
"AutoConfig": "configuration_phimoe.PhiMoEConfig",
"AutoModelForCausalLM": "modeling_phimoe.PhiMoEForCausalLM"
},
"bos_token_id": 1,
"compression_config": {
"config_groups": {
"group_0": {
"input_activations": {
"actorder": null,
"block_structure": null,
"dynamic": false,
"group_size": null,
"num_bits": 8,
"observer": "minmax",
"observer_kwargs": {},
"strategy": "tensor",
"symmetric": true,
"type": "float"
},
"output_activations": null,
"targets": [
"Linear"
],
"weights": {
"actorder": null,
"block_structure": null,
"dynamic": false,
"group_size": null,
"num_bits": 8,
"observer": "minmax",
"observer_kwargs": {},
"strategy": "tensor",
"symmetric": true,
"type": "float"
}
}
},
"format": "float-quantized",
"global_compression_ratio": 1.56406776155077,
"ignore": [
"model.layers.0.block_sparse_moe.gate",
"model.layers.1.block_sparse_moe.gate",
"model.layers.2.block_sparse_moe.gate",
"model.layers.3.block_sparse_moe.gate",
"model.layers.4.block_sparse_moe.gate",
"model.layers.5.block_sparse_moe.gate",
"model.layers.6.block_sparse_moe.gate",
"model.layers.7.block_sparse_moe.gate",
"model.layers.8.block_sparse_moe.gate",
"model.layers.9.block_sparse_moe.gate",
"model.layers.10.block_sparse_moe.gate",
"model.layers.11.block_sparse_moe.gate",
"model.layers.12.block_sparse_moe.gate",
"model.layers.13.block_sparse_moe.gate",
"model.layers.14.block_sparse_moe.gate",
"model.layers.15.block_sparse_moe.gate",
"model.layers.16.block_sparse_moe.gate",
"model.layers.17.block_sparse_moe.gate",
"model.layers.18.block_sparse_moe.gate",
"model.layers.19.block_sparse_moe.gate",
"model.layers.20.block_sparse_moe.gate",
"model.layers.21.block_sparse_moe.gate",
"model.layers.22.block_sparse_moe.gate",
"model.layers.23.block_sparse_moe.gate",
"model.layers.24.block_sparse_moe.gate",
"model.layers.25.block_sparse_moe.gate",
"model.layers.26.block_sparse_moe.gate",
"model.layers.27.block_sparse_moe.gate",
"model.layers.28.block_sparse_moe.gate",
"model.layers.29.block_sparse_moe.gate",
"model.layers.30.block_sparse_moe.gate",
"model.layers.31.block_sparse_moe.gate",
"lm_head"
],
"kv_cache_scheme": null,
"quant_method": "compressed-tensors",
"quantization_status": "compressed"
},
"eos_token_id": 32000,
"hidden_act": "silu",
"hidden_dropout": 0.0,
"hidden_size": 4096,
"initializer_range": 0.02,
"input_jitter_noise": 0.01,
"intermediate_size": 6400,
"lm_head_bias": true,
"max_position_embeddings": 131072,
"model_type": "phimoe",
"num_attention_heads": 32,
"num_experts_per_tok": 2,
"num_hidden_layers": 32,
"num_key_value_heads": 8,
"num_local_experts": 16,
"original_max_position_embeddings": 4096,
"output_router_logits": false,
"rms_norm_eps": 1e-05,
"rope_scaling": {
"long_factor": [
1.0199999809265137,
1.0299999713897705,
1.0399999618530273,
1.0499999523162842,
1.0499999523162842,
1.0499999523162842,
1.059999942779541,
1.059999942779541,
1.059999942779541,
1.059999942779541,
1.059999942779541,
1.059999942779541,
1.0999999046325684,
1.1799999475479126,
1.1799999475479126,
1.3700000047683716,
1.4899998903274536,
2.109999895095825,
2.8899998664855957,
3.9499998092651367,
4.299999713897705,
6.429999828338623,
8.09000015258789,
10.690000534057617,
12.050000190734863,
18.229999542236328,
18.84000015258789,
19.899999618530273,
21.420000076293945,
26.200000762939453,
34.28000259399414,
34.590003967285156,
38.730003356933594,
40.22000503540039,
42.54000473022461,
44.000003814697266,
47.590003967285156,
54.750003814697266,
56.19000244140625,
57.44000244140625,
57.4900016784668,
61.20000076293945,
61.540000915527344,
61.75,
61.779998779296875,
62.06999969482422,
63.11000061035156,
63.43000030517578,
63.560001373291016,
63.71000289916992,
63.92000198364258,
63.94000244140625,
63.94000244140625,
63.96000289916992,
63.980003356933594,
64.0300064086914,
64.0300064086914,
64.0300064086914,
64.04000854492188,
64.10000610351562,
64.19000244140625,
64.20999908447266,
64.75,
64.95999908447266
],
"long_mscale": 1.243163121016122,
"original_max_position_embeddings": 4096,
"short_factor": [
1.0,
1.0399999618530273,
1.0399999618530273,
1.0399999618530273,
1.0499999523162842,
1.0499999523162842,
1.0499999523162842,
1.0499999523162842,
1.0499999523162842,
1.0499999523162842,
1.0499999523162842,
1.0499999523162842,
1.0499999523162842,
1.0499999523162842,
1.059999942779541,
1.059999942779541,
1.0699999332427979,
1.0699999332427979,
1.0699999332427979,
1.0699999332427979,
1.1399999856948853,
1.159999966621399,
1.159999966621399,
1.159999966621399,
1.159999966621399,
1.1799999475479126,
1.1999999284744263,
1.3199999332427979,
1.3399999141693115,
1.3499999046325684,
1.3999998569488525,
1.4799998998641968,
1.4999998807907104,
1.589999794960022,
1.6499998569488525,
1.71999990940094,
1.8999998569488525,
1.9099998474121094,
1.9099998474121094,
1.9899998903274536,
1.9999998807907104,
1.9999998807907104,
2.009999990463257,
2.009999990463257,
2.009999990463257,
2.009999990463257,
2.009999990463257,
2.009999990463257,
2.009999990463257,
2.009999990463257,
2.009999990463257,
2.009999990463257,
2.009999990463257,
2.009999990463257,
2.009999990463257,
2.009999990463257,
2.009999990463257,
2.009999990463257,
2.009999990463257,
2.0999999046325684,
2.319999933242798,
2.419999837875366,
2.5899999141693115,
2.7899999618530273
],
"short_mscale": 1.243163121016122,
"type": "longrope"
},
"rope_theta": 10000.0,
"router_aux_loss_coef": 0.0,
"router_jitter_noise": 0.01,
"sliding_window": 131072,
"tie_word_embeddings": false,
"torch_dtype": "bfloat16",
"transformers_version": "4.44.2",
"use_cache": true,
"vocab_size": 32064
} |