stindardlogic/prompt-injection-defense-dpo-3k
Prompt Injection Defense DPO (3K) DPO preference pairs training LLMs to detect and resist prompt injection attacks. Motivation As LLMs are deployed in agentic and production contexts, prompt injection — where malicious instructions are embedded in user input or retrieved documents — is a critical security threat. This dataset trains models to recognize and decline injection attempts while remaining helpful for legitimate queries. Dataset Description… See the full description on the dataset page: https://huggingface.co/datasets/stindardlogic/prompt-injection-defense-dpo-3k.
Conversations for this repository live on Hugging Face.
CoolFace shows imported repositories read-only. Posting into someone else’s repository from here would need an authorised integration and the account holder’s consent, so the link goes to the source instead.
Open discussions on Hugging Face