jackasda211233 commited on
Commit
b36b1f3
Β·
verified Β·
1 Parent(s): db5c16c

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +10 -17
README.md CHANGED
@@ -82,28 +82,21 @@ This is not typical. Through extensive real-world testing, the **IQ4_NL quantiza
82
  2. **Custom imatrix preserves reasoning weights** β€” 30% reasoning/self-verification calibration data ensures chain-of-thought and self-correction weights are preserved
83
  3. **Half the size, better results** β€” 17GB vs 56GB, fits on a single 24GB GPU
84
 
85
- ### Full Test Results
86
 
87
- **Test 1: Automated coding (5 LeetCode problems, auto-verified)**
88
 
89
- | Quant | imatrix | Temp 0.6 | Temp 0.8 |
90
- |-------|---------|----------|----------|
91
- | **IQ4_NL (custom)** | **reasoning** | **5/5** | **5/5** |
92
- | Q8_0 (custom) | reasoning | 5/5 | 5/5 |
93
- | Q6_K (any) | β€” | 2/5 (loops) | 1/5 (loops) |
94
- | BF16 | N/A | 2/5 (loops) | 2/5 (loops) |
95
 
96
- **Test 2: Full-stack project (AI Radar β€” 4 APIs, frontend, backend, DB, 256k context)**
 
 
 
 
97
 
98
- | Quant | imatrix | Completed | DB Works | Errors | Loops | Grade |
99
- |-------|---------|-----------|----------|--------|-------|-------|
100
- | **IQ4_NL (custom)** | **reasoning** | **βœ…** | **βœ… 175 items** | **3** | **0** | **A-** |
101
- | Q8_0 (custom) | reasoning | βœ… | ❌ await bug | 2 | 0 | B+ |
102
- | Q8_0 (wiki) | standard | βœ… | ⚠️ 16 items | 5 | 0 | B |
103
- | IQ4_NL (wiki) | standard | ❌ | β€” | 10 | 10+ | F |
104
- | Q8_0 (BF16 KV) | reasoning | ❌ | β€” | β€” | 3+ | F |
105
 
106
- **The custom imatrix is the critical factor** β€” IQ4_NL-custom (A-) vs IQ4_NL-wiki (F) on identical tasks.
107
 
108
  ## Critical: Use F16 KV Cache
109
 
 
82
  2. **Custom imatrix preserves reasoning weights** β€” 30% reasoning/self-verification calibration data ensures chain-of-thought and self-correction weights are preserved
83
  3. **Half the size, better results** β€” 17GB vs 56GB, fits on a single 24GB GPU
84
 
85
+ ### How IQ4_NL Was Chosen
86
 
87
+ Multiple quantization variants were tested on the same real-world task: building a full-stack AI/ML news aggregator (AI Radar) from a single prompt, using [claw-code](https://github.com/ultraworkers/claw-code) as the agent framework. The project required 4 live API integrations (GitHub, Reddit, HuggingFace, ArXiv), a FastAPI backend, SQLite database, dark-theme SPA frontend, and automated test suite β€” all at 256k context.
88
 
89
+ **Real-world project results (same prompt, same model, different quants):**
 
 
 
 
 
90
 
91
+ | Variant | Project Completed | Database Persisted Data | Self-Corrected Errors | Loops | Verdict |
92
+ |---------|-------------------|------------------------|----------------------|-------|---------|
93
+ | **IQ4_NL + custom imatrix + F16 KV** | **βœ… 7 files** | **βœ… 175 items from live APIs** | **3 (all recovered)** | **0** | **Best** |
94
+ | Same IQ4_NL + wiki imatrix + F16 KV | ❌ 0 files | β€” | 10 (never recovered) | 10+ looping write attempts | Failed |
95
+ | Same model + any quant + BF16 KV | ❌ 0 files | β€” | β€” | Looped on basic commands | Failed |
96
 
97
+ The IQ4_NL with custom imatrix was the **only variant that produced working database persistence** β€” all other variants had bugs in async database writes that prevented data from being saved. The custom imatrix preserves the model's self-correction behavior ("wait, that's wrong, let me fix it") that standard calibration destroys at this quantization level.
 
 
 
 
 
 
98
 
99
+ **Supporting evidence: 5 automated coding problems (merge intervals, LCS, RPN evaluator, valid parentheses, trapping rain water) tested at both temperature 0.6 and 0.8 β€” IQ4_NL with custom imatrix scored 5/5 at both temperatures.** BF16 and Q6_K both entered infinite thinking loops on the same problems.
100
 
101
  ## Critical: Use F16 KV Cache
102