phi-2-gptq-4bit / config.json
Crusadersk's picture
Self-quantized phi-2-gptq 4-bit (group_size=128, seed=42)
4d7ab2b verified
Raw
History Blame Contribute Delete
1.89 kB
{
"architectures": [
"PhiForCausalLM"
],
"attention_dropout": 0.0,
"bos_token_id": 50256,
"dtype": "float16",
"embd_pdrop": 0.0,
"eos_token_id": 50256,
"hidden_act": "gelu_new",
"hidden_size": 2560,
"initializer_range": 0.02,
"intermediate_size": 10240,
"layer_norm_eps": 1e-05,
"max_position_embeddings": 2048,
"model_type": "phi",
"num_attention_heads": 32,
"num_hidden_layers": 32,
"num_key_value_heads": 32,
"pad_token_id": 50256,
"partial_rotary_factor": 0.4,
"qk_layernorm": false,
"quantization_config": {
"bits": 4,
"checkpoint_format": "gptq",
"desc_act": false,
"format": "gptq",
"group_size": 128,
"lm_head": false,
"meta": {
"act_group_aware": true,
"auto_forward_data_parallel": true,
"damp_auto_increment": 0.01,
"damp_percent": 0.05,
"failsafe": {
"smooth": null,
"strategy": "rtn",
"threshold": "0.5%"
},
"gc_mode": "interval",
"gptaq": null,
"hessian": {
"chunk_bytes": null,
"chunk_size": null,
"staging_dtype": "float32"
},
"mock_quantization": false,
"mse": 0.0,
"offload_to_disk": true,
"offload_to_disk_path": "./gptqmodel_offload/bxitqbrw-vnczleuk/",
"pack_impl": "cpu",
"quantizer": [
"gptqmodel:5.8.0"
],
"static_groups": false,
"true_sequential": true,
"uri": "https://github.com/modelcloud/gptqmodel",
"vram_strategy": "exclusive",
"wait_for_submodule_finalizers": false
},
"pack_dtype": "int32",
"quant_method": "gptq",
"sym": true
},
"resid_pdrop": 0.1,
"rope_parameters": {
"partial_rotary_factor": 0.4,
"rope_theta": 10000.0,
"rope_type": "default"
},
"tie_word_embeddings": false,
"transformers_version": "5.4.0",
"use_cache": true,
"vocab_size": 51200
}