Hakureirm commited on
Commit
d835767
·
verified ·
1 Parent(s): 3795f96

Finalize model card (accuracy notes) for public release

Browse files
Files changed (1) hide show
  1. README.md +27 -7
README.md CHANGED
@@ -1,21 +1,41 @@
1
  ---
2
  license: apache-2.0
3
- frameworks: [pytorch]
4
- tasks: [text-generation]
5
- base_model: [BlinkDL/rwkv7-g1]
 
 
 
 
 
6
  ---
7
 
8
  # RWKV-7 G1 1.5B — int4 GPTQ for rwkv-sglang
9
 
10
- Hand-written **weight-only int4** (GPTQ-calibrated) quantization of BlinkDL's RWKV-7 "Goose"
11
- G1 1.5B, for the [rwkv-sglang](https://github.com/Hakureirm/rwkv-sglang) serving overlay.
 
12
 
13
- - **Accuracy:** GPTQ (wikitext-calibrated) lambada 0.639 vs 0.672 fp16 (−3.34pt), recovering
14
- +1.6pt over calibration-free RTN; kernel output is bit-identical to the offline dequant.
 
15
  - **Speed:** faster than fp16 at every batch size ≤ 32 on an RTX 3090 (1.03–1.56× decode),
16
  via a hand-written int4 GEMV / small-M GEMM / tensor-core GEMM family (JIT, Turing→Blackwell).
17
  - **VRAM:** checkpoint 1.2 GB vs 2.9 GB fp16 (~2.4×); serve VRAM −950 MiB at bsz1.
18
 
 
 
 
 
 
 
 
 
 
 
 
 
 
19
  ## Format & loading (important)
20
  Not a drop-in HuggingFace checkpoint. Weights are group-wise (GROUP=64) symmetric int4
21
  (`.qweight` + `.scale`); they load **only** through the rwkv-sglang overlay:
 
1
  ---
2
  license: apache-2.0
3
+ base_model: BlinkDL/rwkv7-g1
4
+ pipeline_tag: text-generation
5
+ tags:
6
+ - rwkv
7
+ - rwkv7
8
+ - int4
9
+ - gptq
10
+ - quantized
11
  ---
12
 
13
  # RWKV-7 G1 1.5B — int4 GPTQ for rwkv-sglang
14
 
15
+ Hand-written **weight-only int4** (GPTQ-calibrated, symmetric, group 64) quantization of
16
+ BlinkDL's RWKV-7 "Goose" G1 1.5B, for the
17
+ [rwkv-sglang](https://github.com/Hakureirm/rwkv-sglang) serving overlay.
18
 
19
+ - **Accuracy (perplexity-style):** GPTQ (wikitext-calibrated) lambada 0.639 vs 0.672 fp16
20
+ (−3.34pt), recovering +1.6pt over calibration-free RTN; kernel output is bit-identical to
21
+ the offline dequant.
22
  - **Speed:** faster than fp16 at every batch size ≤ 32 on an RTX 3090 (1.03–1.56× decode),
23
  via a hand-written int4 GEMV / small-M GEMM / tensor-core GEMM family (JIT, Turing→Blackwell).
24
  - **VRAM:** checkpoint 1.2 GB vs 2.9 GB fp16 (~2.4×); serve VRAM −950 MiB at bsz1.
25
 
26
+ ## ⚠️ Accuracy warning — multi-step reasoning (read before use)
27
+
28
+ Perplexity-style metrics understate int4's damage to multi-step reasoning **at this model
29
+ size**. On MATH500 (avg@64, 32,000 rollouts) this checkpoint scores **14.98% vs fp16's
30
+ 40.60% (−25.6pt)** — the quantized model tends to lose the thread mid-derivation and run to
31
+ the token cap (57.7% truncation vs fp16's 14.2%). This is a 1.5B-specific fragility, not a
32
+ property of the scheme itself: the identical symmetric GPTQ at 7.2B costs only −3.1pt on the
33
+ same ruler (see [rwkv7-sglang-w4gptq-7.2b](https://huggingface.co/Hakureirm/rwkv7-sglang-w4gptq-7.2b)).
34
+
35
+ **Recommendation:** treat this checkpoint as a memory-footprint tool for non-reasoning
36
+ workloads. For reasoning-heavy use at 1.5B, use the int8 w8g64 tier instead (greedy-exact,
37
+ no measurable accuracy cost) — int4 is not the lossless tier at this size.
38
+
39
  ## Format & loading (important)
40
  Not a drop-in HuggingFace checkpoint. Weights are group-wise (GROUP=64) symmetric int4
41
  (`.qweight` + `.scale`); they load **only** through the rwkv-sglang overlay: