anaksor-ocr
Sokheng · Kit
Reads Khmer and English text from documents, receipts and photos of signs, using a detector for text lines and a recogniser for each line. Suits developers who…
Gemma 4 12B in GGUF form, trained with quantization-aware training so a 4-bit copy keeps near-bfloat16 quality. For people running Gemma locally with llama.cpp, with a draft file for faster output.
gemma-4-12B-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-12B-it-qat-GGUF
This repository holds Unsloth's GGUF files of Gemma 4 12B instruction-tuned, built from Google's quantization-aware-trained checkpoint. The card says that training approach keeps quality close to bfloat16 while cutting memory use a lot. The record lists 11.9B parameters.
People who want Gemma 4 on their own machine at a small file size, and who use llama.cpp.
| Industry | Who uses it | How they use it | Example |
|---|---|---|---|
| Software | Developers | Run a local assistant through llama-server | A chat endpoint on their own machine |
| Research | AI researchers | Test a multimodal 12B model locally | Ask questions about an image |
| Education | Students | Try a modern open model on a laptop GPU | Run Q4 and check answers |
| IT | Platform teams | Serve a private model for internal use | A private chat tool |
You can skip it if you want a hosted chat, or if you use a runtime that cannot load GGUF files.
| Use case | Who | What they get back |
|---|---|---|
| Local chat | Developers | Text answers from a 12B model on your hardware |
| Image questions | Researchers | Answers about an image you give it |
| Faster generation | Developers | Speculative decoding through the included MTP drafter file |
pip install -U huggingface_hub hf download unsloth/gemma-4-12B-it-qat-GGUF
Start llama-server with the Hugging Face repository and the UD-Q4_K_XL quant, then chat with it. The card says a recent llama.cpp finds the MTP drafter on its own, so you pass no draft model.
./build/bin/llama-server \ -hf unsloth/gemma-4-12B-it-qat-GGUF:UD-Q4_K_XL \ --spec-type draft-mtp --spec-draft-n-max 4 \ -ngl 999 -fa on
You start the server and ask a question in the chat page it serves. The drafter proposes tokens ahead of the main model, and the card says the main model checks each one, so the final answer is unchanged.
If you are new, run the single llama-server command above and chat in the page it opens. The draft file is optional speed, and it does not change what you get back.
If you know the field, the card says QAT keeps similar quality to bfloat16 at much lower memory. The MTP drafter shares the target's KV cache, and the target verifies every drafted token. Gemma 4 handles text and image input, with audio on this 12B size, and reads up to 256K tokens.
Gemma 4 12B in GGUF form, trained with quantization-aware training so a 4-bit copy keeps near-bfloat16 quality. For people running Gemma locally with llama.cpp, with a draft file for faster output.
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 repository holds Unsloth's GGUF files of Gemma 4 12B instruction-tuned, built from Google's quantization-aware-trained checkpoint. The card says that training approach keeps quality close to bfloat16 while cutting memory use a lot. The record lists 11.9B parameters.
Who it suits: People who want Gemma 4 on their own machine at a small file size, and who use llama.cpp.
Industry | Who uses it | How they use it | Example
Software | Developers | Run a local assistant through llama-server | A chat endpoint on their own machine
Research | AI researchers | Test a multimodal 12B model locally | Ask questions about an image
Education | Students | Try a modern open model on a laptop GPU | Run Q4 and check answers
IT | Platform teams | Serve a private model for internal use | A private chat tool
You can skip it if you want a hosted chat, or if you use a runtime that cannot load GGUF files.
Where to use it:
Use case | Who | What they get back
Local chat | Developers | Text answers from a 12B model on your hardware
Image questions | Researchers | Answers about an image you give it
Faster generation | Developers | Speculative decoding through the included MTP drafter file
How to set it up:
pip install -U huggingface_hub
hf download unsloth/gemma-4-12B-it-qat-GGUF
How to use it: Start llama-server with the Hugging Face repository and the UD-Q4_K_XL quant, then chat with it. The card says a recent llama.cpp finds the MTP drafter on its own, so you pass no draft model.
./build/bin/llama-server \
-hf unsloth/gemma-4-12B-it-qat-GGUF:UD-Q4_K_XL \
--spec-type draft-mtp --spec-draft-n-max 4 \
-ngl 999 -fa on
Example: You start the server and ask a question in the chat page it serves. The drafter proposes tokens ahead of the main model, and the card says the main model checks each one, so the final answer is unchanged.
For newcomers and experts: If you are new, run the single llama-server command above and chat in the page it opens. The draft file is optional speed, and it does not change what you get back.
If you know the field, the card says QAT keeps similar quality to bfloat16 at much lower memory. The MTP drafter shares the target's KV cache, and the target verifies every drafted token. Gemma 4 handles text and image input, with audio on this 12B size, and reads up to 256K tokens.
QAT Gemma 4 12B checkpoint
GGUF Q4 files
llama-server with MTP drafter
Text answers
Good to know:
Download its files with Hugging Face's command line:
pip install -U huggingface_hub
hf download unsloth/gemma-4-12B-it-qat-GGUF
Then follow the usage in its model card. Nothing in this kit runs by itself.
README.md 4 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-12B-it-qat-GGUF This page | 196,871 | 617 | 11.9B | apache-2.0 | |
| gemma-4-31B-it-qat-GGUFShares gemma · google · gemma4 | 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 |
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.
Sokheng · Kit
Reads Khmer and English text from documents, receipts and photos of signs, using a detector for text lines and a recogniser for each line. Suits developers who…
Qwen · Kit
Qwen2.5-7B-Instruct as GGUF files in eight quantization sizes, to chat with locally through llama.cpp. For people who want a capable 7.6B model on their own co…
ACE-Step · Kit
Generates music from text with a 4B diffusion decoder, 50 steps and guidance control, aiming for higher audio quality than the base. For creators with a GPU of…
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.