trained a prompt injection detector using ml-intern and DeepSeek v4 Flash, runs in the browser
r/LocalLLaMA
•
Machine Learning
Generative AI
AI Hardware
Open Source AI
AI Research
Trained a prompt injection classifier using ml-intern + DeepSeek v4 Flash. DistilBERT, F1 99%, ONNX int8, ~65 MB, runs in browser with Transformers.js v3. You can try it here: --- I've been interested in prompt injections and agentic security for a while, and wanted to see how a purpose-built ML agent compares to general-purpose coding agents for this kind of task. Here's roughly how it went: ml-intern takes an HF token and s OpenAI-compatible APIs, so I pointed it at OpenRouter (GPU-poor.