Instructions to use Piotr1215/Winnow-12B-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 Piotr1215/Winnow-12B-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 Piotr1215/Winnow-12B-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf Piotr1215/Winnow-12B-GGUF:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf Piotr1215/Winnow-12B-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf Piotr1215/Winnow-12B-GGUF:Q4_K_M
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 Piotr1215/Winnow-12B-GGUF:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf Piotr1215/Winnow-12B-GGUF:Q4_K_M
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 Piotr1215/Winnow-12B-GGUF:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf Piotr1215/Winnow-12B-GGUF:Q4_K_M
Use Docker
docker model run hf.co/Piotr1215/Winnow-12B-GGUF:Q4_K_M
- LM Studio
- Jan
- Ollama
How to use Piotr1215/Winnow-12B-GGUF with Ollama:
ollama run hf.co/Piotr1215/Winnow-12B-GGUF:Q4_K_M
- Unsloth Desktop
- Pi
How to use Piotr1215/Winnow-12B-GGUF with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf Piotr1215/Winnow-12B-GGUF:Q4_K_M
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:8080/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "Piotr1215/Winnow-12B-GGUF:Q4_K_M" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use Piotr1215/Winnow-12B-GGUF with Docker Model Runner:
docker model run hf.co/Piotr1215/Winnow-12B-GGUF:Q4_K_M
- Lemonade
How to use Piotr1215/Winnow-12B-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull Piotr1215/Winnow-12B-GGUF:Q4_K_M
Run and chat with the model
lemonade run user.Winnow-12B-GGUF-Q4_K_M
List all available models
lemonade list
- Hermes Agent
How to use Piotr1215/Winnow-12B-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 Piotr1215/Winnow-12B-GGUF:Q4_K_M
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 Piotr1215/Winnow-12B-GGUF:Q4_K_M
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use Piotr1215/Winnow-12B-GGUF with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf Piotr1215/Winnow-12B-GGUF:Q4_K_M
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 "Piotr1215/Winnow-12B-GGUF:Q4_K_M" \ --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"
Winnow-12B GGUF (Q4_K_M)
A Q4_K_M quantization of EldanRing/Winnow-12B, a Gemma 4 12B IT fine-tune for typed decisions. The upstream repository ships BF16 and Q8_0. This file fits a 12 GB GPU with full offload: Ollama loads it in 8.0 GB.
Files
| File | Size | SHA-256 |
|---|---|---|
Winnow-12B-Q4_K_M.gguf |
7.38 GB | 90c1bcc54d26bc99207929d4be23b9a88dc3e944fe39e80ce8bf95225d516218 |
Text only. Vision with the upstream mmproj-Winnow-12B.gguf was not tested with this quantization.
Provenance
- Source:
gguf/Winnow-12B-BF16.gguffrom EldanRing/Winnow-12B, SHA-25610e6b41e00a3fc6668b53a92fb5d9c85179f47145e0786e7a3bc7b5b09ba8968. - Quantized with
llama-quantize Winnow-12B-BF16.gguf Winnow-12B-Q4_K_M.gguf Q4_K_M, built unpatched from llama.cpp commit911f6cd, the commit Winnow's inference server pins. - 22,713 MiB at 16.00 bits per weight became 7,024 MiB at 4.95.
Ollama
printf 'FROM hf.co/Piotr1215/Winnow-12B-GGUF:Q4_K_M\nTEMPLATE {{ .Prompt }}\nRENDERER gemma4\nPARSER gemma4\nPARAMETER temperature 1\nPARAMETER top_k 64\nPARAMETER top_p 0.95\n' > Modelfile
ollama create winnow:12b-q4_K_M -f Modelfile
The Modelfile selects Ollama's built-in Gemma 4 renderer, the setup measured below. To read a decision, ask for one token with log probabilities (num_predict: 1, logprobs: true, top_logprobs: 20, think: false) and compare the answer labels' probabilities.
Winnow's own llama.cpp server adds a typed-decision API. It was not tested with this quantization.
Evaluation
One comparison against stock gemma4:12b, both Q4_K_M, served by Ollama 0.34.3 with the same Gemma 4 renderer and the same prompts, on an RTX 5070 Ti Laptop GPU (12 GB). Each answer is read from the first token's log probabilities.
| Set | Items | gemma4:12b | This quantization |
|---|---|---|---|
| SemIf authored decisions, three described options | 144 | 139 | 139 |
| Synthetic yes/no | 15 | 15 | 15 |
| Private RAG relevance | 70 | 66 | 66 |
| Private mail, newsletter or not | 55 | 55 | 55 |
| Private mail, needs action or not | 60 | 50 | 54 |
| Total | 344 | 325 | 329 |
| Measure | gemma4:12b | This quantization |
|---|---|---|
| Held-out NLL, yes/no sets, fitted temperature | 0.200 | 0.166 |
| Held-out NLL, option sets, fitted temperature | 0.171 | 0.167 |
| Model-call latency p50 / p95 | 218 / 601 ms | 222 / 622 ms |
The total differs by 4 items: 7 won, 3 lost. A paired bootstrap puts the 95% interval for the accuracy difference at -0.6 to +2.9 points, so treat it as parity with a gain on the action set. This quantization was not compared with the upstream BF16 or Q8_0 files, so its quantization loss is unmeasured.
License
Apache-2.0, following Winnow-12B and Gemma 4. LICENSE and NOTICE are copied unchanged from EldanRing/Winnow-12B. The only change from the upstream BF16 file is the Q4_K_M quantization described above. This repository is independent and not affiliated with or endorsed by EldanRing, TypeSafe or Google.
- Downloads last month
- 1,246
4-bit