Instructions to use turintech/gemma-4-12B-it-Artemis-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use turintech/gemma-4-12B-it-Artemis-GGUF with llama.cpp:
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible server with a web UI: llama serve -hf turintech/gemma-4-12B-it-Artemis-GGUF:Q4_0 # Run inference directly in the terminal: llama cli -hf turintech/gemma-4-12B-it-Artemis-GGUF:Q4_0
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf turintech/gemma-4-12B-it-Artemis-GGUF:Q4_0 # Run inference directly in the terminal: llama cli -hf turintech/gemma-4-12B-it-Artemis-GGUF:Q4_0
Build from source code
git clone https://github.com/ggml-org/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-app # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama serve -hf turintech/gemma-4-12B-it-Artemis-GGUF:Q4_0 # Run inference directly in the terminal: ./build/bin/llama cli -hf turintech/gemma-4-12B-it-Artemis-GGUF:Q4_0
Use Docker
docker model run hf.co/turintech/gemma-4-12B-it-Artemis-GGUF:Q4_0
- Llama new
- LM Studio
- Jan
- vLLM
How to use turintech/gemma-4-12B-it-Artemis-GGUF with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "turintech/gemma-4-12B-it-Artemis-GGUF" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "turintech/gemma-4-12B-it-Artemis-GGUF", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }'Use Docker
docker model run hf.co/turintech/gemma-4-12B-it-Artemis-GGUF:Q4_0
- Ollama
How to use turintech/gemma-4-12B-it-Artemis-GGUF with Ollama:
ollama run hf.co/turintech/gemma-4-12B-it-Artemis-GGUF:Q4_0
- Unsloth Desktop
- Pi
How to use turintech/gemma-4-12B-it-Artemis-GGUF with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf turintech/gemma-4-12B-it-Artemis-GGUF:Q4_0
Configure the model in Pi
# Install Pi: npm install -g @earendil-works/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "llama-cpp": { "baseUrl": "http://localhost:9931/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "turintech/gemma-4-12B-it-Artemis-GGUF:Q4_0" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use turintech/gemma-4-12B-it-Artemis-GGUF with Docker Model Runner:
docker model run hf.co/turintech/gemma-4-12B-it-Artemis-GGUF:Q4_0
- Lemonade
How to use turintech/gemma-4-12B-it-Artemis-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull turintech/gemma-4-12B-it-Artemis-GGUF:Q4_0
Run and chat with the model
lemonade run user.gemma-4-12B-it-Artemis-GGUF-Q4_0
List all available models
lemonade list
- Hermes Agent
How to use turintech/gemma-4-12B-it-Artemis-GGUF with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf turintech/gemma-4-12B-it-Artemis-GGUF:Q4_0
Configure Hermes
# Install Hermes: curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash hermes setup # Point Hermes at the local server: hermes config set model.provider custom hermes config set model.base_url http://127.0.0.1:9931/v1 hermes config set model.default turintech/gemma-4-12B-it-Artemis-GGUF:Q4_0
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use turintech/gemma-4-12B-it-Artemis-GGUF with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf turintech/gemma-4-12B-it-Artemis-GGUF:Q4_0
Configure OpenClaw
# Install OpenClaw: npm install -g openclaw@latest # Register the local server and set it as the default model: openclaw onboard --non-interactive --mode local \ --auth-choice custom-api-key \ --custom-base-url http://127.0.0.1:9931/v1 \ --custom-model-id "turintech/gemma-4-12B-it-Artemis-GGUF:Q4_0" \ --custom-provider-id llama-cpp \ --custom-compatibility openai \ --custom-text-input \ --accept-risk \ --skip-health
Run OpenClaw
openclaw agent --local --agent main --message "Hello from Hugging Face"
Download RESULTS.md from turintech/gemma-4-12B-it-Artemis-GGUF: direct link, hf CLI and curl.
- Browser
- Download file 27.8 kB
-
https://huggingface.co/turintech/gemma-4-12B-it-Artemis-GGUF/resolve/main/RESULTS.md
- Command line
-
hf download hf://turintech/gemma-4-12B-it-Artemis-GGUF/RESULTS.md
-
curl -L -o RESULTS.md https://huggingface.co/turintech/gemma-4-12B-it-Artemis-GGUF/resolve/main/RESULTS.md
Gemma 4 12B Artemis GGUF: full results and method
Everything behind the numbers on the model card: the RTX 5090 suite of 27 October 2026 that the card reports, the A100 run the card was first published with, the image and MTP checks of the companion files, and the memory measurements.
NVIDIA RTX 5090, llama.cpp b11617, 27 October 2026
The numbers on the card come from this run. Speed was measured too; it is left out here.
NVIDIA GeForce RTX 5090 (all layers on the GPU), host AMD EPYC 7V13 64-Core Processor, llama.cpp 14310190c (b11617), context 8192, flash attention on, F16 KV cache, greedy decoding, thinking off, one slot. KL and same next token against the BF16 conversion of google/gemma-4-12B-it-qat-q4_0-unquantized@b6ed862 (text weights) over 60 chunks of 512 tokens from each of two human-written texts (WikiText-2 test; OASST1 validation chat). Tasks through llama-server's OpenAI-style API: BFCL simple Python (native tools, BFCL's AST checker; a reply with no tool call is wrong), GSM8K test items 0-249 (\boxed{} or last number), MMLU-Pro zero-shot direct letter with an 8-token answer limit (20 per category, not the leaderboard protocol), IFEval 539 of the 541 prompts (strict prompt-level accuracy, lm-evaluation-harness v0.4.13 logic; two coin-flip items left out, see Notes). Peak memory is from a separate llama-server run per file with the prompt cache off (--cache-ram 0), otherwise the same command, answering the first 25 items of each task: the server's VmHWM (the memory-mapped model file counts) and its GPU memory from nvidia-smi. With llama-server's default 8 GiB prompt cache, host RAM over the whole suite reached 10.2 to 22.7 GiB per file; for the quantized files that is the cache filling, not the model. Every file was served with the chat template inside the BF16 conversion (Google's chat_template.jinja of the original, the same bytes as in the Artemis, Google and bartowski files); Unsloth's and mradermacher's files embed other templates, which were not used, so publisher template differences do not affect the tasks. Compare rows within this section only.
Fresh task sets and IFEval, none of which the first card mentions: GSM8K test rows 1069-1318, MMLU-Pro fresh (280, 20 per category, seed 20261022, none of the core sample), BFCL live_simple (all items), and IFEval. Same prompts, caps and checkers as the core tasks.
GSM8K is scored on the last number in a reply, also when the reply was cut off at the 768-token limit. MMLU-Pro allows 8 output tokens and counts a reply with no answer letter as wrong; on the fresh sample 102 of our file's 280 replies and 102 of the original's gave no letter (every file except mradermacher's between 98 and 102). BFCL counts a reply with no tool call as wrong. In the first table, tool calls (of 400) and GSM8K (of 250) are the core tasks: BFCL items 200 to 399 were the first card's final check (see Exposure), so that part of the column favours the file; items 0 to 199 and GSM8K items 0 to 249 are not mentioned in the record of the choice.
Two public rows need a note. mradermacher's i1-IQ3_XXS produced one repeated token under this llama.cpp build (its GSM8K replies are runs of "1" to the cap), and plain WikiText perplexity of the file was as broken with every layer on the CPU as on the GPU, so the fault lies with the file under this build, not with the GPU path or the run; its size and sha256 match the pinned revision, it was not rerun, and its row stands as measured. bartowski's Q4_K_M is made from google/gemma-4-12B-it, not from the QAT checkpoint the other files and the reference come from, so its task results are a fair comparison and its KL to this reference is not like for like.
Results
| File | Size | KL wiki / chat | Same next token, wiki / chat | Tool calls right (of 400) | GSM8K right (of 250) | MMLU-Pro right (of 280) | IFEval strict (of 539) | No tool call (of 400) | Peak GPU memory, GiB | Peak host RAM, GiB |
|---|---|---|---|---|---|---|---|---|---|---|
| BF16 original | 23.83 GB | reference | reference | 375 | 242 | 124 | 478 | 0 | 23.6 | 22.7 |
| TurinTech Q4_0 | 6.72 GB | .1616 / .1618 | 87.2% / 90.6% | 376 | 243 | 123 | 475 | 0 | 7.5 | 6.7 |
| mradermacher i1-IQ3_XXS | 4.85 GB | 10.57 / 10.25 | 6.1% / 6.2% | 132 | 14 | 31 | 146 | 14 | 5.8 | 5.0 |
| Unsloth UD-Q4_K_XL | 6.72 GB | .1316 / .1863 | 88.2% / 89.6% | 377 | 240 | 123 | 485 | 0 | 7.5 | 6.7 |
| Google Q4_0 | 6.98 GB | .4921 / .5607 | 73.5% / 78.0% | 378 | 243 | 122 | 477 | 0 | 7.8 | 7.0 |
| bartowski Q4_K_M | 7.66 GB | 3.30 / 2.71 | 39.9% / 53.2% | 377 | 243 | 123 | 477 | 0 | 8.4 | 7.6 |
Bold is the best displayed value in each column, ties included; it is an observed extremum, not a significance claim. mradermacher's row is the broken file described above; bartowski's KL is against a reference its file was not made from.
Fresh task sets and IFEval
| File | Size | GSM8K fresh right (of 250) | MMLU-Pro fresh right (of 280) | BFCL live_simple right (of 258) | IFEval strict (of 539) | MMLU-Pro fresh, no letter |
|---|---|---|---|---|---|---|
| BF16 original | 23.83 GB | 242 | 115 | 210 | 478 | 102 |
| TurinTech Q4_0 | 6.72 GB | 243 | 114 | 210 | 475 | 102 |
| mradermacher i1-IQ3_XXS | 4.85 GB | 10 | 34 | 54 | 146 | 189 |
| Unsloth UD-Q4_K_XL | 6.72 GB | 244 | 115 | 210 | 485 | 102 |
| Google Q4_0 | 6.98 GB | 242 | 112 | 211 | 477 | 102 |
| bartowski Q4_K_M | 7.66 GB | 241 | 125 | 209 | 477 | 98 |
Bold is the best displayed value in each column, ties included.
Primary paired tests
Exact two-sided McNemar on the same items; Bonferroni over this card's pre-registered family of 16 tests (4 pairs x 4 tasks). Only these support a stated difference between two files. None of the 16 is significant after the correction; the closest case is MMLU-Pro against bartowski's Q4_K_M (114 against 125, p 0.019, Bonferroni p 0.31).
| Comparison | Task | Items | First right | Second right | Only the first right | Only the second right | p | Bonferroni p (x16) |
|---|---|---|---|---|---|---|---|---|
| TurinTech Q4_0 vs BF16 original | GSM8K fresh | 250 | 243 | 242 | 4 | 3 | 1.00 (not significant) | 1.00 (not significant) |
| TurinTech Q4_0 vs BF16 original | MMLU-Pro fresh | 280 | 114 | 115 | 0 | 1 | 1.00 (not significant) | 1.00 (not significant) |
| TurinTech Q4_0 vs BF16 original | BFCL live_simple | 258 | 210 | 210 | 1 | 1 | 1.00 (not significant) | 1.00 (not significant) |
| TurinTech Q4_0 vs BF16 original | IFEval strict | 539 | 475 | 478 | 7 | 10 | 0.63 (not significant) | 1.00 (not significant) |
| TurinTech Q4_0 vs Google Q4_0 | GSM8K fresh | 250 | 243 | 242 | 3 | 2 | 1.00 (not significant) | 1.00 (not significant) |
| TurinTech Q4_0 vs Google Q4_0 | MMLU-Pro fresh | 280 | 114 | 112 | 7 | 5 | 0.77 (not significant) | 1.00 (not significant) |
| TurinTech Q4_0 vs Google Q4_0 | BFCL live_simple | 258 | 210 | 211 | 3 | 4 | 1.00 (not significant) | 1.00 (not significant) |
| TurinTech Q4_0 vs Google Q4_0 | IFEval strict | 539 | 475 | 477 | 17 | 19 | 0.87 (not significant) | 1.00 (not significant) |
| TurinTech Q4_0 vs Unsloth UD-Q4_K_XL | GSM8K fresh | 250 | 243 | 244 | 3 | 4 | 1.00 (not significant) | 1.00 (not significant) |
| TurinTech Q4_0 vs Unsloth UD-Q4_K_XL | MMLU-Pro fresh | 280 | 114 | 115 | 0 | 1 | 1.00 (not significant) | 1.00 (not significant) |
| TurinTech Q4_0 vs Unsloth UD-Q4_K_XL | BFCL live_simple | 258 | 210 | 210 | 2 | 2 | 1.00 (not significant) | 1.00 (not significant) |
| TurinTech Q4_0 vs Unsloth UD-Q4_K_XL | IFEval strict | 539 | 475 | 485 | 9 | 19 | 0.087 (not significant) | 1.00 (not significant) |
| TurinTech Q4_0 vs bartowski Q4_K_M | GSM8K fresh | 250 | 243 | 241 | 6 | 4 | 0.75 (not significant) | 1.00 (not significant) |
| TurinTech Q4_0 vs bartowski Q4_K_M | MMLU-Pro fresh | 280 | 114 | 125 | 4 | 15 | 0.019 | 0.31 (not significant) |
| TurinTech Q4_0 vs bartowski Q4_K_M | BFCL live_simple | 258 | 210 | 209 | 7 | 6 | 1.00 (not significant) | 1.00 (not significant) |
| TurinTech Q4_0 vs bartowski Q4_K_M | IFEval strict | 539 | 475 | 477 | 12 | 14 | 0.85 (not significant) | 1.00 (not significant) |
Memory
Cache off: --cache-ram 0, first 25 items of each core task (main table). Full suite: llama-server's default 8 GiB prompt cache over every task of this suite, sampled every 2 s; the host figure includes the prompt cache. The projector and the MTP drafter were not loaded in this run; their memory is under Companions, below.
| File | Size | Peak GPU memory, GiB, cache off | Peak host RAM, GiB, cache off | Peak host RAM, GiB, full suite, default cache | Peak GPU memory, GiB, full suite |
|---|---|---|---|---|---|
| BF16 original | 23.83 GB | 23.6 | 22.7 | 22.7 | 23.6 |
| TurinTech Q4_0 | 6.72 GB | 7.5 | 6.7 | 10.2 | 7.5 |
| mradermacher i1-IQ3_XXS | 4.85 GB | 5.8 | 5.0 | 10.3 | 5.8 |
| Unsloth UD-Q4_K_XL | 6.72 GB | 7.5 | 6.7 | 10.4 | 7.5 |
| Google Q4_0 | 6.98 GB | 7.8 | 7.0 | 10.8 | 7.8 |
| bartowski Q4_K_M | 7.66 GB | 8.4 | 7.6 | 10.7 | 8.4 |
Exploratory paired tests (uncorrected)
Our file against the reference and every public file. "In choosing" is from the Exposure section; differences on tasks used in choosing are partly selection. The primary (pair, task) tests are left out here; they are above with the correction. Not corrected for multiple comparisons; not for claims.
| Comparison | Task | In choosing | Items | Only the first right | Only the second right | p, uncorrected |
|---|---|---|---|---|---|---|
| TurinTech Q4_0 vs BF16 original | BFCL 0-199 | unknown | 200 | 1 | 0 | 1.00 (not significant) |
| TurinTech Q4_0 vs BF16 original | BFCL 200-399 | treat as used | 200 | 0 | 0 | 1.00 (not significant) |
| TurinTech Q4_0 vs BF16 original | BFCL 0-399 | n/a | 400 | 1 | 0 | 1.00 (not significant) |
| TurinTech Q4_0 vs BF16 original | GSM8K 0-249 | unknown | 250 | 3 | 2 | 1.00 (not significant) |
| TurinTech Q4_0 vs BF16 original | MMLU-Pro core | not reported | 280 | 0 | 1 | 1.00 (not significant) |
| TurinTech Q4_0 vs mradermacher i1-IQ3_XXS | BFCL 0-199 | unknown | 200 | 115 | 1 | 3e-33 |
| TurinTech Q4_0 vs mradermacher i1-IQ3_XXS | BFCL 200-399 | treat as used | 200 | 130 | 0 | 1e-39 |
| TurinTech Q4_0 vs mradermacher i1-IQ3_XXS | BFCL 0-399 | n/a | 400 | 245 | 1 | 4e-72 |
| TurinTech Q4_0 vs mradermacher i1-IQ3_XXS | GSM8K 0-249 | unknown | 250 | 229 | 0 | 2e-69 |
| TurinTech Q4_0 vs mradermacher i1-IQ3_XXS | MMLU-Pro core | not reported | 280 | 95 | 3 | 1e-24 |
| TurinTech Q4_0 vs mradermacher i1-IQ3_XXS | GSM8K fresh | not mentioned | 250 | 233 | 0 | 1e-70 |
| TurinTech Q4_0 vs mradermacher i1-IQ3_XXS | MMLU-Pro fresh | not mentioned | 280 | 83 | 3 | 3e-21 |
| TurinTech Q4_0 vs mradermacher i1-IQ3_XXS | BFCL live_simple | not mentioned | 258 | 157 | 1 | 9e-46 |
| TurinTech Q4_0 vs mradermacher i1-IQ3_XXS | IFEval strict | not reported | 539 | 334 | 5 | 7e-92 |
| TurinTech Q4_0 vs Unsloth UD-Q4_K_XL | BFCL 0-199 | unknown | 200 | 0 | 0 | 1.00 (not significant) |
| TurinTech Q4_0 vs Unsloth UD-Q4_K_XL | BFCL 200-399 | treat as used | 200 | 0 | 1 | 1.00 (not significant) |
| TurinTech Q4_0 vs Unsloth UD-Q4_K_XL | BFCL 0-399 | n/a | 400 | 0 | 1 | 1.00 (not significant) |
| TurinTech Q4_0 vs Unsloth UD-Q4_K_XL | GSM8K 0-249 | unknown | 250 | 3 | 0 | 0.25 (not significant) |
| TurinTech Q4_0 vs Unsloth UD-Q4_K_XL | MMLU-Pro core | not reported | 280 | 1 | 1 | 1.00 (not significant) |
| TurinTech Q4_0 vs Google Q4_0 | BFCL 0-199 | unknown | 200 | 0 | 1 | 1.00 (not significant) |
| TurinTech Q4_0 vs Google Q4_0 | BFCL 200-399 | treat as used | 200 | 0 | 1 | 1.00 (not significant) |
| TurinTech Q4_0 vs Google Q4_0 | BFCL 0-399 | n/a | 400 | 0 | 2 | 0.50 (not significant) |
| TurinTech Q4_0 vs Google Q4_0 | GSM8K 0-249 | unknown | 250 | 3 | 3 | 1.00 (not significant) |
| TurinTech Q4_0 vs Google Q4_0 | MMLU-Pro core | not reported | 280 | 5 | 4 | 1.00 (not significant) |
| TurinTech Q4_0 vs bartowski Q4_K_M | BFCL 0-199 | unknown | 200 | 1 | 1 | 1.00 (not significant) |
| TurinTech Q4_0 vs bartowski Q4_K_M | BFCL 200-399 | treat as used | 200 | 1 | 2 | 1.00 (not significant) |
| TurinTech Q4_0 vs bartowski Q4_K_M | BFCL 0-399 | n/a | 400 | 2 | 3 | 1.00 (not significant) |
| TurinTech Q4_0 vs bartowski Q4_K_M | GSM8K 0-249 | unknown | 250 | 1 | 1 | 1.00 (not significant) |
| TurinTech Q4_0 vs bartowski Q4_K_M | MMLU-Pro core | not reported | 280 | 6 | 6 | 1.00 (not significant) |
Counts the items only one of the two files got right; p is the chance of a split at least that uneven if the two were equally good. A large p means no difference was found, which is not proof of equivalence.
Exposure
What each task had to do with choosing the published file, from the first card, written down before the run:
- KL, WikiText-2 and OASST1: used: the first card says these two texts (same sha256 as here) were used while developing the file
- BFCL simple 0-199: unknown: not mentioned on the first card
- BFCL simple 200-399: treat as used: kept out of development, then used in a final check fixed in advance that could have selected the previous candidate
- GSM8K test 0-249: unknown: the first card's maths items are GSM8K test 250-499; items 0-249 are not mentioned
- MMLU-Pro core sample: not reported: the first card names no MMLU-Pro run
- IFEval: not reported: the first card names no IFEval run
- Calibration note: calibrated on OpenAssistant OASST1 training conversations (the KL chat text is OASST1 validation)
Fresh task sets and IFEval (the first card mentions none of them):
- GSM8K fresh: GSM8K test rows 1069-1318 (the last 250). The first card's maths items are GSM8K test 250-499; rows 1069-1318 are not mentioned.
- MMLU-Pro fresh: MMLU-Pro test, 20 per category (280), seed 20261022, excluding every question in the core sample. The first card reports no MMLU-Pro measurement.
- BFCL live_simple: BFCL live_simple, all items (bfcl_eval==2026.3.23), same native-tools protocol and AST checker. The first card's tool calls are BFCL v3 simple Python 200-399; live_simple is not mentioned.
- IFEval strict: IFEval, 539 of the 541 prompts (core suite; ifeval_1122 and ifeval_1129 left out, see Notes). The first card reports no IFEval measurement.
Notes
- BFCL by half (items 0-199 / 200-399; items 200-399 are the first card's tool-call set, kept out of development and then used in a final check that could have chosen another candidate; items 0-199 are not mentioned on the first card): BF16 original 186 of 200 / 189 of 200; TurinTech Q4_0 187 of 200 / 189 of 200; mradermacher i1-IQ3_XXS 73 of 200 / 59 of 200; Unsloth UD-Q4_K_XL 187 of 200 / 190 of 200; Google Q4_0 188 of 200 / 190 of 200; bartowski Q4_K_M 187 of 200 / 190 of 200.
- BF16 original: GSM8K hit the 768-token cap 4 times; IFEval hit the 2,048-token cap 1 time; IFEval instruction level strict 764 / loose 782 of 830; prompt level loose 493.
- TurinTech Q4_0: GSM8K hit the 768-token cap 4 times; IFEval hit the 2,048-token cap 2 times; IFEval instruction level strict 761 / loose 777 of 830; prompt level loose 488.
- mradermacher i1-IQ3_XXS: GSM8K hit the 768-token cap 226 times; IFEval hit the 2,048-token cap 342 times; IFEval instruction level strict 305 / loose 345 of 830; prompt level loose 169.
- Unsloth UD-Q4_K_XL: GSM8K hit the 768-token cap 5 times; IFEval hit the 2,048-token cap 4 times; IFEval instruction level strict 771 / loose 791 of 830; prompt level loose 502.
- Google Q4_0: GSM8K hit the 768-token cap 5 times; IFEval hit the 2,048-token cap 3 times; IFEval instruction level strict 763 / loose 779 of 830; prompt level loose 490.
- bartowski Q4_K_M: GSM8K hit the 768-token cap 4 times; IFEval hit the 2,048-token cap 4 times; IFEval instruction level strict 763 / loose 782 of 830; prompt level loose 492.
- IFEval is scored on 539 of 541 prompts: ifeval_1122 and ifeval_1129 ask for a count of '#' and '!', which upstream's LetterFrequencyChecker does not accept as a letter, so it checks a random letter instead and those two items are coin flips. On all 541 prompts the counts are 479, 477, 146, 485, 479 and 478 in the order of the tables.
- BF16 original: BFCL live_simple: no tool call 10 times.
- TurinTech Q4_0: GSM8K fresh hit the 768-token cap 4 times; BFCL live_simple: no tool call 10 times.
- mradermacher i1-IQ3_XXS: GSM8K fresh hit the 768-token cap 234 times; BFCL live_simple: no tool call 67 times.
- Unsloth UD-Q4_K_XL: BFCL live_simple: no tool call 9 times.
- Google Q4_0: GSM8K fresh hit the 768-token cap 2 times; BFCL live_simple: no tool call 11 times.
- bartowski Q4_K_M: GSM8K fresh hit the 768-token cap 3 times; BFCL live_simple: no tool call 11 times.
Files measured
Every file was downloaded fresh at the revision below and checked by size and sha256 against the Hub listing before the run.
| Label | Repository | Revision | File | Bytes | sha256 |
|---|---|---|---|---|---|
| BF16 original | google/gemma-4-12B-it-qat-q4_0-unquantized | b6ed862 | gemma-4-12B-it-qat-bf16.gguf (TurinTech conversion of the text weights) |
23,832,066,176 | 308b0d914e682705a28ff97a6f6c293610b63634fbaad36047f2db1407820d98 |
| TurinTech Q4_0 | turintech/gemma-4-12B-it-Artemis-GGUF | 036a2ce | gemma-4-12B-it-Artemis-Q4_0.gguf |
6,716,356,736 | 25b9be6a385bcc2816a14dc4913ced4352f4720786b28bef1f5936f52255ae63 |
| mradermacher i1-IQ3_XXS | mradermacher/gemma-4-12B-it-qat-q4_0-unquantized-i1-GGUF | 2b88f4b | gemma-4-12B-it-qat-q4_0-unquantized.i1-IQ3_XXS.gguf |
4,849,194,816 | cfe0e8286e4b734335fe7aed099157e1217356fd19dc9e90f4da1ce66547e183 |
| Unsloth UD-Q4_K_XL | unsloth/gemma-4-12B-it-qat-GGUF | 980b060 | gemma-4-12B-it-qat-UD-Q4_K_XL.gguf |
6,716,356,800 | 90fd44e29e0d7cffeb0fd00dc73cfdab9ed0b0e95306ecf7821ea634c940c370 |
| Google Q4_0 | google/gemma-4-12B-it-qat-q4_0-gguf | 29d0977 | gemma-4-12b-it-qat-q4_0.gguf |
6,975,879,296 | 93567e57a8fe10b23569b9d9ec38cd005deedf71e29477c421a4b83f418a538b |
| bartowski Q4_K_M | bartowski/gemma-4-12B-it-GGUF | 2ae7d41 | gemma-4-12B-it-Q4_K_M.gguf |
7,662,533,088 | 3962624dcd25b947d889dc9ae1bf275b61db6cd4dbe694057f34fffef1671509 |
NVIDIA A100 80 GB, llama.cpp b11617, 24 October 2026
The run the card was first published with (the card at that revision). Compare rows within this section only.
Every file was compared with the BF16 conversion of the same QAT original (google/gemma-4-12B-it-qat-q4_0-unquantized revision b6ed862, text weights, 23,832,066,176 bytes; its sha256 was not recorded in this run) on an NVIDIA A100 80 GB with llama.cpp b11617 (14310190c), greedy decoding, thinking off, one shared chat template (Google's, from the original) and the original's BOS setting for every file.
- KL divergence and same next token over 60 chunks of 512 tokens from each of two human-written texts: the WikiText-2 test set (Wikipedia) and OpenAssistant OASST1 validation conversations. These texts were used while developing this file, so they are not an independent test.
- Native tool calling: BFCL v3 simple Python, tasks 200 to 399, through llama-server's OpenAI-style
toolsAPI, scored with BFCL's own checker. A reply with no tool call counts as wrong. - Maths: GSM8K test problems 250 to 499, rerun with a corrected protocol: a 4,096-token limit, a reply counts only if it finished on its own, and the answer is the last
\boxed{}(else the last number) of the final reply. An earlier 768-token run, which also scored unfinished replies, gave 240 for this file, 238 for the original, 239 for Unsloth's file and 236 for Google's.
The tool-calling and maths items were kept out of development. They were then used in a final check, fixed in advance, that compared this file with the previous candidate and could have selected that one instead; it did not. They are therefore not an independent test made after the choice.
Results, A100
| File | Size | KL wiki / chat | Same next token, wiki / chat | Tool calls right (of 200) | GSM8K right (of 250) |
|---|---|---|---|---|---|
| BF16 original | 23.83 GB | reference | reference | 189 | 242 |
| TurinTech Q4_0 | 6.72 GB | .156 / .153 | 86.8% / 90.3% | 190 | 240 |
| Unsloth UD-Q4_K_XL | 6.72 GB | .147 / .169 | 87.2% / 89.8% | 191 | 242 |
| Google Q4_0 | 6.98 GB | .485 / .567 | 73.9% / 77.8% | 190 | 238 |
Bold marks the best displayed value for each metric among the rows shown, ties included; it is not a significance claim. Unsloth's file has the same overall tensor-type counts as ours and is 64 bytes larger; it is closer to the original on WikiText-2 and ours is closer on the chat text.
| Comparison (exact McNemar, two-sided, uncorrected) | Tool calls (200) | GSM8K (250) |
|---|---|---|
| TurinTech Q4_0 vs BF16 original | 1 / 0, p=1.00 | 0 / 2, p=0.50 |
| TurinTech Q4_0 vs Unsloth UD-Q4_K_XL | 0 / 1, p=1.00 | 0 / 2, p=0.50 |
| TurinTech Q4_0 vs Google Q4_0 | 1 / 1, p=1.00 | 3 / 1, p=0.625 |
Each cell gives the items only the first file got right, the items only the second got right, and p. No paired test established a difference. These samples are small and do not establish equivalence.
Public files: google/gemma-4-12B-it-qat-q4_0-gguf revision 29d0977 (gemma-4-12b-it-qat-q4_0.gguf), unsloth/gemma-4-12B-it-qat-GGUF revision 980b060 (gemma-4-12B-it-qat-UD-Q4_K_XL.gguf, the main file only; its optional MTP file was not used). Our file ran at revision 7c6b51e, the same bytes as published now.
Memory, A100
Peak memory of llama-server with the card's command (--port 8080 -c 8192 --jinja) answering 10 short chat prompts, llama.cpp b11617 on an NVIDIA A100 80 GB: peak GPU memory 8.4 GiB, and peak process memory (RSS) 6.5 to 6.7 GiB in two runs, which counts the parts of the memory-mapped model file that were read. The command keeps llama-server's default 8 GiB prompt cache, so system memory can grow in longer sessions; --cache-ram 0 limits it. Context length and other runtime settings also change memory use.
| File | Size | Peak GPU memory, GiB, A100 | Peak host RAM, GiB, A100 |
|---|---|---|---|
| TurinTech Q4_0 | 6.72 GB | 8.4 | 6.5 to 6.7 |
Companions: image questions, MTP and memory
The vision projector and the MTP drafter were checked on one NVIDIA RTX 5090 with llama.cpp b11889 (d854d98), the build that converted them. Compare rows within each table only.
Image questions
A quick check that the projector works with our file: the first 20 ChartQA test questions (human-written) from the frozen item list of our Qwen3.8 27B release, with lmms-eval's prompt (answer with a single word or phrase), greedy, thinking off, up to 32 output tokens, scored by relaxed accuracy (a number within 5% of the answer, otherwise an exact match ignoring case). llama.cpp b11889 with CUDA on one NVIDIA RTX 5090, -ngl 99 -c 8192 -np 1 --cache-ram 0; Unsloth's file ran with Unsloth's projector.
| File | Size | Projector | ChartQA right (of 20) |
|---|---|---|---|
| TurinTech Q4_0 | 6.72 GB | ours, F16 | 12 |
| TurinTech Q4_0 | 6.72 GB | ours, BF16 | 13 |
| Unsloth UD-Q4_K_XL | 6.72 GB | Unsloth, F16 | 13 |
Unsloth's file got one question right that ours missed, and ours none that Unsloth's missed (exact McNemar p = 1.0); 20 questions are too few to separate the files. This model's projector has no vision transformer, only the patch embedding that feeds image patches to the main model. b11889's converter writes that tensor in F16 in an F16 projector; loaded that way, our main file returned empty replies to all 20 questions, so our mmproj-F16.gguf keeps it in F32, as Unsloth's does (our BF16 file already did).
Our projectors were converted from google/gemma-4-12B-it-qat-q4_0-unquantized revision b6ed862 with convert_hf_to_gguf.py --mmproj from llama.cpp b11889. Their tensors are the same, byte for byte, as those of Unsloth's mmproj-BF16.gguf and mmproj-F16.gguf (unsloth/gemma-4-12B-it-qat-GGUF revision 980b060), except that the F16 patch embedding, kept in F32 in both, differs by at most 3e-8 (ours is the exact BF16 value). The projector also holds the audio input layers; audio input was not tested.
MTP
Speed was measured with the 30 fixed prompts of our Qwen3.8 27B release (10 chat, 10 code, 10 tool calls with four tools), greedy, thinking off, 256 output tokens, two warm-ups and two passes, on one RTX 5090 with llama.cpp b11889: -ngl 99 -ngld 99 -c 8192 -np 1 --cache-ram 0 --spec-type draft-mtp and llama.cpp's default draft length. Speed is generation tokens per second from llama-server's own timings (prompt excluded), over both passes; acceptance is the share of drafted tokens the main file kept.
| Main file | MTP file | Chat (tok/s) | Code (tok/s) | Tool calls (tok/s) | All (tok/s) | Accepted | Speed-up |
|---|---|---|---|---|---|---|---|
| TurinTech Q4_0 | none | 160.2 | 159.9 | 160.9 | 160.1 | N/A | 1.00 |
| TurinTech Q4_0 | ours Q4_0 (shipped), 323 MB | 306.6 | 355.7 | 382.4 | 334.6 | 68.4% | 2.09 |
| TurinTech Q4_0 | ours Q8_0 (not shipped), 465 MB | 279.9 | 336.0 | 363.6 | 311.1 | 69.0% | 1.94 |
| TurinTech Q4_0 | Unsloth Q4_0, 254 MB | 295.6 | 341.2 | 377.0 | 322.3 | 69.4% | 2.01 |
The drafter is converted from google/gemma-4-12B-it-qat-q4_0-unquantized-assistant revision 1893406. Our BF16 and Q8_0 conversions have the same tensors, byte for byte, as Unsloth's MTP/ files of the same precision; the headers differ in the name fields and the chat template (ours has the one in Google's current revision). Our Q4_0 is stock llama-quantize Q4_0, which keeps the token embedding in Q6_K; Unsloth's Q4_0 is smaller and has it in Q4_0. We ship our Q4_0: it was the fastest of the three here.
With the drafter, greedy replies matched the replies without it on 11 of 30 prompts: all 10 tool calls and 1 of the 20 chat and code prompts. The others change wording partway through, on the same prompts whichever drafter is used, while two passes of each setting gave identical replies. That points to the batched verification rather than the drafter, but the records hold text and hashes, not logits, so the cause is untested.
Memory with the companions
GPU memory in use on the RTX 5090 with llama.cpp b11889 (-ngl 99 -c 8192 -np 1 --cache-ram 0), read once from nvidia-smi at the end of each check, not a peak over the run: 7.54 GiB for the Q4_0 file alone and 7.91 GiB with the MTP drafter after the 30 speed prompts, and 7.97 GiB with mmproj-F16.gguf after the 20 chart questions.
| Setup | GPU memory in use, GiB, RTX 5090, b11889 |
|---|---|
| TurinTech Q4_0 alone | 7.54 |
| TurinTech Q4_0 with the MTP drafter | 7.91 |
TurinTech Q4_0 with mmproj-F16.gguf |
7.97 |
Limitations
Images were checked on 20 chart questions only, and audio not at all. Tested with thinking off; thinking mode and long contexts were not evaluated. Calibrated on OpenAssistant OASST1 training conversations. The importance matrix is not distributed.
File names
The file name ends in a standard llama.cpp quant label, so llama.cpp, Ollama and LM Studio can pick it by tag. The file uses the standard Q4_0 label and averages 4.51 bits per weight over the whole file. The drafter is there twice, in MTP/ and at the top level, where -hf with --spec-type draft-mtp finds it; the two copies are the same bytes.