BankShot Search
search across car recalls, workplace safety, and Frigate
2 min readupdated
BankShot Search finds primary sources across car recalls (NHTSA), industrial safety (OSHA), and recorder configuration in the Frigate video surveillance system. The host handles tokenization, lexical search, and result assembly, while a physical Intel Neural Compute Stick (NCS1) USB accelerator or a CPU runs neural scoring and reranking. Under the hood, it uses a dense student encoder trained against BGE-small alongside two 481-parameter section heads distilled from MiniLM teacher scores. This v0.1.0-preview research release by racklab is built for anyone experimenting with local documentation search and unconventional edge hardware.
Key features
- Three focused domains — automotive recalls, workplace safety, and Frigate documentation across a 10,000-document catalog.
- Two backends sharing a single search contract — CPU via ONNX Runtime and the original NCS1 in FP16 IR format.
- Low p95 latency in benchmarks — from 13.0 ms in retail security and 15.6 ms in manufacturing up to 28.1 ms in the dealership segment.
- Compact ranking heads — two 481-parameter section heads trained on MiniLM scores.
What you can do
- Build a local lookup assistant for reviewing workplace safety incidents (OSHA) and vehicle defects using the 10,000-document catalog.
- Test a host paired with an Intel NCS1 USB stick on reranking tasks in an offline or edge setup.
- Run pre-labeled test cases through the field reproduction script and compare outputs across the CPU and NCS1 backends.
Example
python -m pip install numpy scipy onnxruntime
python runtime/bankshot.py catalog manufacturing "A lathe's rotating chuck was exposed" --backend cpu --dealership-ranker heads/vehicle --residuals heads/sectionsRead more
DetailsBenchmarks on the 10,000-document catalog (top-10 hits / NCS1 p95): Dealership — 147/151 (28.1 ms), Manufacturing — 25/25 (15.6 ms), Store security — 23/24 (13.0 ms); CPU matched 198/200 target device ranks.
Windows NCS1 setup requires Python 3.7 and Intel OpenVINO 2020.3.2 (BANKSHOT_NCS1_ROOT variable, USB ID 03E7:2150); CPU requires Python 3.11+.
Independent acceptance testing for this release is still pending, the abstention policy did not pass gating, and matching on general prose may be weak.
Code and original artifacts are licensed under MIT; the catalog preserves public NHTSA and GovInfo sources alongside Frigate documentation (MIT).










Comments