Downloads · 30 days
70
13% of all-time downloads
ai-sherpa/Qwen3-8B-Kintsugi-GGUF
Qwen3-8B-Kintsugi-GGUF is a text generation model from ai-sherpa. Use it when you need the model to write or continue text. The card lists the license as apache-2.0.
GGUF quantizations (Q4KM primary, Q5KM fallback) of ai-sherpa/Qwen3-8B-Kintsugi — a QLoRA fine-tuned for The Kintsugi Garden, a Hugging Face Build Small Hackathon submission that turns dreams, journal entries, and inn…
Downloads · 30 days
70
13% of all-time downloads
All-time downloads
533
Public
Repo size
10.9 GB
Likes
0
Public
Click a slice to open those files.
.gguf10.9 GB · 100%
From the Hugging Face model README
GGUF quantizations (Q4_K_M primary, Q5_K_M fallback) of
ai-sherpa/Qwen3-8B-Kintsugi
— a QLoRA fine-tuned for The Kintsugi Garden, a Hugging Face
Build Small Hackathon submission that turns dreams, journal entries,
and inner transitions into hedged, six-section symbolic reflections.
This repo is what the live Space
build-small-hackathon/Kintsugi-Garden
loads in production via llama-cpp-python; the default file is
Qwen3-8B-Kintsugi-Q4_K_M.gguf.
The Kintsugi Garden is a symbolic reflection surface, not a chat assistant. The fine-tune teaches the base Qwen3-8B model the editorial voice of the Garden's reading pipeline:
It is the narrow model the Garden needs to ship under the Build Small constraint: small enough for free CPU inference on ZeroGPU, specific enough that 8B is genuinely sufficient.
ai-sherpa/Qwen3-8B-Kintsugi
instead.| File | Quant | Size | Use case |
|---|---|---|---|
Qwen3-8B-Kintsugi-Q4_K_M.gguf | Q4_K_M | ~5 GB | Primary — what app.py's LLAMA_FILE default points at; the file the live Space loads. |
Qwen3-8B-Kintsugi-Q5_K_M.gguf | Q5_K_M | ~6 GB | Fallback — env-flip target if Q4 voice or format ever regresses; ~1 GB larger, marginally crisper hedging. |
Both quants pass the QA harness; Q4_K_M was selected as the default on the size/quality trade-off appropriate for free-tier Spaces.
The Space's app.py reads two environment variables (with these
defaults baked in since the TODO #14 ship commit 70ed23b):
KINTSUGI_LLAMA_REPO=ai-sherpa/Qwen3-8B-Kintsugi-GGUF
KINTSUGI_LLAMA_FILE=Qwen3-8B-Kintsugi-Q4_K_M.gguf
Source: app.py:81-82 in the
GitHub repo.
First boot downloads the GGUF into the HF cache; subsequent boots
are instant. To swap to the Q5 fallback, override KINTSUGI_LLAMA_FILE
in the Space's secrets — no code change required.
llama-cpp-pythonThe Space loads this model in-process; the snippet below mirrors that path closely enough to reproduce a Garden-style reading locally.
from huggingface_hub import hf_hub_download
from llama_cpp import Llama
model_path = hf_hub_download(
repo_id="ai-sherpa/Qwen3-8B-Kintsugi-GGUF",
filename="Qwen3-8B-Kintsugi-Q4_K_M.gguf",
)
llm = Llama(
model_path=model_path,
n_ctx=4096,
n_threads=8,
verbose=False,
)
system_prompt = (
"You are the Kintsugi Garden's symbolic reflection voice. "
"Respond ONLY in the six-section format: Image, Symbols, "
"Pattern, Tension, Invitation, Caveat. Use hedged language "
"('may suggest', 'could reflect'). Never diagnose, predict, "
"or advise. Ground symbols in the Jungian lexicon."
)
dream = (
"I was walking through a flooded house. The water was warm "
"and I wasn't afraid, but I couldn't find the staircase."
)
response = llm.create_chat_completion(
messages=[
{"role": "system", "content": system_prompt},
{"role": "user", "content": dream},
],
temperature=0.7,
max_tokens=512,
)
print(response["choices"][0]["message"]["content"])
The live Space wraps this in the four-layer safety stack and the format linter; calling the raw model directly skips those guards.
llama.cpp at
tag b9556.convert_hf_to_gguf.py on the merged
ai-sherpa/Qwen3-8B-Kintsugi
→ fp16 intermediate GGUF.llama-quantize → Q4_K_M (primary).llama-quantize → Q5_K_M (fallback).llama-cpp-python
with a single representative dream prompt before push; both
produced well-formed six-section output.scripts/convert_to_gguf.py
in the GitHub repo.The merged Hugging Face-format weights live at
ai-sherpa/Qwen3-8B-Kintsugi.
See that card for the full training detail; in brief:
Qwen/Qwen3-8Bscripts/build_training_data.pyThe fine-tune is gated by a QA acceptance harness that compares it against the un-tuned Qwen3-8B baseline on the same prompts. Verdict for this quant: PASS programmatically.
| Metric | Baseline | This model | Verdict |
|---|---|---|---|
| Safety routing (crisis → refusal) | 3/3 | 3/3 | PASS |
| Format integrity (six-section schema) | 19/19 | 19/19 | PASS |
| Hedging density | 1.00× | 0.90× | PASS (within tolerance) |
| Editorial veto | none | none | PASS |
Full side-by-side comparison artifact:
qa-results/compare-1f0699c2ca-vs-5eefd4a3dd-20260608T224802.md
in the GitHub repo. Protocol:
QA_PROTOCOL.md.
llama-cpp-python. No GPU required for
the GGUF path — the Q4_K_M file fits comfortably in the Space's
RAM and inference completes within the user-facing latency budget.n_threads=8. This is the
primary dev-loop hardware for the project.llama-cpp-python
n_gpu_layers parameter applies; not exercised by the Space but
works locally.Apache 2.0, inherited from the Qwen3-8B base. Same terms apply to both quants in this repo and to the merged source model.