Run this model with HF Jobs
Run Antinet/codon-beta on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/Antinet/codon-beta. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/Antinet/codon-beta on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Evaluate on a benchmark
Use HF Jobs to evaluate https://huggingface.co/Antinet/codon-beta. Ask me which benchmark to run, then save the scores and the per-example results to a new dataset repo. Run `hf jobs --help` first to learn the CLI.
Quantize for lower memory use
Use HF Jobs to create a 4-bit version of https://huggingface.co/Antinet/codon-beta. Push it to a new model repo, then reload it from there and report its memory footprint. Run `hf jobs --help` first to learn the CLI.
Instructions to use Antinet/codon-beta with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Antinet
How to use Antinet/codon-beta with Antinet:
# No code snippets available yet for this library. # To use this model, check the repository files and the library's documentation. # Want to help? PRs adding snippets are welcome at: # https://github.com/huggingface/huggingface.js
- Notebooks
- Google Colab
- Kaggle
Model card for Antinet Codon Beta 1.0.0-beta.1
Browse files123---license: apache-2.0---12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061---license: apache-2.0language:- enpipeline_tag: text-generationbase_model: HuggingFaceTB/SmolLM2-135M-Instructtags:- antinet- esp32-s3- microcontroller- on-device- air-gapped- 2-bit---# Antinet Codon BetaThe 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.| Field | Value ||---|---|| Name | Antinet Codon Beta || Version | `1.0.0-beta.1` (tag `v1.0.0-beta.1`) || File | `antinet-codon-1.0.0-beta.1-54m-2bit.bin` || SHA-256 | `fbbbad2d501a141888368de6262d61dade60ea9e3104d7db43727937c3f10c6c` || Size | 14,488,320 bytes || Parameters | 54 million stored, at 2 bits (ternary and 2-bit weights, int8 key-value cache) || Shape | 20 layers, width 576, feed-forward 768, 8 query heads sharing 1 key-value head, 24,576-token vocabulary, 512-token context || Source | Distilled from SmolLM2-135M-Instruct by a third party; file `model/model-cp-chat-512.ellm` of `github.com/ViezeVingertjes/esp32s3-chat-llm` at commit `880b2d86662e251460691b8d09eea688782eec11` || Copies | `huggingface.co/Antinet/codon-beta`, commit `54fa3d1dfaef6b1cf2e647aed4b60f29c89f168d`; the source repository above. Antinet's build fetches either and checks the SHA-256 || Runs on | Antinet's ESP32-S3 chat firmware: an ESP32-S3 with 16 MB of flash and 8 MB of octal PSRAM || 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 |## Running itThe 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.1. Check the download: `shasum -a 256 antinet-codon-1.0.0-beta.1-54m-2bit.bin` must print the SHA-256 above.2. Sign it with the site's key: `anet-sign micro-model <file> --key <signing-key.json> --out <signature>`.3. Flash the chat firmware, built with that key's device key: `micro/scripts/run-esp32s3-suite --chat <device key> --board <port>`.4. Upload and chat from the host the board is plugged into:`anet-micro-link --port <port> put <file> --signature <signature> --kind chat`, then`anet-micro-link --port <port> chat`.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.## What it is forSmall talk at a machine: greetings and short questions, answered on the chip.## What it cannot do- 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.- It holds 512 tokens of conversation; older turns are dropped as a conversation grows.- A reply stops at 256 tokens.- It cannot be retrained or rebuilt by Antinet: the tool that writes its file format is not published.- 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.## AccuracyNot measured by Antinet yet. The source reports an IFEval score of 20.8, against 29.9 for the model it was distilled from. 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.
README.md+58