Repository navigation
LANCET Nano v0.6.0 (Round 74 · branchB-ep02)
#1 of 24 guards across 4 benchmarks (77.08 overall · 77.69 Bench 3 · 75.55 #1 unseen local on third-party yannelli/cli-command-risk test) — a 149M-parameter local CPU encoder running completely offline in 46.5 ms median (335 MB steady-state RSS, 33% faster than v0.5.0) with 5.1% pooled safe-command interruption.
Highlights
- #1 overall across internal + independent third-party benchmarks (
77.08): Beats every local challenger (Yannelli d1-3B v1.5:56.27,OpenVulcan v1-flash:49.96,v1-standard:46.43,v1-mini:31.94) and every hosted frontier decision API tested (Google Gemini Decision 1:70.57,Perplexity Decider v1.2:69.69,TypeSafe Jev 1.14:62.78). Even dropping ShellRisk completely (100% strictly unseen), LANCET Nano v0.6.0 stays#1(74.49). - #1 unseen local model on
yannelli/cli-command-risktest (14,055rows, CC BY 4.0):75.55zero-shot (89.3%critical catch,75.6%high+critical catch,8.2%safe false alarms,0 / 4,758safe hard blocks). - Unseen Bench 3 Core:
79.55(+8.24over v0.5.0's71.31), catching79.55%of risky commands at9.00%safe interruption (7/3,423safe blocks). - Lowest false-alarm friction among top guards:
5.1%pooled safe interruption across8,743unique safe commands (less than half of hosted frontier APIs at11.5%–21.0%). - Modern 1,024-token encoder (
jhu-clsp/ettin-encoder-150m, MIT base) + GeGLU Hybrid-W8/INT8 ONNX (145.9 MB): Protects the 22 GeGLUmlp/Wodown-projections with 8-bit weight-onlyMatMulNBits(FP32 activations) + dynamic INT8 rest (0.0194median quantization drift), running natively on CPU (onnxruntime==1.32.0) and in browsers (onnxruntime-web@1.30.0).
Benchmark disclosures: Per owner policy (
evals/protected-19.json), v0.6.0 fitted on ShellRisk-Bench train+test (GPLgtfobins/nl2bashexcluded); ShellRisk (97.41) is in-distribution for v0.6.0 and is not an external check. Bench 3 Core (79.55), Neutral (52.40), and Yannelli CLI-Risk test (75.55,99.3%unique unseen) remained strictly unseen (Guard.assert_cleanverified, zero commands executed). No hosted language-model output (including TypeSafe Jev) was used as training data, labels, teacher targets, or selection signal.
Artifacts & verification
lancet-v0.6.0-nano-cpu-int8.zip(159,896,526bytes /152.5 MiB)- SHA-256:
28eb0eb75f22d28f284a0f000835c1b6b5de20f56594ef52a5fa5a55aee071e3 encoder-int8.onnxSHA-256:71925e633be0e615a0957f337d5edd6069c149b728a9a8b2e5b735bad2925156
sha256sum -c SHA256SUMS.txt
unzip lancet-v0.6.0-nano-cpu-int8.zip
cd lancet-v0.6.0-nano-cpu-int8
python verify_bundle.py --strict
python -m venv .venv && .venv/bin/python -m pip install -r requirements.txt
OPENBLAS_NUM_THREADS=1 printf '{"command":"kubectl delete namespace production","shell":"bash"}\n' | .venv/bin/python classify.py --model modelLinks
- Live Browser Demo (runs locally in WASM): https://huggingface.co/spaces/fingerthief/lancet-nano
- Hugging Face Model (
v0.6.0): https://huggingface.co/fingerthief/lancet-nano/tree/v0.6.0 - Website & 4-Benchmark Scoreboard: https://tannermidd.github.io/LANCET-model/
Licenses
- Model weights, tokenizer & metadata: Apache-2.0 (upstream
jhu-clsp/ettin-encoder-150mis MIT) - Runtime & project code: MIT