21 NAND Docs 中文

Model machine

A small computer that runs binary models. Each weight is just on or off, and this page can run a toy model.

Run it here

File toy_bmlp.tbw1 · 102,400 B · 24-byte context · 2 binary layers of 512 · 524,288 one-bit weights
File sha256 11c1c4b177a2308ee64732335335e044e4cf32ce0ddef75210b0d5fa4f5ed568(registered value, checking…)
Output sha256 0aef22dfb94c5a76f0aa1eba5ac3f3a1852ba1982a1965a5235b696579a7acca (200 B)(reference answer; checked after 200 characters)—

Everything is computed in your browser: no server connection, nothing on chain, no wallet.

Check it yourself

  1. Look at "File sha256" above. It should be 11c1c4b177a2308ee64732335335e044e4cf32ce0ddef75210b0d5fa4f5ed568.
  2. Click "Write 200 characters" once. "Output sha256" should be 0aef22dfb94c5a76f0aa1eba5ac3f3a1852ba1982a1965a5235b696579a7acca.
  3. Run it again on another computer or in another browser. The result is the same. The page uses integer arithmetic only.

What it is

This toy model

ItemValue
Size102,400 bytes
Looks back24 bytes
Hidden layersTwo, with 512 binary units each
One-bit weights524,288
Training textStories written by the Bard's model, originally from tiny-tiny-stories (MIT)

It exists only to run the whole path end to end. The English it writes doesn't read smoothly yet.

Progress