Run this model with HF Jobs

Run GadflyII/GLM-4.7-Flash-MXFP4 on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.

Paste one of these prompts into your coding agent:

Fine-tune on my dataset

Use HF Jobs and TRL to fine-tune https://huggingface.co/GadflyII/GLM-4.7-Flash-MXFP4. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.

Run batch inference

Use HF Jobs to run batch inference with https://huggingface.co/GadflyII/GLM-4.7-Flash-MXFP4 on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.

Evaluate on a benchmark

Use HF Jobs to evaluate https://huggingface.co/GadflyII/GLM-4.7-Flash-MXFP4. Ask me which benchmark to run, then save the scores and the per-example results to a new dataset repo. Run `hf jobs --help` first to learn the CLI.
GLM-4.7-Flash-MXFP4 / config.json
GadflyII's picture
Upload folder using huggingface_hub
0cc906e verified
Raw History Blame Contribute Delete
1.28 kB
{
"architectures": [
"Glm4MoeLiteForCausalLM"
],
"attention_bias": false,
"attention_dropout": 0.0,
"pad_token_id": 154820,
"eos_token_id": [
154820,
154827,
154829
],
"hidden_act": "silu",
"hidden_size": 2048,
"intermediate_size": 10240,
"max_position_embeddings": 202752,
"model_type": "glm4_moe_lite",
"moe_intermediate_size": 1536,
"topk_method": "noaux_tc",
"norm_topk_prob": true,
"num_attention_heads": 20,
"n_group": 1,
"topk_group": 1,
"n_routed_experts": 64,
"n_shared_experts": 1,
"routed_scaling_factor": 1.8,
"num_experts_per_tok": 4,
"first_k_dense_replace": 1,
"num_hidden_layers": 47,
"num_key_value_heads": 20,
"num_nextn_predict_layers": 1,
"partial_rotary_factor": 1.0,
"rms_norm_eps": 1e-05,
"rope_scaling": null,
"rope_theta": 1000000,
"tie_word_embeddings": false,
"dtype": "bfloat16",
"transformers_version": "5.0.0rc0",
"q_lora_rank": 768,
"kv_lora_rank": 512,
"qk_nope_head_dim": 192,
"qk_rope_head_dim": 64,
"v_head_dim": 256,
"vocab_size": 154880,
"quantization_config": {
"modules_to_not_convert": [
"model.layers.*.self_attn",
"model.layers.*.mlp.gate",
"model.embed_tokens",
"lm_head"
],
"quant_method": "mxfp4"
}
}