BankShot-Search / README.md
chadstthomas's picture
Stage BankShot Search v0.1.0 research preview
fd280c7 verified
|
Raw History Blame Contribute Delete
3.53 kB
metadata
license: mit
language:
  - en
tags:
  - text-retrieval
  - edge-ai
  - onnx
  - openvino
  - intel-neural-compute-stick

BankShot Search, Rack Lab's green six ball

BankShot Search

v0.1.0-preview 路 Research release

BankShot retrieves source references for vehicle recalls, manufacturing safety and Frigate recorder support. The model package includes CPU ONNX and FP16 IR for the original Intel Neural Compute Stick. The host handles tokenization, lexical retrieval, and result assembly. The physical NCS1 runs the learned scorer and rerankers.

Run a search 路 The Break Room 路 Package checksums

Development selection Top-ten matches NCS1 p95
Dealership 147/151 28.1 ms
Manufacturing 25/25 15.6 ms
Store security 23/24 13.0 ms

These are matched development measurements on the published 10,000-document catalog. The same candidate on CPU matched 198/200 physical target ranks and had lower p95 in all three verticals on the measured host. Independent release acceptance remains pending. The development abstention policy did not qualify. General prose can return weak matches.

Labeled examples

Example Intended reference Physical NCS1 result
Lockout during servicing OSHA 29 CFR 1910.147 Rank 1
Exposed rotating lathe chuck OSHA 29 CFR 1910.212 Outside top 10
Blocked stockroom exit OSHA 29 CFR 1910.37 Rank 2
Honda Ridgeline blower connector NHTSA campaign 10V001000 Rank 1
Missing camera recordings Frigate recording troubleshooting Rank 1

Case labels and source links 路 Physical NCS1 trace 路 CPU trace 路 Comparison data

Run locally

Run from the downloaded repository root with Python 3.11 or newer for CPU.

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/sections
python runtime/bankshot_field_replay.py catalog heads/vehicle examples/cases.json replay.json --backend cpu --residuals heads/sections

For physical Windows NCS1, use the installed Python 3.7 and Intel OpenVINO 2020.3.2 Windows runtime with a compatible NumPy and SciPy. Set BANKSHOT_NCS1_ROOT to the tool directory containing ov2020 and redist. Attach one cold original stick with USB ID 03E7:2150 and run the same commands with --backend ncs1. The CPU and device use the same retrieval contract. Intel runtime compatibility 路 Original toolchain setup

Sources and licenses

The project code and original artifacts use MIT. The catalog preserves public NHTSA and GovInfo source references and MIT-licensed Frigate documentation. The frozen source versions are in catalog provenance and the Frigate notice is included. The dense student uses BGE-small training references, and the two 481-parameter section heads use MiniLM teacher scores. BGE-small 路 MiniLM reranker