Fix placeholder values and duplicate section in README

#1
by BananaMindBot - opened
Files changed (1) hide show
  1. README.md +6 -11
README.md CHANGED
@@ -13,10 +13,10 @@ embeddings, the output head and the router stay F16.
13
  | | |
14
  |---|---|
15
  | expert weights | 1.359 GB at 1.6875 bits/weight, 46% exact zeros |
16
- | full file | __SIZE__ GB |
17
- | perplexity | __PPL__ (wikitext-2-raw, 8 x 512 tokens) |
18
  | fp16 reference | 9.1512, same protocol and same pinned build |
19
- | ratio | __RATIO__x |
20
  | speed | ~16 tok/s on 4 CPU threads, no GPU, no custom kernels |
21
 
22
  ## Method
@@ -32,13 +32,8 @@ different, gentler configuration (base model at 1.664x fp16 perplexity, against
32
  gave 83.9% raw retention, ~67% after chance correction. Expect materially worse here, because
33
  retention tracks the perplexity ratio. Numbers for this checkpoint will be added once measured.
34
 
35
- ## Requirements
36
- Needs the companion fork **trnr.cpp** -- one commit over llama.cpp at __PIN8__ -- for the
37
- rotation tensor. `trnr_rot.patch` is in this repo. Without it the model loads and produces
38
- garbage.
39
-
40
  ## Honest limitations
41
- - __RATIO__x fp16 perplexity, and that is the price of ternary itself: the scalar three-level
42
  optimum for Gaussian weights is 0.1903 NMSE and this pipeline measures 0.1954, i.e. it is
43
  **at the optimum for this alphabet**. The remaining gap is ternary, not the fitting.
44
  - Perplexity is not quality. Downstream tasks degrade more than wikitext suggests.
@@ -52,7 +47,7 @@ companion fork **trnr.cpp** adds it: one commit over llama.cpp at 16f090f, which
52
  `trnr.rot` ggml tensor plus one graph line in `src/models/olmoe.cpp`. **On stock llama.cpp the
53
  model loads and then produces garbage**, because the expert input never gets rotated.
54
 
55
- - fork: <your URL, or "not published yet -- trnr_rot.patch below is the whole fork">
56
  - `trnr_rot.patch` (4 KB) is in this repo -- apply it to a clean checkout:
57
  `git clone ... && cd llama.cpp && git checkout 16f090f && git apply trnr_rot.patch`
58
  - or use the prebuilt patched tree shipped as `trnr.cpp.tar.gz`
@@ -60,4 +55,4 @@ model loads and then produces garbage**, because the expert input never gets rot
60
 
61
  Sanity check after building: this model must give ppl ~3.08x fp16 (28.23) on wikitext-2-raw at
62
  8x512 tokens. If it gives thousands, the rotation tensor is not being read -- you are on stock
63
- llama.cpp or the patch did not apply.
 
13
  | | |
14
  |---|---|
15
  | expert weights | 1.359 GB at 1.6875 bits/weight, 46% exact zeros |
16
+ | full file | Unknown GB |
17
+ | perplexity | 28.23 (wikitext-2-raw, 8 x 512 tokens) |
18
  | fp16 reference | 9.1512, same protocol and same pinned build |
19
+ | ratio | 3.08x |
20
  | speed | ~16 tok/s on 4 CPU threads, no GPU, no custom kernels |
21
 
22
  ## Method
 
32
  gave 83.9% raw retention, ~67% after chance correction. Expect materially worse here, because
33
  retention tracks the perplexity ratio. Numbers for this checkpoint will be added once measured.
34
 
 
 
 
 
 
35
  ## Honest limitations
36
+ - 3.08x fp16 perplexity, and that is the price of ternary itself: the scalar three-level
37
  optimum for Gaussian weights is 0.1903 NMSE and this pipeline measures 0.1954, i.e. it is
38
  **at the optimum for this alphabet**. The remaining gap is ternary, not the fitting.
39
  - Perplexity is not quality. Downstream tasks degrade more than wikitext suggests.
 
47
  `trnr.rot` ggml tensor plus one graph line in `src/models/olmoe.cpp`. **On stock llama.cpp the
48
  model loads and then produces garbage**, because the expert input never gets rotated.
49
 
50
+ - fork: not published yet -- trnr_rot.patch below is the whole fork
51
  - `trnr_rot.patch` (4 KB) is in this repo -- apply it to a clean checkout:
52
  `git clone ... && cd llama.cpp && git checkout 16f090f && git apply trnr_rot.patch`
53
  - or use the prebuilt patched tree shipped as `trnr.cpp.tar.gz`
 
55
 
56
  Sanity check after building: this model must give ppl ~3.08x fp16 (28.23) on wikitext-2-raw at
57
  8x512 tokens. If it gives thousands, the rotation tensor is not being read -- you are on stock
58
+ llama.cpp or the patch did not apply.