Ibz04 commited on
Commit
511262e
·
verified ·
1 Parent(s): f0441d5

Update model card

Browse files
Files changed (1) hide show
  1. README.md +11 -23
README.md CHANGED
@@ -14,7 +14,7 @@ tags:
14
 
15
  # Antinet Codon Beta
16
 
17
- The smallest model of Antinet's family: a 54-million-parameter chat model at 2 bits that runs entirely on an ESP32-S3 microcontroller, with no network. It is for small talk at a machine, not for answers anyone acts on.
18
 
19
  | Field | Value |
20
  |---|---|
@@ -23,15 +23,19 @@ The smallest model of Antinet's family: a 54-million-parameter chat model at 2 b
23
  | File | `antinet-codon-1.0.0-beta.1-54m-2bit.bin` |
24
  | SHA-256 | `fbbbad2d501a141888368de6262d61dade60ea9e3104d7db43727937c3f10c6c` |
25
  | Size | 14,488,320 bytes |
26
- | Parameters | 54 million stored, at 2 bits (ternary and 2-bit weights, int8 key-value cache) |
27
  | Shape | 20 layers, width 576, feed-forward 768, 8 query heads sharing 1 key-value head, 24,576-token vocabulary, 512-token context |
28
- | Download | `huggingface.co/Antinet/codon-beta`, commit `54fa3d1dfaef6b1cf2e647aed4b60f29c89f168d`. Antinet's build fetches it from there and checks the SHA-256 |
29
  | Runs on | Antinet's ESP32-S3 chat firmware: an ESP32-S3 with 16 MB of flash and 8 MB of octal PSRAM |
30
- | Speed on the board | 2.3 to 2.5 tokens/s; the first reply text 3 to 5 s after a message; about 20 s to verify and load at start |
31
 
32
- ## Running it
 
 
 
 
 
33
 
34
- The file is not a format general tools read: it runs on Antinet's chat firmware, which verifies its signature before reading a byte of it.
35
 
36
  1. Check the download: `shasum -a 256 antinet-codon-1.0.0-beta.1-54m-2bit.bin` must print the SHA-256 above.
37
  2. Sign it with the site's key: `anet-sign micro-model <file> --key <signing-key.json> --out <signature>`.
@@ -40,20 +44,4 @@ The file is not a format general tools read: it runs on Antinet's chat firmware,
40
  `anet-micro-link --port <port> put <file> --signature <signature> --kind chat`, then
41
  `anet-micro-link --port <port> chat`.
42
 
43
- Each reply streams as it is generated and ends with a record: the model's SHA-256, the prompt and reply token counts, the time each took, the context used and why the reply ended.
44
-
45
- ## What it is for
46
-
47
- Small talk at a machine: greetings and short questions, answered on the chip.
48
-
49
- ## What it cannot do
50
-
51
- - Its facts are unreliable: it says Berlin is Germany's capital, but it also gives wrong numbers, wrong mechanisms and replies that drift from the question. Nobody may act on what it says.
52
- - It holds 512 tokens of conversation; older turns are dropped as a conversation grows.
53
- - A reply stops at 256 tokens.
54
- - It cannot be retrained yet: Antinet's training loop does not cover this format.
55
- - On the board it fills the 16 MB flash, so the board keeps no earlier version and runs no decision model beside it. Earlier versions come back by uploading them again from Antinet's model store.
56
-
57
- ## Accuracy
58
-
59
- No benchmark run yet. On the board, 10 fixed prompts gave the same replies, token for token, as the host build of the same runtime. Version `1.0.0` waits for a model Antinet has tested against its own bar.
 
14
 
15
  # Antinet Codon Beta
16
 
17
+ A chat model that lives entirely on a microcontroller. Antinet Codon Beta runs on a single ESP32-S3 chip, with no network, no cloud and no host doing the work: every word is generated on the chip itself.
18
 
19
  | Field | Value |
20
  |---|---|
 
23
  | File | `antinet-codon-1.0.0-beta.1-54m-2bit.bin` |
24
  | SHA-256 | `fbbbad2d501a141888368de6262d61dade60ea9e3104d7db43727937c3f10c6c` |
25
  | Size | 14,488,320 bytes |
26
+ | Parameters | 54 million, at 2 bits (ternary and 2-bit weights, int8 key-value cache) |
27
  | Shape | 20 layers, width 576, feed-forward 768, 8 query heads sharing 1 key-value head, 24,576-token vocabulary, 512-token context |
 
28
  | Runs on | Antinet's ESP32-S3 chat firmware: an ESP32-S3 with 16 MB of flash and 8 MB of octal PSRAM |
29
+ | Speed on the board | 2.3 to 2.5 tokens/s; the first reply text 3 to 5 s after a message |
30
 
31
+ ## Why it matters
32
+
33
+ - **Fully on-device.** The chip holds the model and generates every reply. Nothing leaves the board.
34
+ - **Signed and verified.** The firmware checks the model's signature at upload and at every start, before it reads a byte of it.
35
+ - **Every reply on record.** Each reply ends with a record of the model's SHA-256, the token counts, the timings, the context used and why the reply ended.
36
+ - **Deterministic.** The same message gives the same reply, token for token, on the board and on the host build of the same runtime.
37
 
38
+ ## Running it
39
 
40
  1. Check the download: `shasum -a 256 antinet-codon-1.0.0-beta.1-54m-2bit.bin` must print the SHA-256 above.
41
  2. Sign it with the site's key: `anet-sign micro-model <file> --key <signing-key.json> --out <signature>`.
 
44
  `anet-micro-link --port <port> put <file> --signature <signature> --kind chat`, then
45
  `anet-micro-link --port <port> chat`.
46
 
47
+ Replies stream as they are generated.