Tiny AI Maker
Bring a small labelled text dataset. This page fits a Complement Naive Bayes in your browser, shows held-out accuracy with a confidence interval, an optional 5-fold CV with out-of-fold Brier/ECE, the int8 weight size and the example size, and exports a single HTML file, a QR, a favicon, a WAV or a PDF model card. No data leaves the page.
1. Data
CSV/TSV with two columns: text,label. Quote fields that
contain commas. JSONL with {"text":"...","label":"..."} also works.
2. Train
The model is the selected examples; the training code is shared. A smaller budget means a smaller artifact and usually a little less accuracy.
Parse some data first.
3. Result
4. QR export
Pack the learned weights into a URL/QR, a 32×32 PNG favicon, or an
8-bit WAV. Small vocabularies fit; the page tries a smaller vocabulary if needed. The
viewers are qr.html, favicon.html, and
audio.html.