Interactive ternary quantization (BitNet b1.58) visualization — see the matrix {-1, 0, +1}
  • HTML 90.6%
  • JavaScript 9.4%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Peter Lodri f6f66d0dd8
Merge pull request #1 from 8b-is/aye/numeric-controls
Restrict group sizes and display unsigned packed words
2026-10-12 13:24:03 +09:00
.wrangler/cache feat: OG image, SEO meta, _headers, coder.vaked.dev link 2026-07-27 15:48:24 +02:00
tests Restrict group sizes and display unsigned packed words 2026-10-05 20:07:39 -04:00
.nojekyll fix: add .nojekyll for GitHub Pages static serving 2026-07-27 16:15:56 +02:00
_headers feat: OG image, SEO meta, _headers, coder.vaked.dev link 2026-07-27 15:48:24 +02:00
index.html Restrict group sizes and display unsigned packed words 2026-10-05 20:07:39 -04:00
og-image.svg feat: OG image, SEO meta, _headers, coder.vaked.dev link 2026-07-27 15:48:24 +02:00
README.md docs: GH Pages link, live demo link 2026-07-27 16:24:44 +02:00

mlx-quant-viz

Interactive ternary matrix visualization. Part of the 8b-is mesh.

Live Demo | GitHub Pages | matriq.net

What it shows

  • Matrix view: 256×256 pixel grid — blue=-1, dark=0, purple=+1 — fp32 vs ternary side-by-side
  • Packed binary: click any row to inspect uint32 words with 16 two-bit codes LSB-first
  • N→N-x recursion: 6 compression layers (256→192→128→64→32→16)
  • Distribution histogram: bar chart of {-1, 0, +1} counts
  • Interactive: sliders for group_size (32/64/128) and dimension (64-1024)

The seed

The matrix is not random. It's seeded from a conversation — LINOSV — hashed with SHA-256, fed through a Xoshiro128** PRNG. Same seed, same matrix, every time, on every machine:

SHA-256(LINOSV_SEED) → Xoshiro128** → ternary quantized weights

This is the visualization layer of the ayeOS mesh:

Layer Project
CPU (hearth) kernel8
GPU (brain) MLX-QUANT
Coord vaked
Viz mlx-quant-viz (this repo)
Daemon ayeOS

Deploy

Static HTML, zero dependencies. Deployed on Cloudflare Pages at mlx-quant-viz.pages.dev, custom domain matriq.net.

npx wrangler pages deploy .