Skip to content

Practical · text-generation · structured JSON · CPU WASM int8 · 368.5 MB · Apache-2.0

Ticket & log triage queue — schema-checked JSON, entirely on-device

Support emails, chat messages and raw log lines go through onnx-community/MNN-Pocket-0.3B-ONNX one at a time. Each completion is parsed, validated against a JSON schema and scored — so you see the real schema-valid rate of a 0.3B model, not a cherry-picked demo. Nothing leaves the tab.

Queue

8 starter items (emails, chats, logs). Add your own — one per line — or drop a .txt (one item per line) / .json (array of strings).

Idle0 / 8

The model initialises above (auto when cached).

Results

Per-item triage results with schema validation
id status category severity component schema ms

Show the code

mnn-core.mjs gradeJsonCompletion(): extract JSON from a completion + validate the schema
mnn-core.mjs csvCell(): OWASP CSV-injection-safe export cells