pointbreaklab commited on
Commit
d6bc4ce
·
verified ·
1 Parent(s): 2120680

Knot Delta model card

Browse files
Files changed (1) hide show
  1. README.md +77 -0
README.md ADDED
@@ -0,0 +1,77 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ base_model: unsloth/Qwen3.5-9B
4
+ pipeline_tag: text-generation
5
+ tags:
6
+ - code
7
+ - change-analysis
8
+ - commit
9
+ - gguf
10
+ - on-device
11
+ ---
12
+
13
+ # Knot Delta
14
+
15
+ **On-device model that explains what changed.** Give it a commit and Knot Delta
16
+ writes a grounded report: what moved, why, and the risk. A 9B model, served as a
17
+ single quantized GGUF that runs on your machine.
18
+
19
+ Part of the **Knot AI** family, alongside
20
+ [**Knot Scribe**](https://huggingface.co/pointbreaklab/knot-scribe) (which writes
21
+ your commit messages). Delta is the change-intelligence layer inside
22
+ [Knot](https://pointbreaklab.com/knot/).
23
+
24
+ A fine-tune of **Qwen3.5-9B**, merged and exported to a text-only
25
+ `Q4_K_M` GGUF (~5.2 GB) for `llama.cpp` / Ollama.
26
+
27
+ ## Capability scorecard (honest)
28
+
29
+ Every number is measured against **objective ground truth** (real git history),
30
+ reported **beside the baseline a lazy model would score**. No aggregate
31
+ "intelligence score" is quoted. Frozen held-out set: **325 commits across 9
32
+ unseen real repos** (vite, vue, svelte, astro, ionic, gumroad, OpenDream,
33
+ radicle, vllm).
34
+
35
+ | capability | number | baseline | verdict |
36
+ |---|---|---|---|
37
+ | **Change-type** (intent read from code), macro-F1 | **0.409** | majority-class 0.032 | **real — 12.9× base rate** (n=235) |
38
+ | **Cited files that exist in the diff** | **100%** | — | never hallucinates a file; holds on unseen Go |
39
+ | **Reports fully grounded** | **98.5%** | — | 325 held-out commits (first-pass 88%) |
40
+ | **Exact-line precision** | **0.64** | 0.94 lenient (right region) | honest limit: file + region reliable, exact line ~64% |
41
+
42
+ **Multi-repo generalization** (exact-line precision, 4 unseen repos):
43
+
44
+ | repo | language | verified | line precision |
45
+ |---|---|---|---|
46
+ | flask | Python | 11/12 | 0.74 |
47
+ | gin | Go (unseen) | 12/12 | 0.70 |
48
+ | ripgrep | Rust | 12/12 | 0.52 |
49
+ | frozen-325 | JS/TS + | 320/325 | 0.64 |
50
+
51
+ **Honest read:** Delta never cites a file that isn't in the diff (100% across
52
+ every repo, including Go, which is absent from its training data), and it always
53
+ points at the right region. What it does *not* yet do reliably is pin the exact
54
+ line — that lands 52–74% of the time, lowest on Rust. It knows which file and
55
+ which part changed; the precise line is still improving. One capability,
56
+ measured straight, with the parts that don't yet work said out loud.
57
+
58
+ ## Use it
59
+
60
+ **llama.cpp**
61
+
62
+ ```bash
63
+ llama-server --model kd-delta-9b-Q4_K_M.gguf
64
+ ```
65
+
66
+ **Ollama**
67
+
68
+ ```bash
69
+ ollama run pointbreaklab/knot-delta
70
+ ```
71
+
72
+ ## Model
73
+
74
+ - **Base:** Qwen3.5-9B
75
+ - **Format:** text-only `Q4_K_M` GGUF, ~5.2 GB
76
+ - **Runs:** `llama.cpp` / Ollama, CPU or GPU, fully local
77
+ - **License:** Apache-2.0