Back to feed
Reddit r/LocalLLaMA·

trained a prompt injection detector using ml-intern and DeepSeek v4 Flash, runs in the browser

Signal
72
Hype
25
In three linesTrained prompt injection detector using ml-intern and DeepSeek v4 Flash. DistilBERT achieves F1 99%, compressed to ONNX int8 (~65 MB), runs in browser via Transformers.js v3. Total API cost under $5 with DeepSeek.
Read source
Your take?
DeepSeekAI AgentsAI safetyCode generationOpen source

Summary generated by Claude — human-verified