Upload /README.md with huggingface_hub
Browse files
README.md
ADDED
|
@@ -0,0 +1,114 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: apache-2.0
|
| 3 |
+
base_model: Jackrong/Qwopus3.6-27B-Coder
|
| 4 |
+
tags:
|
| 5 |
+
- gguf
|
| 6 |
+
- quantization
|
| 7 |
+
- asi-evolve
|
| 8 |
+
- moq
|
| 9 |
+
- qwen3.5
|
| 10 |
+
- coder
|
| 11 |
+
- research-artifact
|
| 12 |
+
- superseded
|
| 13 |
+
---
|
| 14 |
+
|
| 15 |
+
# Qwopus3.6-27B-Coder-Predator-Q-ASI-v2
|
| 16 |
+
|
| 17 |
+
> **⚠️ STATUS (2026-06-24): SUPERSEDED by [Qwopus3.6-27B-Coder-GGUF-kaitchup-MoQ-4.0](https://huggingface.co/Fredred89/Qwopus3.6-27B-Coder-GGUF-kaitchup-MoQ-4.0) (MoQ-4.0, 12.4 GiB).**
|
| 18 |
+
>
|
| 19 |
+
> Multi-benchmark validation (HumanEval+ 164, MBPP+ 100, BigCodeBench 50, LCB-30 30) showed **no statistically significant difference** between v2 and MoQ-4.0 on any benchmark (all McNemar p > 0.31, Bonferroni α=0.0167). The +16% KL-divergence improvement of v2 did not translate to measurable task gains. MoQ-4.0 is preferred because it is 2 GB smaller and requires zero LLM iteration cost to build.
|
| 20 |
+
>
|
| 21 |
+
> This model is retained as a research artifact and as a baseline for "what LLM-guided recipe search produces." It is **not recommended for production use**.
|
| 22 |
+
|
| 23 |
+
## What this IS
|
| 24 |
+
|
| 25 |
+
ASI-Evolved v2 is the result of an LLM-guided recipe search starting from MoQ-4.0 (the kaitchup MoQ recipe applied directly to Qwopus). The ASI-Evolve framework iteratively improved the per-tensor quantization recipe using paired perplexity and KL-divergence against the F16 reference on WikiText-2. After 20 iterations of search:
|
| 26 |
+
|
| 27 |
+
**Quantization recipe (29 tensor-type overrides, 14.4 GiB, ~4.51 BPW):**
|
| 28 |
+
- L64 (nextn) tensors: bf16 (kaitchup's recipe was missing these — they were defaulting to Q4_K)
|
| 29 |
+
- 5 most-sensitive attention layers (L3, L7, L11, L59, L63): IQ4_NL
|
| 30 |
+
- Edge-layer ffn_up: IQ4_NL; middle ffn_up: IQ4_XS
|
| 31 |
+
- Remainder: kaitchup MoQ-4.0 recipe
|
| 32 |
+
|
| 33 |
+
**Quantitative gains over MoQ-4.0:**
|
| 34 |
+
- KL-divergence vs F16: 0.034 → 0.0287 (16% improvement)
|
| 35 |
+
- PPL ratio: 1.020
|
| 36 |
+
- File size: 12.4 → 14.4 GiB (+2 GiB, +16%)
|
| 37 |
+
|
| 38 |
+
**What did NOT improve (Phase 5 multi-benchmark validation):**
|
| 39 |
+
|
| 40 |
+
| Benchmark | MoQ-4.0 | v2 | Δ | McNemar p |
|
| 41 |
+
|---|---|---|---|---|
|
| 42 |
+
| HumanEval+ base (164) | 92.7% | 93.3% | +0.6pp | 0.65 |
|
| 43 |
+
| HumanEval+ plus (164) | 89.6% | 87.8% | -1.8pp | 0.65 |
|
| 44 |
+
| MBPP+ base (100) | 92.0% | 93.0% | +1.0pp | 0.56 |
|
| 45 |
+
| MBPP+ plus (100) | 79.0% | 78.0% | -1.0pp | 0.56 |
|
| 46 |
+
| BigCodeBench (50) | 42.0% | 44.0% | +2.0pp | 0.32 |
|
| 47 |
+
| LCB-30 (30) | 50.0% | 53.3% | +3.3pp | 0.72 |
|
| 48 |
+
|
| 49 |
+
All deltas are within binomial/McNemar noise. The 2 GB size premium and 5+ LLM-call iteration cost were not justified.
|
| 50 |
+
|
| 51 |
+

|
| 52 |
+
|
| 53 |
+

|
| 54 |
+
|
| 55 |
+
## Why v2 exists (research value)
|
| 56 |
+
|
| 57 |
+
This model demonstrates that:
|
| 58 |
+
|
| 59 |
+
1. **LLM-guided recipe search can find improvements** that a human or simple heuristic might miss — specifically, the missing L64 (nextn) tensor override and selective per-layer IQ4_NL application.
|
| 60 |
+
2. **KL-divergence improvement does not always equal task improvement.** v2 is genuinely more F16-like at the logit-distribution level, but this does not translate to better code generation, comprehension, or library use on the 6 tested benchmarks.
|
| 61 |
+
3. **The MoQ recipe is near-optimal for this model at this BPW range.** The kaitchup recipe is a strong local optimum; ASI-Evolve finds a slightly better KL-div point but no measurable downstream gain.
|
| 62 |
+
|
| 63 |
+
### Where v2 MIGHT help (not measured)
|
| 64 |
+
|
| 65 |
+
- **Math reasoning** (GSM8K, MATH) — could matter if KL-div wins translate to better arithmetic
|
| 66 |
+
- **Long-form generation** (creative writing, doc generation) — rare-token accuracy might matter
|
| 67 |
+
- **Multilingual tasks** — KL-div gap might be larger for non-English tokens
|
| 68 |
+
- **Production chat** — subjective quality differences not captured by these benchmarks
|
| 69 |
+
|
| 70 |
+
Future work should test on these dimensions before declaring v2 a clear win in any direction.
|
| 71 |
+
|
| 72 |
+
## Recipe discovery method
|
| 73 |
+
|
| 74 |
+
1. **Start:** kaitchup MoQ-4.0 recipe applied directly (Phase 1)
|
| 75 |
+
2. **Loop:** ASI-Evolve (gpt-5.2-codex low reasoning) generates per-tensor quantization recipe variations, scored on paired PPL + KL-div against F16
|
| 76 |
+
3. **Result after 20 iterations:** MoQ-4.0-AttnQSelectiveEdgeNL — 2.9% fitness improvement, 0.5% additional beyond step 1
|
| 77 |
+
|
| 78 |
+
## Reproduction
|
| 79 |
+
|
| 80 |
+
```bash
|
| 81 |
+
# Requires the evalplus library
|
| 82 |
+
pip install evalplus==0.3.1
|
| 83 |
+
|
| 84 |
+
# On a 1x L40S 48GB VSI:
|
| 85 |
+
python scripts/run_eval.py \
|
| 86 |
+
--benchmark humaneval_plus \
|
| 87 |
+
--model Qwopus3.6-27B-Coder-ASI-MoQ-4.0-14.4GB.gguf \
|
| 88 |
+
--n 164 --max-tokens 1024
|
| 89 |
+
|
| 90 |
+
# See the full multi-benchmark runner:
|
| 91 |
+
# scripts/run_all_evals.sh
|
| 92 |
+
# scripts/compare_results.py
|
| 93 |
+
```
|
| 94 |
+
|
| 95 |
+
## Provenance
|
| 96 |
+
|
| 97 |
+
- **Source model:** Qwopus3.6-27B-Coder BF16
|
| 98 |
+
- **Reference:** qwopus_f16.gguf (53.8 GB)
|
| 99 |
+
- **Imatrix:** qwopus_imatrix.gguf (14 MB)
|
| 100 |
+
- **Base logits:** base_logits_0.dat (5.9 GB, 50 chunks × 512 ctx)
|
| 101 |
+
- **Recipe:** `recipe.txt` (29 tensor-type overrides)
|
| 102 |
+
- **Built:** 2026-06-23, VSI predator-vsi-05, 1x L40S 48GB
|
| 103 |
+
- **Validation date:** 2026-06-24 (Phase 5 multi-benchmark test)
|
| 104 |
+
- **SHA256:** `63ab13aab9c1078a782ad02f725ee69f7f3c5d398b30759c814afef5d56272fa`
|
| 105 |
+
|
| 106 |
+
## Honest assessment
|
| 107 |
+
|
| 108 |
+
ASI-Evolve produced a model that is **more F16-like at the logit distribution level** but **not measurably better at coding tasks**. The 2 GB cost and 5+ LLM-call iteration cost were not justified. The Pareto-optimal choice is MoQ-4.0 (smaller, equivalent).
|
| 109 |
+
|
| 110 |
+
The reason this is still worth shipping as a research artifact: it is the closest we can get to BF16 quality in 14.4 GB, and may matter for tasks not captured by these benchmarks. Future work could test on additional benchmarks.
|
| 111 |
+
|
| 112 |
+
## License
|
| 113 |
+
|
| 114 |
+
Apache 2.0 (inherited from base model)
|