ddidacus commited on
Commit
451523f
·
verified ·
1 Parent(s): b564d0a

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +36 -23
README.md CHANGED
@@ -1,25 +1,38 @@
1
  ---
2
- dataset_info:
3
- features:
4
- - name: question
5
- dtype: string
6
- - name: target
7
- dtype: string
8
- - name: attack
9
- dtype: string
10
- - name: adv_prompt
11
- dtype: string
12
- - name: best_loss
13
- dtype: float64
14
- splits:
15
- - name: train
16
- num_bytes: 242348
17
- num_examples: 550
18
- download_size: 150183
19
- dataset_size: 242348
20
- configs:
21
- - config_name: default
22
- data_files:
23
- - split: train
24
- path: data/train-*
25
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
+ license: mit
3
+ task_categories:
4
+ - text-classification
5
+ language:
6
+ - en
7
+ tags:
8
+ - safety
9
+ - jailbreak
10
+ - gcg
11
+ - adversarial
12
+ - llm
 
 
 
 
 
 
 
 
 
 
 
 
13
  ---
14
+
15
+ # harmeval-gcg-llama3-1b
16
+
17
+ HarmEval ([SoftMINER-Group/HarmEval](https://huggingface.co/datasets/SoftMINER-Group/HarmEval)) augmented with adversarial suffixes generated via the **Greedy Coordinate Gradient (GCG)** attack method, optimized specifically against **Llama-3.2-1B-Instruct**.
18
+
19
+ Each harmful prompt is paired with a GCG-optimized adversarial suffix that, when appended to the original question, maximizes the probability of the model producing a target harmful response.
20
+
21
+ ## Columns
22
+
23
+ | Column | Description |
24
+ |---|---|
25
+ | `question` | Original harmful prompt from HarmEval |
26
+ | `target` | Target response prefix used during GCG optimization (e.g. `"Sure, here is the answer:"`) |
27
+ | `attack` | Raw GCG adversarial suffix (gibberish token sequence) |
28
+ | `adv_prompt` | Full adversarial prompt: `question + attack` (ready to use as model input) |
29
+ | `best_loss` | Cross-entropy loss of the target at the end of optimization (lower = stronger attack) |
30
+
31
+ ## Statistics
32
+
33
+ - **550 rows** (one per HarmEval question)
34
+ - Suffix search run for a fixed budget of GCG steps targeting Llama-3.2-1B-Instruct
35
+
36
+ ## Intended use
37
+
38
+ Evaluating the robustness of safety classifiers (e.g. linear probes, GLP diffusion models) against GCG-style adversarial inputs at the activation level.