Huashu Design
alchaincyf · Skill
Turns a one-line request in your AI agent into a finished design: a launch animation, a clickable app prototype, an editable slide deck, an infographic or a se…
Runs Google's Gemma 4 31B instruction model from Unsloth's 4-bit QAT GGUF files, with an included drafter for faster speculative decoding in llama.cpp. For people serving a large multimodal model locally.
gemma-4-31B-it-qat-GGUF is a kit in the Developer category, listed by Mindket. It is free. This is version 1, last updated on . Download it on this page, a zip of its files. Nothing in it runs by itself.
pip install -U huggingface_hub hf download unsloth/gemma-4-31B-it-qat-GGUF
This is a GGUF build of Gemma 4 31B instruction-tuned, from Google DeepMind and packaged by Unsloth. It comes from a Quantization-Aware Training checkpoint in Q4_0, which the card says keeps quality close to bfloat16 while cutting the memory the model needs. Gemma 4 takes text and images in, writes text out, and has a context of up to 256K tokens. The repository also ships a drafter file for speculative decoding.
It suits developers and teams who want a 30.7B multimodal model on their own hardware, served through llama.cpp, and researchers who study quantization-aware checkpoints.
| Industry | Who uses it | How they use it | Example |
|---|---|---|---|
| Software | Developers | Serve the model with llama-server and speculative decoding | Run the card's command and send prompts to it |
| Research | ML researchers | Study a Q4_0 checkpoint trained with quantization in the loop | Compare it with a bfloat16 run |
| Self-hosting | Teams with large-memory machines | Keep a 31B model on their own servers | Serve text and image prompts without a hosted API |
Anyone without room for about 15.3 GB of weights can skip it, and the QAT family also has smaller sizes such as E2B, E4B and 12B.
| Use case | Who | What they get back |
|---|---|---|
| Serve a large local model | Developers | A text answer to text or image prompts |
| Faster generation with a drafter | Developers | The same output as without the drafter, since the main model checks every drafted token |
| Try a QAT checkpoint | Researchers | Q4_0 weights built to hold up under quantization |
pip install -U huggingface_hub hf download unsloth/gemma-4-31B-it-qat-GGUF
Run the card's llama-server command from your llama.cpp checkout. A recent llama.cpp finds the drafter file in the repository root on its own, so you do not pass a draft model.
./build/bin/llama-server \ -hf unsloth/gemma-4-31B-it-qat-GGUF:UD-Q4_K_XL \ --spec-type draft-mtp --spec-draft-n-max 4 \ -ngl 999 -fa on
| Tool | What it does |
|---|---|
| llama-server | Serves the model for your prompts |
| -hf | Names the repository and the UD-Q4_K_XL tier to load |
| --spec-type draft-mtp | Turns on speculative decoding with the multi-token prediction drafter |
| --spec-draft-n-max 4 | Sets the draft limit to 4 |
You start the server with the command above and send it a prompt. The drafter proposes tokens and the 31B model checks each one, so the text you get is the same as it would be without the drafter.
Quantization-aware training means the model learned with the 4-bit squeeze in view, so less quality is lost. Run the card's command as written, then send a simple question.
The drafter is a near-lossless Q4_0 file named mtp-gemma-4-31B-it.gguf, and it shares the main model's KV cache. The card lists four QAT checkpoint families across the Gemma 4 sizes.
| Variant | Format | Meant for |
|---|---|---|
| Unquantized QAT checkpoints | Q4_0 in half precision | Custom compilation and research |
| GGUF | Q4_0 | Ready-to-run files for many tools, as in this repository |
| Mobile-optimized | wNa8o8 | Mobile hardware, for E2B and E4B |
| Compressed Tensors | w4a16 | Optimized inference with vLLM |
Runs Google's Gemma 4 31B instruction model from Unsloth's 4-bit QAT GGUF files, with an included drafter for faster speculative decoding in llama.cpp. For people serving a large multimodal model locally.
Made by unsloth on Hugging Face. These notes are Mindket's, written from its model page and model card; the model's own files and license are on Hugging Face.
What it is: This is a GGUF build of Gemma 4 31B instruction-tuned, from Google DeepMind and packaged by Unsloth. It comes from a Quantization-Aware Training checkpoint in Q4_0, which the card says keeps quality close to bfloat16 while cutting the memory the model needs. Gemma 4 takes text and images in, writes text out, and has a context of up to 256K tokens. The repository also ships a drafter file for speculative decoding.
Who it suits: It suits developers and teams who want a 30.7B multimodal model on their own hardware, served through llama.cpp, and researchers who study quantization-aware checkpoints.
Industry | Who uses it | How they use it | Example
Software | Developers | Serve the model with llama-server and speculative decoding | Run the card's command and send prompts to it
Research | ML researchers | Study a Q4_0 checkpoint trained with quantization in the loop | Compare it with a bfloat16 run
Self-hosting | Teams with large-memory machines | Keep a 31B model on their own servers | Serve text and image prompts without a hosted API
Anyone without room for about 15.3 GB of weights can skip it, and the QAT family also has smaller sizes such as E2B, E4B and 12B.
Where to use it:
Use case | Who | What they get back
Serve a large local model | Developers | A text answer to text or image prompts
Faster generation with a drafter | Developers | The same output as without the drafter, since the main model checks every drafted token
Try a QAT checkpoint | Researchers | Q4_0 weights built to hold up under quantization
How to set it up:
pip install -U huggingface_hub
hf download unsloth/gemma-4-31B-it-qat-GGUF
How to use it: Run the card's llama-server command from your llama.cpp checkout. A recent llama.cpp finds the drafter file in the repository root on its own, so you do not pass a draft model.
./build/bin/llama-server \
-hf unsloth/gemma-4-31B-it-qat-GGUF:UD-Q4_K_XL \
--spec-type draft-mtp --spec-draft-n-max 4 \
-ngl 999 -fa on
Tool | What it does
llama-server | Serves the model for your prompts
-hf | Names the repository and the UD-Q4_K_XL tier to load
--spec-type draft-mtp | Turns on speculative decoding with the multi-token prediction drafter
--spec-draft-n-max 4 | Sets the draft limit to 4
Example: You start the server with the command above and send it a prompt. The drafter proposes tokens and the 31B model checks each one, so the text you get is the same as it would be without the drafter.
For newcomers and experts: Quantization-aware training means the model learned with the 4-bit squeeze in view, so less quality is lost. Run the card's command as written, then send a simple question.
The drafter is a near-lossless Q4_0 file named mtp-gemma-4-31B-it.gguf, and it shares the main model's KV cache. The card lists four QAT checkpoint families across the Gemma 4 sizes.
Variant | Format | Meant for
Unquantized QAT checkpoints | Q4_0 in half precision | Custom compilation and research
GGUF | Q4_0 | Ready-to-run files for many tools, as in this repository
Mobile-optimized | wNa8o8 | Mobile hardware, for E2B and E4B
Compressed Tensors | w4a16 | Optimized inference with vLLM
The drafter proposes several tokens
The 31B model checks each one
Accepted tokens join the reply
The output stays unchanged
Good to know:
Download its files with Hugging Face's command line:
pip install -U huggingface_hub
hf download unsloth/gemma-4-31B-it-qat-GGUF
Then follow the usage in its model card. Nothing in this kit runs by itself.
README.md 5 KB
Listed Hugging Face models in the same category that share the most tags with this one.
| Product | Downloads, last 30 days | Likes | Parameters | License | Last change |
|---|---|---|---|---|---|
| gemma-4-31B-it-qat-GGUF This page | 79,933 | 226 | 30.7B | apache-2.0 | |
| gemma-4-12b-it-GGUFShares gemma · google · gemma4 | 2,534,530 | 963 | 11.9B | apache-2.0 | |
| gemma-4-E4B-it-GGUFShares gemma · google · gemma4 | 702,365 | 687 | 7.5B | apache-2.0 | |
| gemma-4-E2B-it-GGUFShares gemma · google · gemma4 | 674,565 | 356 | 4.6B | apache-2.0 | |
| gemma-4-31B-it-GGUFShares gemma · google · gemma4 | 428,266 | 677 | 30.7B | apache-2.0 | |
| gemma-4-12B-it-qat-GGUFShares gemma · google · gemma4 | 196,871 | 617 | 11.9B | apache-2.0 |
Posts and comments that name this project on Hacker News, Bluesky, X, Reddit, Facebook and YouTube, found by a weekly search and on Trendshift. Mindket doesn’t write or check them. Open one to read it where it was posted.
alchaincyf · Skill
Turns a one-line request in your AI agent into a finished design: a launch animation, a clickable app prototype, an editable slide deck, an infographic or a se…
op7418 · Skill
Skill that makes single-file HTML slide decks, slide illustrations and platform covers in two visual styles, with a presenter mode for rehearsal. For speakers…
alirezarezvani · Skill
Adds 411 ready-made skills for Claude Code and other coding agents, grouped by role from engineering and product to marketing, finance and compliance. Installs…
block · Kit
Self-hostable workspace where people and AI agents share the same rooms, built on a Nostr relay that logs every action as a signed event. For teams that want t…
backnotprop · Kit
Opens your AI coding agent's plans, specs and code changes in a browser so you can annotate or comment on them and send the feedback straight back to the agent.
alibaba · Kit
Reviews Git changes with an AI agent that reads files and searches the codebase, then writes comments tied to exact lines. It suits developers who want automat…