|
{ |
|
"_name_or_path": "alexwww94/glm-4v-9b-gptq-4bit", |
|
"add_bias_linear": false, |
|
"add_qkv_bias": true, |
|
"apply_query_key_layer_scaling": true, |
|
"apply_residual_connection_post_layernorm": false, |
|
"architectures": [ |
|
"ChatGLMForConditionalGeneration" |
|
], |
|
"attention_dropout": 0.0, |
|
"attention_softmax_in_fp32": true, |
|
"auto_map": { |
|
"AutoConfig": "alexwww94/glm-4v-9b-gptq-4bit--configuration_chatglm.ChatGLMConfig", |
|
"AutoModel": "alexwww94/glm-4v-9b-gptq-4bit--modeling_chatglm.ChatGLMForConditionalGeneration", |
|
"AutoModelForCausalLM": "alexwww94/glm-4v-9b-gptq-4bit--modeling_chatglm.ChatGLMForConditionalGeneration", |
|
"AutoModelForSeq2SeqLM": "alexwww94/glm-4v-9b-gptq-4bit--modeling_chatglm.ChatGLMForConditionalGeneration", |
|
"AutoModelForSequenceClassification": "alexwww94/glm-4v-9b-gptq-4bit--modeling_chatglm.ChatGLMForSequenceClassification" |
|
}, |
|
"bias_dropout_fusion": true, |
|
"boi_token_id": 151339, |
|
"classifier_dropout": null, |
|
"eoi_token_id": 151340, |
|
"eos_token_id": [ |
|
151329, |
|
151336, |
|
151338 |
|
], |
|
"ffn_hidden_size": 13696, |
|
"fp32_residual_connection": false, |
|
"hidden_dropout": 0.0, |
|
"hidden_size": 4096, |
|
"kv_channels": 128, |
|
"layernorm_epsilon": 1.5625e-07, |
|
"model_type": "chatglm", |
|
"multi_query_attention": true, |
|
"multi_query_group_num": 2, |
|
"num_attention_heads": 32, |
|
"num_layers": 40, |
|
"original_rope": true, |
|
"pad_token_id": 151329, |
|
"padded_vocab_size": 151552, |
|
"post_layer_norm": true, |
|
"pre_seq_len": null, |
|
"prefix_projection": false, |
|
"quantization_config": { |
|
"batch_size": 1, |
|
"bits": 4, |
|
"block_name_to_quantize": "", |
|
"cache_block_outputs": true, |
|
"damp_percent": 0.01, |
|
"dataset": null, |
|
"desc_act": false, |
|
"exllama_config": { |
|
"version": 1 |
|
}, |
|
"group_size": 128, |
|
"max_input_length": null, |
|
"model_seqlen": null, |
|
"module_name_preceding_first_block": null, |
|
"modules_in_block_to_quantize": [ |
|
[ |
|
"self_attention.query_key_value", |
|
"self_attention.dense", |
|
"mlp.dense_h_to_4h", |
|
"mlp.dense_4h_to_h" |
|
], |
|
[ |
|
"attention.query_key_value", |
|
"attention.dense", |
|
"mlp.fc1", |
|
"mlp.fc2" |
|
], |
|
[ |
|
"linear_proj", |
|
"dense_h_to_4h", |
|
"gate_proj", |
|
"dense_4h_to_h" |
|
] |
|
], |
|
"pad_token_id": null, |
|
"quant_method": "gptq", |
|
"sym": true, |
|
"tokenizer": null, |
|
"true_sequential": true, |
|
"use_cuda_fp16": false, |
|
"use_exllama": false |
|
}, |
|
"rmsnorm": true, |
|
"rope_ratio": 1, |
|
"seq_length": 8192, |
|
"tie_word_embeddings": false, |
|
"torch_dtype": "float32", |
|
"transformers_version": "4.44.2", |
|
"use_cache": true, |
|
"vision_config": { |
|
"dropout_prob": 0.0, |
|
"hidden_act": "gelu", |
|
"hidden_size": 1792, |
|
"image_size": 1120, |
|
"in_channels": 3, |
|
"intermediate_size": 15360, |
|
"layer_norm_eps": 1e-06, |
|
"num_heads": 16, |
|
"num_hidden_layers": 63, |
|
"num_positions": 6401, |
|
"patch_size": 14, |
|
"scaling_factor": 8 |
|
}, |
|
"vocab_size": 151552 |
|
} |
|
|