mgoin's picture
Updated compression_config to quantization_config
1c917fc verified
raw
history blame
1.76 kB
{
"_name_or_path": "/home/shashata/.cache/huggingface/hub/models--HuggingFaceTB--SmolLM-1.7B-Instruct/snapshots/69f49d9c36434d6a3f319dadc5bd3b812752b98b",
"architectures": [
"LlamaForCausalLM"
],
"attention_bias": false,
"attention_dropout": 0.0,
"bos_token_id": 1,
"eos_token_id": 2,
"hidden_act": "silu",
"hidden_size": 2048,
"initializer_range": 0.02,
"intermediate_size": 8192,
"max_position_embeddings": 2048,
"mlp_bias": false,
"model_type": "llama",
"num_attention_heads": 32,
"num_hidden_layers": 24,
"num_key_value_heads": 32,
"pad_token_id": 2,
"pretraining_tp": 1,
"rms_norm_eps": 1e-05,
"rope_scaling": null,
"rope_theta": 10000.0,
"tie_word_embeddings": true,
"torch_dtype": "float32",
"transformers_version": "4.43.4",
"use_cache": true,
"vocab_size": 49152,
"quantization_config": {
"config_groups": {
"group_0": {
"input_activations": null,
"output_activations": null,
"targets": [
"Linear"
],
"weights": {
"block_structure": null,
"dynamic": false,
"group_size": 64,
"num_bits": 4,
"observer": "minmax",
"observer_kwargs": {},
"strategy": "group",
"symmetric": true,
"type": "int"
}
}
},
"format": "pack-quantized",
"global_compression_ratio": 2.210720905879975,
"ignore": [
"lm_head"
],
"kv_cache_scheme": null,
"quant_method": "compressed-tensors",
"quantization_status": "frozen",
"sparsity_config": {
"format": "dense",
"global_sparsity": 13.012990367407104,
"registry_requires_subclass": false,
"sparsity_structure": "unstructured"
}
}
}