Instructions to use ricalanis/scrubdata-qwen3-4b-v6-q8 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 ricalanis/scrubdata-qwen3-4b-v6-q8 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 ricalanis/scrubdata-qwen3-4b-v6-q8:Q8_0 # Run inference directly in the terminal: llama cli -hf ricalanis/scrubdata-qwen3-4b-v6-q8:Q8_0
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf ricalanis/scrubdata-qwen3-4b-v6-q8:Q8_0 # Run inference directly in the terminal: llama cli -hf ricalanis/scrubdata-qwen3-4b-v6-q8: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 ricalanis/scrubdata-qwen3-4b-v6-q8:Q8_0 # Run inference directly in the terminal: ./llama-cli -hf ricalanis/scrubdata-qwen3-4b-v6-q8: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 ricalanis/scrubdata-qwen3-4b-v6-q8:Q8_0 # Run inference directly in the terminal: ./build/bin/llama-cli -hf ricalanis/scrubdata-qwen3-4b-v6-q8:Q8_0
Use Docker
docker model run hf.co/ricalanis/scrubdata-qwen3-4b-v6-q8:Q8_0
- LM Studio
- Jan
- Ollama
How to use ricalanis/scrubdata-qwen3-4b-v6-q8 with Ollama:
ollama run hf.co/ricalanis/scrubdata-qwen3-4b-v6-q8:Q8_0
- Unsloth Desktop
- Pi
How to use ricalanis/scrubdata-qwen3-4b-v6-q8 with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf ricalanis/scrubdata-qwen3-4b-v6-q8:Q8_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:8080/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "ricalanis/scrubdata-qwen3-4b-v6-q8:Q8_0" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use ricalanis/scrubdata-qwen3-4b-v6-q8 with Docker Model Runner:
docker model run hf.co/ricalanis/scrubdata-qwen3-4b-v6-q8:Q8_0
- Lemonade
How to use ricalanis/scrubdata-qwen3-4b-v6-q8 with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull ricalanis/scrubdata-qwen3-4b-v6-q8:Q8_0
Run and chat with the model
lemonade run user.scrubdata-qwen3-4b-v6-q8-Q8_0
List all available models
lemonade list
- Hermes Agent
How to use ricalanis/scrubdata-qwen3-4b-v6-q8 with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf ricalanis/scrubdata-qwen3-4b-v6-q8: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 ricalanis/scrubdata-qwen3-4b-v6-q8:Q8_0
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use ricalanis/scrubdata-qwen3-4b-v6-q8 with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf ricalanis/scrubdata-qwen3-4b-v6-q8: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 "ricalanis/scrubdata-qwen3-4b-v6-q8: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"
ScrubData planner v6 — Q8_0 GGUF (the blessed release)
The v6 fine-tune of the ScrubData tabular-cleaning planner (≤4B, plan-emitting, never cell-editing). v6 = the winner of a measured data-scaling loop: same recipe as v5 but with ~3× the real, execution-verified paired supervision (Raha hospital/beers/movies cell-aligned pairs + ROR org-alias vocabulary in the synthetic generator).
Measured (vs v5):
- Real hospital typo repair: recall 0.42 → 0.475, precision 0.16 → 0.185 (frontier zero-shot reference: 0.51)
- Synthetic canonicalization (same protocol): +0.09 F1, seed-robust (3 seeds, non-overlapping CIs)
- Negative results from the same loop (documented in the paper): frequency-derived and algorithm-cleaned labels both reduce quality — real benchmark-gold pairs are what transfer.
Run it (Ollama / llama.cpp):
ollama pull hf.co/ricalanis/scrubdata-qwen3-4b-v6-q8:Q8_0
ollama create scrubdata-ft -f notebooks/Modelfile # non-thinking template (required)
SCRUBDATA_MODEL=scrubdata-ft uv run server.py
Q8_0 only — Q4_K_M exports corrupt this model (documented). In production the planner is wrapped with reference grounding + calibrated abstention (it never free-generates a canonical for a grounded column type).
Shipped composition (WS1 — verified union planner): in the product, every
model-proposed mapping is scored by a deterministic verifier (errors-are-rare frequency
gates, variant similarity, reference agreement; threshold SCRUBDATA_TAU, default 0.5)
and unioned with the grounded heuristic. Measured on hospital's 509 real errors:
0.905 precision @ 0.413 coverage (gated model plan alone: 0.993 @ 0.287 — 146/147
committed changes correct; seed-robust: 0.891 ± 0.012 @ 0.396 ± 0.025 over 3 training
seeds). Dropped merges become review flags, never silent skips.
Post-freeze system (v2, June 2026): the pipeline around this model added four deterministic capabilities (suspect surfacing, generic entity reference, cross-row majority voting, convention gates). On the WildClean benchmark: unseen-source macro F1 0.363 @ damage 0.0219, 0 silent edits across 35 wild tables + 239-table trust audit. Five further fine-tunes and a 3-arm GRPO pilot did NOT improve held-out generalization — v6 remains the champion adapter; the deterministic machinery + verifier carry generalization (central finding, see paper). In the same verify+union harness, two of three zero-shot 24–31B open-weights planners exceed this operating point (0.915 @ 0.485 vs 0.905 @ 0.413, paper §scaling); the 4B remains the most precise gated planner at usable coverage and the only locally-measured one — the architecture, not the fine-tune, is the portable contribution.
Live demo: https://huggingface.co/spaces/build-small-hackathon/scrubdata ·
Code (open source): https://github.com/ricalanis/scrubdata-hackathon · Paper: docs/paper/ in the repo ·
Benchmark: https://huggingface.co/datasets/ricalanis/wildclean
Integrity
- 2026-06-12 —
scrubdata-qwen3-4b-v6.Q8_0.ggufreplaced (same filename, pull commands unchanged); sha256ef08cc6cc0cfdf289b14459052ab426b66d89c6a0a3c0206bfbdc9f65417e6a1. The previous GGUF (sha2569caa0b2c52d04bd03dddbddc8452d52a48438d0208cc75371be7728067186ae6) was corrupted by an export bug (declared a Llama-range EOG token id 128247 inside the Qwen3 vocab, degenerating into<tool_call>loops on all runtimes) and has been replaced with a clean re-export from the v6 adapter (peft merge + llama.cppconvert_hf_to_gguf.py --outtype q8_0), smoke-tested before upload. Discovered by our own reproducibility QA.
- Downloads last month
- 14
8-bit
Model tree for ricalanis/scrubdata-qwen3-4b-v6-q8
Base model
Qwen/Qwen3-4B-Instruct-2507