{ "architectures": [ "Glm4MoeForCausalLM" ], "attention_bias": true, "attention_dropout": 0.0, "dtype": "bfloat16", "eos_token_id": [ 151329, 151336, 151338 ], "first_k_dense_replace": 1, "head_dim": 128, "hidden_act": "silu", "hidden_size": 4096, "initializer_range": 0.02, "intermediate_size": 11008, "max_position_embeddings": 131072, "model_type": "glm4_moe", "moe_intermediate_size": 1536, "n_group": 1, "n_routed_experts": 128, "n_shared_experts": 1, "norm_topk_prob": true, "num_attention_heads": 96, "num_experts_per_tok": 8, "num_hidden_layers": 46, "num_key_value_heads": 8, "num_nextn_predict_layers": 1, "pad_token_id": 151329, "partial_rotary_factor": 0.5, "quantization_config": { "bits": 8, "checkpoint_format": "gptq", "desc_act": false, "dynamic": { "-:.*eh_proj": {}, "-:.*enorm": {}, "-:.*hnorm": {}, "-:.*input_layernorm": {}, "-:.*mlp.down": {}, "-:.*mlp.gate": {}, "-:.*mlp.up": {}, "-:.*norm.weight": {}, "-:.*post_attention_layernorm": {}, "-:.*self_attn": {}, "-:.*shared_experts": {}, "-:.*shared_head": {}, "-:lm_head.weight": {}, "-:model.embed_tokens.weight": {} }, "group_size": 32, "lm_head": false, "meta": { "act_group_aware": true, "damp_auto_increment": 0.01, "damp_percent": 0.01, "mse": 0.0, "quantizer": [ "gptqmodel:5.0.0-dev0" ], "static_groups": false, "true_sequential": true, "uri": "https://github.com/modelcloud/gptqmodel", "v2": false, "v2_alpha": 0.25 }, "pack_dtype": "int32", "quant_method": "gptq", "sym": true }, "rms_norm_eps": 1e-05, "rope_scaling": null, "rope_theta": 1000000, "routed_scaling_factor": 1.0, "tie_word_embeddings": false, "topk_group": 1, "transformers_version": "4.57.1", "use_cache": true, "use_qk_norm": false, "vocab_size": 151552 }