Create README.md
Browse files
README.md
ADDED
|
@@ -0,0 +1,76 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: other
|
| 3 |
+
language:
|
| 4 |
+
- en
|
| 5 |
+
tags:
|
| 6 |
+
- synthetic
|
| 7 |
+
- jailbreak
|
| 8 |
+
- refusal
|
| 9 |
+
---
|
| 10 |
+
---
|
| 11 |
+
license: mit
|
| 12 |
+
task_categories:
|
| 13 |
+
- text-generation
|
| 14 |
+
language:
|
| 15 |
+
- en
|
| 16 |
+
size_categories:
|
| 17 |
+
- 10M<n<100M
|
| 18 |
+
pretty_name: LLM Refusal Training Dataset
|
| 19 |
+
tags:
|
| 20 |
+
- safety
|
| 21 |
+
- refusal
|
| 22 |
+
- jailbreak-defense
|
| 23 |
+
---
|
| 24 |
+
|
| 25 |
+
# LLM Refusal Training Dataset
|
| 26 |
+
|
| 27 |
+
A large-scale dataset designed to teach LLMs how to safely refuse jailbreak attempts, prompt injections, and policy-violating requests.
|
| 28 |
+
|
| 29 |
+
## Dataset Description
|
| 30 |
+
|
| 31 |
+
This dataset contains **30GB** of `(category, prompt, response)` triplets pairing simulated adversarial prompts with safe, helpful refusals. The data is non-operational and does not contain real exploits or harmful instructions.
|
| 32 |
+
|
| 33 |
+
### Columns
|
| 34 |
+
|
| 35 |
+
| Column | Type | Description |
|
| 36 |
+
|------------|--------|-----------------------------------------------------------------------------|
|
| 37 |
+
| `category` | string | Attack taxonomy (e.g., `prompt_injection`, `roleplay_bypass`, `authority_claim`) |
|
| 38 |
+
| `prompt` | string | Simulated adversarial user message |
|
| 39 |
+
| `response` | string | Safe refusal with optional helpful redirection |
|
| 40 |
+
|
| 41 |
+
### Categories Covered
|
| 42 |
+
|
| 43 |
+
- Prompt injection & direct override
|
| 44 |
+
- Roleplay / persona bypass
|
| 45 |
+
- Authority & developer-mode claims
|
| 46 |
+
- Encoding & obfuscation tricks
|
| 47 |
+
- Hypothetical & fictional framing
|
| 48 |
+
- Incremental escalation & multi-turn social engineering
|
| 49 |
+
- Policy override & emotional pressure
|
| 50 |
+
- Tool abuse & data exfiltration attempts
|
| 51 |
+
|
| 52 |
+
## Usage
|
| 53 |
+
|
| 54 |
+
```python
|
| 55 |
+
from datasets import load_dataset
|
| 56 |
+
|
| 57 |
+
ds = load_dataset(
|
| 58 |
+
"YOUR_USERNAME/llm-refusal-training-30gb",
|
| 59 |
+
data_files="data/llm_refusal_training.csv.gz",
|
| 60 |
+
split="train"
|
| 61 |
+
)
|
| 62 |
+
```
|
| 63 |
+
|
| 64 |
+
### Intended Use
|
| 65 |
+
1. Supervised fine-tuning for refusal behavior
|
| 66 |
+
2. Safety alignment research
|
| 67 |
+
3. Red-team evaluation benchmarks
|
| 68 |
+
|
| 69 |
+
### Limitations
|
| 70 |
+
|
| 71 |
+
1. May not capture all real-world attack distributions
|
| 72 |
+
2. Refusals follow a limited set of patterns; consider diversifying for production use
|
| 73 |
+
3. Not a substitute for human-curated safety data
|
| 74 |
+
|
| 75 |
+
### License
|
| 76 |
+
Open Data Attribution Training Disclosure License (ODATL‑1.0)
|