File size: 4,532 Bytes
998c768 | 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 | {
"_name_or_path": "meta-llama/Llama-3.2-1B",
"architectures": [
"LlamaForCausalLM"
],
"attention_bias": false,
"attention_dropout": 0.0,
"bos_token_id": 128000,
"eos_token_id": 128001,
"head_dim": 64,
"hidden_act": "silu",
"hidden_size": 2048,
"initializer_range": 0.02,
"intermediate_size": 8192,
"max_position_embeddings": 131072,
"mlp_bias": false,
"model_type": "llama",
"num_attention_heads": 32,
"num_hidden_layers": 16,
"num_key_value_heads": 8,
"pretraining_tp": 1,
"quantization_config": {
"config_groups": {
"group_0": {
"input_activations": null,
"output_activations": null,
"targets": [
"Linear"
],
"weights": {
"actorder": null,
"block_structure": null,
"dynamic": false,
"group_size": 128,
"num_bits": 4,
"observer": "minmax",
"observer_kwargs": {},
"strategy": "group",
"symmetric": true,
"type": "int"
}
}
},
"format": "pack-quantized",
"global_compression_ratio": 2.049489732929017,
"ignore": [
"lm_head"
],
"kv_cache_scheme": null,
"quant_method": "compressed-tensors",
"quantization_status": "compressed",
"transforms_config": {
"transform_groups": {
"u_transform_gate_up_proj": {
"global_transform": false,
"groups": [
{
"call_args": {},
"ignore": [],
"module_targets": [
"weight"
],
"targets": [
"re:.*.mlp.gate_proj$",
"re:.*.mlp.up_proj$"
]
}
],
"transform_creation_args": {
"size": 8192
},
"transform_type": "random-hadamard"
},
"u_transform_k_v_proj": {
"global_transform": false,
"groups": [
{
"call_args": {},
"ignore": [],
"module_targets": [
"weight"
],
"targets": [
"re:.*.attn.k_proj$",
"re:.*.attn.v_proj$"
]
}
],
"transform_creation_args": {
"size": 512
},
"transform_type": "random-hadamard"
},
"u_transform_q_o_down_proj": {
"global_transform": false,
"groups": [
{
"call_args": {},
"ignore": [],
"module_targets": [
"weight"
],
"targets": [
"re:.*.attn.q_proj$",
"re:.*.attn.o_proj$",
"re:.*.mlp.down_proj$"
]
}
],
"transform_creation_args": {
"size": 2048
},
"transform_type": "random-hadamard"
},
"v_transform_down_proj": {
"global_transform": false,
"groups": [
{
"call_args": {
"first": false,
"transpose": true
},
"ignore": [],
"module_targets": [
"weight"
],
"targets": [
"re:.*.mlp.down_proj$"
]
}
],
"transform_creation_args": {
"size": 8192
},
"transform_type": "random-hadamard"
},
"v_transform_linear": {
"global_transform": false,
"groups": [
{
"call_args": {
"first": false,
"transpose": true
},
"ignore": [
"re:.*.mlp.down_proj$",
"lm_head"
],
"module_targets": [
"weight"
],
"targets": [
"Linear"
]
}
],
"transform_creation_args": {
"size": 2048
},
"transform_type": "random-hadamard"
}
}
}
},
"rms_norm_eps": 1e-05,
"rope_scaling": {
"factor": 32.0,
"high_freq_factor": 4.0,
"low_freq_factor": 1.0,
"original_max_position_embeddings": 8192,
"rope_type": "llama3"
},
"rope_theta": 500000.0,
"tie_word_embeddings": true,
"torch_dtype": "bfloat16",
"transformers_version": "4.49.0",
"use_cache": true,
"vocab_size": 128256
} |