初始化项目,由ModelHub XC社区提供模型
Model: positron-ai/microsoft_phi-4-ingest-best-gptq Source: Original Platform
This commit is contained in:
81
config.json
Normal file
81
config.json
Normal file
@@ -0,0 +1,81 @@
|
||||
{
|
||||
"architectures": [
|
||||
"Phi3ForCausalLM"
|
||||
],
|
||||
"attention_bias": false,
|
||||
"attention_dropout": 0.0,
|
||||
"bos_token_id": 100257,
|
||||
"embd_pdrop": 0.0,
|
||||
"eos_token_id": 100265,
|
||||
"hidden_act": "silu",
|
||||
"hidden_size": 5120,
|
||||
"initializer_range": 0.02,
|
||||
"intermediate_size": 17920,
|
||||
"max_position_embeddings": 16384,
|
||||
"model_type": "phi3",
|
||||
"num_attention_heads": 40,
|
||||
"num_hidden_layers": 40,
|
||||
"num_key_value_heads": 10,
|
||||
"original_max_position_embeddings": 16384,
|
||||
"pad_token_id": 100349,
|
||||
"partial_rotary_factor": 1.0,
|
||||
"quantization_config": {
|
||||
"bits": 4,
|
||||
"checkpoint_format": "gptq",
|
||||
"desc_act": false,
|
||||
"format": "gptq",
|
||||
"group_size": 64,
|
||||
"lm_head": false,
|
||||
"meta": {
|
||||
"act_group_aware": true,
|
||||
"auto_forward_data_parallel": false,
|
||||
"damp_auto_increment": 0.01,
|
||||
"damp_percent": 0.05,
|
||||
"emit_timing_v2": true,
|
||||
"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": false,
|
||||
"offload_to_disk_path": null,
|
||||
"pack_impl": "cpu",
|
||||
"quantizer": [
|
||||
"gptqmodel:5.8.0"
|
||||
],
|
||||
"scales_dtype": "bfloat16",
|
||||
"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.0,
|
||||
"rms_norm_eps": 1e-05,
|
||||
"rope_parameters": {
|
||||
"partial_rotary_factor": 1.0,
|
||||
"rope_theta": 250000,
|
||||
"rope_type": "default"
|
||||
},
|
||||
"rope_theta": 250000,
|
||||
"sliding_window": null,
|
||||
"tie_word_embeddings": false,
|
||||
"transformers_version": "4.57.6",
|
||||
"use_cache": true,
|
||||
"vocab_size": 100352,
|
||||
"head_dim": 128,
|
||||
"torch_dtype": "bfloat16"
|
||||
}
|
||||
Reference in New Issue
Block a user