How to use from the
Use from the
Transformers library
# Use a pipeline as a high-level helper
from transformers import pipeline

pipe = pipeline("text-generation", model="developerjeremylive/GLM-5.3-Flash-9B-Surgery-Dummy-etheroi")
messages = [
    {
        "role": "user",
        "content": [
            {"type": "image", "url": "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/p-blog/candy.JPG"},
            {"type": "text", "text": "What animal is on the candy?"}
        ]
    },
]
pipe(text=messages)
# Load model directly
from transformers import AutoProcessor, AutoModelForMultimodalLM

processor = AutoProcessor.from_pretrained("developerjeremylive/GLM-5.3-Flash-9B-Surgery-Dummy-etheroi")
model = AutoModelForMultimodalLM.from_pretrained("developerjeremylive/GLM-5.3-Flash-9B-Surgery-Dummy-etheroi", device_map="auto")
messages = [
    {
        "role": "user",
        "content": [
            {"type": "image", "url": "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/p-blog/candy.JPG"},
            {"type": "text", "text": "What animal is on the candy?"}
        ]
    },
]
inputs = processor.apply_chat_template(
	messages,
	add_generation_prompt=True,
	tokenize=True,
	return_dict=True,
	return_tensors="pt",
).to(model.device)

outputs = model.generate(**inputs, max_new_tokens=40)
print(processor.decode(outputs[0][inputs["input_ids"].shape[-1]:]))
Quick Links

GLM-5.3-Flash 9B Surgery Dummy

Experimental text-only test model. Not an official Z.ai release and not yet quality-recovered. Do not use it as a production or benchmark model.

This checkpoint preserves GLM-5.3-Flash width/kernel geometry while reducing the decoder from 45 to 10 layers and each routed MoE from 288 to 32 experts. It has 8,895,622,684 text parameters. Source layers are [0, 1, 2, 3, 8, 18, 25, 31, 38, 44]. Each target routed expert is a four-donor functional mosaic: 512 individually selected, coupled SwiGLU units come from each donor (gate/up rows plus matching down columns), a closed-form down-projection scale matches synthetic output variance, and all three expert matrices receive fresh per-128x128 FP8 E4M3 scales. Router rows use balanced router-space clusters. No donor forward pass, activation cache, distillation, or parameter training is used. Student-only evaluation remains required before calling the model functionally useful.

Vision is intentionally disabled. A zeroed 49,056-parameter visual compatibility stub exists only because the stock Transformers wrapper currently constructs a visual submodule. It is not a vision model.

The exact source revision, tensor map, expert clusters, and provenance hashes are stored in surgery_plan.json; output shard hashes are in surgery_manifest.json.

Downloads last month
167
Safetensors
Model size
9B params
Tensor type
BF16
·
F32
·
F8_E4M3
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for developerjeremylive/GLM-5.3-Flash-9B-Surgery-Dummy-etheroi

Quantized
(95)
this model

Collection including developerjeremylive/GLM-5.3-Flash-9B-Surgery-Dummy-etheroi