Instructions to use AltronisSG/judgment-qc-gate-gemma-4-e4b-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- llama-cpp-python
How to use AltronisSG/judgment-qc-gate-gemma-4-e4b-GGUF with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="AltronisSG/judgment-qc-gate-gemma-4-e4b-GGUF", filename="judgment-gemma-4-e4b-v6-Q8_0.gguf", )
llm.create_chat_completion( messages = [ { "role": "user", "content": "What is the capital of France?" } ] ) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use AltronisSG/judgment-qc-gate-gemma-4-e4b-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 AltronisSG/judgment-qc-gate-gemma-4-e4b-GGUF:Q8_0 # Run inference directly in the terminal: llama cli -hf AltronisSG/judgment-qc-gate-gemma-4-e4b-GGUF:Q8_0
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf AltronisSG/judgment-qc-gate-gemma-4-e4b-GGUF:Q8_0 # Run inference directly in the terminal: llama cli -hf AltronisSG/judgment-qc-gate-gemma-4-e4b-GGUF:Q8_0
Use pre-built binary
# Download pre-built binary from: # https://github.com/ggerganov/llama.cpp/releases # Start a local OpenAI-compatible server with a web UI: ./llama-server -hf AltronisSG/judgment-qc-gate-gemma-4-e4b-GGUF:Q8_0 # Run inference directly in the terminal: ./llama-cli -hf AltronisSG/judgment-qc-gate-gemma-4-e4b-GGUF:Q8_0
Build from source code
git clone https://github.com/ggerganov/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-server llama-cli # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama-server -hf AltronisSG/judgment-qc-gate-gemma-4-e4b-GGUF:Q8_0 # Run inference directly in the terminal: ./build/bin/llama-cli -hf AltronisSG/judgment-qc-gate-gemma-4-e4b-GGUF:Q8_0
Use Docker
docker model run hf.co/AltronisSG/judgment-qc-gate-gemma-4-e4b-GGUF:Q8_0
- LM Studio
- Jan
- vLLM
How to use AltronisSG/judgment-qc-gate-gemma-4-e4b-GGUF with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "AltronisSG/judgment-qc-gate-gemma-4-e4b-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": "AltronisSG/judgment-qc-gate-gemma-4-e4b-GGUF", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/AltronisSG/judgment-qc-gate-gemma-4-e4b-GGUF:Q8_0
- Ollama
How to use AltronisSG/judgment-qc-gate-gemma-4-e4b-GGUF with Ollama:
ollama run hf.co/AltronisSG/judgment-qc-gate-gemma-4-e4b-GGUF:Q8_0
- Unsloth Studio
How to use AltronisSG/judgment-qc-gate-gemma-4-e4b-GGUF with Unsloth Studio:
Install Unsloth Studio (macOS, Linux, WSL)
curl -fsSL https://unsloth.ai/install.sh | sh # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for AltronisSG/judgment-qc-gate-gemma-4-e4b-GGUF to start chatting
Install Unsloth Studio (Windows)
irm https://unsloth.ai/install.ps1 | iex # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for AltronisSG/judgment-qc-gate-gemma-4-e4b-GGUF to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for AltronisSG/judgment-qc-gate-gemma-4-e4b-GGUF to start chatting
- Pi
How to use AltronisSG/judgment-qc-gate-gemma-4-e4b-GGUF with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf AltronisSG/judgment-qc-gate-gemma-4-e4b-GGUF:Q8_0
Configure the model in Pi
# Install Pi: npm install -g @mariozechner/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "llama-cpp": { "baseUrl": "http://localhost:8080/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "AltronisSG/judgment-qc-gate-gemma-4-e4b-GGUF:Q8_0" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Hermes Agent new
How to use AltronisSG/judgment-qc-gate-gemma-4-e4b-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 AltronisSG/judgment-qc-gate-gemma-4-e4b-GGUF:Q8_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:8080/v1 hermes config set model.default AltronisSG/judgment-qc-gate-gemma-4-e4b-GGUF:Q8_0
Run Hermes
hermes
- Atomic Chat new
- OpenClaw new
How to use AltronisSG/judgment-qc-gate-gemma-4-e4b-GGUF with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf AltronisSG/judgment-qc-gate-gemma-4-e4b-GGUF:Q8_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:8080/v1 \ --custom-model-id "AltronisSG/judgment-qc-gate-gemma-4-e4b-GGUF:Q8_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"
- Docker Model Runner
How to use AltronisSG/judgment-qc-gate-gemma-4-e4b-GGUF with Docker Model Runner:
docker model run hf.co/AltronisSG/judgment-qc-gate-gemma-4-e4b-GGUF:Q8_0
- Lemonade
How to use AltronisSG/judgment-qc-gate-gemma-4-e4b-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull AltronisSG/judgment-qc-gate-gemma-4-e4b-GGUF:Q8_0
Run and chat with the model
lemonade run user.judgment-qc-gate-gemma-4-e4b-GGUF-Q8_0
List all available models
lemonade list
Judgment QC gate (Gemma variant) — v6, Q8_0 GGUF
⚠️ Not the served gate. This is the Gemma arm of a two-base comparison. Its judgment matches the Qwen3-4B sibling, but it breaks the one-line output contract on 5 of 58 held-out cases, which any parser reads as a block. Qwen ships. This is published so the comparison is reproducible and because a Gemma-4-E4B fine-tune that converts and serves cleanly is a useful starting point on its own.
Merged Q8_0 GGUF of the v6 Gemma adapter: a LoRA that reviews work the way one operator does. Adapter, corpus methodology, full evaluation and limitations live in the companion LoRA repo, read that before using this: https://huggingface.co/AltronisSG/judgment-qc-gate-gemma-4-e4b-lora
- File:
judgment-gemma-4-e4b-v6-Q8_0.gguf, 7.4 GiB - Built: 2026-07-25, llama.cpp
convert_hf_to_gguf.py, no special flags. Its converter already registers the Gemma4 architectures, so claims that llama.cpp cannot convertgemma4are out of date.
Serve
llama-server -m judgment-gemma-4-e4b-v6-Q8_0.gguf \
--host 127.0.0.1 --port 8005 \
--ctx-size 4096 --parallel 1 -ngl 99 -fa 1 \
--jinja --reasoning-budget 0 --no-warmup
Loads in about 2 seconds from page cache on a Strix Halo box.
Output contract
Input is one line describing a work situation, prefixed with its phase. Output is meant to be exactly one line:
VERDICT: <TAG> | <one-sentence correction>
VERDICT: OK
VERDICT: ABSTAIN | <what is missing>
<TAG> comes from a closed 14-tag vocabulary. Treat VERDICT: OK as pass and anything else as a correction
to act on.
Measured behaviour
58 held-out examples never trained on, temperature 0, served through llama.cpp. Identical corpus and identical 156/58 split to the Qwen sibling, so the base model is the only variable:
| Check | This model | Qwen3-4B sibling |
|---|---|---|
| Returns a parseable one-line verdict | 53/58 | 58/58 |
| False blocks on clean work | 0/16 | 0/16 |
| Real violations caught | 33/34 | 33/34 |
| Exact tag match | 13/34 | 12/34 |
On the decision a gate actually makes, block or pass, both are 49 of 50. The exact-tag column differs by one case out of 34, which is noise.
The 5 failures are one pathology, and you should expect it: it writes its reasoning where the verdict belongs, almost always on cases whose correct answer is ABSTAIN. It reasons toward "not enough information" and never commits to the line. If you wire this up, either add a stop sequence and re-prompt on a non-conforming reply, or treat unparseable output as a pass rather than a block. Do not treat it as a block: that converts a genuine 0/16 false-block rate into roughly 9% false blocks through formatting alone.
Wiring it as a gate
Fail open, loudly. If the gate is unreachable, let the work through and say the gate was down. A quality gate that silently blocks is worse than no gate.
Attribution
Base model: google/gemma-4-E4B-it (Apache-2.0) by Google. Adapter and this conversion released under Apache-2.0.
Built by Altronis, private LLMs and governed AI delivery, Singapore. Trained, merged, converted and evaluated on a single desk-side AMD Strix Halo machine. Setup notes and the Unsloth ROCm writeup: https://github.com/sypherin/strix-halo-setup
- Downloads last month
- 173
8-bit