You need to agree to share your Hugging Face information to access this model

This repository is publicly accessible, but you have to accept the conditions to access its files and content.

Log in or Sign Up to review the conditions and access this model content.

detectonic-0.2.0-KTA-w7

Drone wake-word + sound-class detector (two-head: wake logit + 4-class sound) built on a SqueezeNet1.1-style backbone with fire modules, trained on log-mel spectrogram windows (5-s clips rendered as RGB images). MUGA self-wrapped quantization β€” packed sub-1-bit binary weights with a bit-count (MUGA) GEMM engine implemented as a custom on-device kernel (muga/), plus the int8 surrogate used for stock-kernel execution.

Performance in context

Full results on the public leaderboard: https://huggingface.co/spaces/Tonic/audio-drone-detection-leaderboard Β· machine-readable rows in the Tonic/drone-detectonic-0.1-benchmark-results dataset.

hardware benchmark wake F1 unified F1 duty latency ms parity
host-cpu c5-valid 0.4 0.9885 0.755 6.72 56/56 wake decisions vs own float32 ONNX on 56 clips (max
esp32-s31 c5-valid 0.4 0.9885 0.0 2453.7 56/56 wake decisions vs own float32 ONNX on 56 clips @thr 0.
esp32-s3-n8r8 c5-valid 0.4 0.9885 0.0 4034.4 spot 2/2 clips logged (wake logits on run_x_w7kta.log)
esp32-s31 c5-valid 0.4 0.9885 0.755 22879.816071428573 56/56 wake decisions and 56/56 class argmax vs torch sign-mo
esp32-s3-n8r8 c5-valid 0.4 0.9885 0.0 59185.175 24/24 wake decisions vs torch sign-model GT (mean
esp32-s31 c5-valid 0.0 0.0 0.0 802.9 56/56 wake decisions vs own float32 ONNX (max

Model size: params 1021765 Β· ONNX 2.92 MB Β· train rows 168016 Β· epochs 12 Β· input 224px.

Architecture (3D wireframe + measured forward pass)

architecture + forward pass

Interactive explorer: docker image detectonic-explorer (demo/model_explorer, port 8080).

Demos (interactive explorer + forward pass)

Intended use

On-device acoustic drone detection on ESP32-class MCUs (ESP32-S31 PIE, ESP32-S3) and host CPUs: wake decision + sound classification per 5-s spectrogram window. Not for weapon/vehicle identification beyond the 4-class sound taxonomy.

Training data

Cited datasets (see frontmatter): Tonic/unified-drone-acoustic-cuas-v2 β€” 168016 training windows with gain jitter and spectrogram masking augmentation; evaluation on clean rendered windows.

Evaluation

metrics.json (unified validation F1 0.867, duty 1.0, held-out wake F1 0.4); per-clip predictions in preds_valid.jsonl / preds_test.jsonl; training log train_log.txt.

Artifacts

  • .gitattributes
  • SHA256SUMS.json
  • audio_wake_cnn.onnx
  • bench_masterpie_s31.json
  • bench_masterpie_s31.log
  • best.pt
  • int8/host_eval_w7lb.json
  • int8/model_w7kta_224_int8_fused.tflite
  • int8/model_w7kta_224_int8_pc.tflite
  • metrics.json
  • muga/MUGA_KERNEL.md
  • muga/SHA256SUMS.json
  • muga/export_packed_bin.py
  • muga/muga_kernel.cpp
  • muga/muga_kernel.h
  • muga/lb_s31.json
  • muga/lb_s31_summary.json
  • muga/lb_torch_gt.json
  • muga/lb_xiao.json
  • muga/lb_xiao_summary.json
  • muga/littlefs_muga_xiao.bin
  • muga/model_muga.bin
  • muga/parse_lb_bench.py
  • muga/run_lbk_sweep.log
  • muga/run_lbk_xiao.log
  • muga/validate_blob_numpy.py
  • preds_test.jsonl
  • preds_valid.jsonl
  • train_log.txt
  • weights_packed.pt

Integrity: SHA256SUMS.json where present.

Lineage

Derived from Tonic/detectonic-0.2.0-KTA-w7-multih-i224. Wave w7; quantization line MUGA.

Downloads last month
-
Inference Providers NEW
This model isn't deployed by any Inference Provider. πŸ™‹ Ask for provider support

Model tree for Tonic/detectonic-0.2.0-KTA-w7

Dataset used to train Tonic/detectonic-0.2.0-KTA-w7

Collection including Tonic/detectonic-0.2.0-KTA-w7

Evaluation results