bogdanraduta commited on
Commit
47180b5
·
verified ·
1 Parent(s): 557becb

Upload eval/injection_eval.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. eval/injection_eval.md +63 -0
eval/injection_eval.md ADDED
@@ -0,0 +1,63 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # injection evaluation
2
+
3
+ **Threshold 0.19 (calibrated on the validation split, objective recall_at_fpr).** The config default of 0.5 scored 0.938 against 0.961 for the calibrated value, on validation. Every table below is on test, at the calibrated threshold.
4
+
5
+ ## Per language
6
+
7
+ | Language | Support | P | R | F1 | Notes |
8
+ |---|---|---|---|---|---|
9
+ | `bg` Bulgarian | 13 | 1.000 | 1.000 | 1.000 | |
10
+ | `cs` Czech | 13 | 1.000 | 0.923 | 0.960 | |
11
+ | `da` Danish | 14 | 0.933 | 1.000 | 0.966 | |
12
+ | `de` German | 14 | 0.933 | 1.000 | 0.966 | |
13
+ | `el` Greek | 14 | 1.000 | 1.000 | 1.000 | |
14
+ | `en` English | 14 | 0.933 | 1.000 | 0.966 | |
15
+ | `es` Spanish | 12 | 1.000 | 1.000 | 1.000 | |
16
+ | `et` Estonian | 14 | 0.933 | 1.000 | 0.966 | |
17
+ | `fi` Finnish | 14 | 0.933 | 1.000 | 0.966 | |
18
+ | `fr` French | 13 | 0.923 | 0.923 | 0.923 | |
19
+ | `ga` Irish | 14 | 1.000 | 1.000 | 1.000 | |
20
+ | `hr` Croatian | 13 | 1.000 | 1.000 | 1.000 | |
21
+ | `hu` Hungarian | 14 | 1.000 | 1.000 | 1.000 | |
22
+ | `it` Italian | 14 | 1.000 | 1.000 | 1.000 | |
23
+ | `lt` Lithuanian | 13 | 1.000 | 1.000 | 1.000 | |
24
+ | `lv` Latvian | 14 | 1.000 | 1.000 | 1.000 | |
25
+ | `mt` Maltese | 14 | 1.000 | 0.571 | 0.727 | not in base model pretraining |
26
+ | `nl` Dutch | 14 | 1.000 | 1.000 | 1.000 | |
27
+ | `pl` Polish | 14 | 1.000 | 1.000 | 1.000 | |
28
+ | `pt` Portuguese | 14 | 0.875 | 1.000 | 0.933 | |
29
+ | `ro` Romanian | 14 | 0.933 | 1.000 | 0.966 | |
30
+ | `sk` Slovak | 14 | 1.000 | 0.929 | 0.963 | |
31
+ | `sl` Slovenian | 14 | 1.000 | 1.000 | 1.000 | |
32
+ | `sv` Swedish | 14 | 1.000 | 1.000 | 1.000 | |
33
+ | `tr` Turkish | 14 | 0.933 | 1.000 | 0.966 | |
34
+ | `az` Azerbaijani | 14 | 1.000 | 0.929 | 0.963 | |
35
+
36
+ The base-model note is a fact about pretraining, not a cause of the score beside it. `nsfw` Maltese carried the same note at 0.000 and reached 1.000 on corpus size alone, with nothing about the base model changed. Check how many examples a weak score rests on before reaching for this.
37
+
38
+ ## Per register
39
+
40
+ | Register | Support | P | R | F1 | FPR |
41
+ |---|---|---|---|---|---|
42
+ | `encoded_payload` | 50 | 1.000 | 0.980 | 0.990 | 0.000 |
43
+ | `hypothetical_framing` | 52 | 1.000 | 0.942 | 0.970 | 0.000 |
44
+ | `ignore_instructions` | 51 | 1.000 | 0.980 | 0.990 | 0.000 |
45
+ | `instruction_in_document` | 52 | 1.000 | 1.000 | 1.000 | 0.000 |
46
+ | `instruction_in_tool_output` | 48 | 1.000 | 1.000 | 1.000 | 0.000 |
47
+ | `meta_question` | 0 | 0.000 | 0.000 | 0.000 | 0.029 |
48
+ | `mundane_informational` | 0 | 0.000 | 0.000 | 0.000 | 0.000 |
49
+ | `mundane_operational` | 0 | 0.000 | 0.000 | 0.000 | 0.000 |
50
+ | `mundane_transactional` | 0 | 0.000 | 0.000 | 0.000 | 0.000 |
51
+ | `ordinary_instruction` | 0 | 0.000 | 0.000 | 0.000 | 0.000 |
52
+ | `ordinary_question` | 0 | 0.000 | 0.000 | 0.000 | 0.000 |
53
+ | `persona_override` | 52 | 1.000 | 0.962 | 0.980 | 0.000 |
54
+ | `quoted_attack` | 0 | 0.000 | 0.000 | 0.000 | 0.019 |
55
+ | `roleplay_benign` | 0 | 0.000 | 0.000 | 0.000 | 0.019 |
56
+ | `security_discussion` | 0 | 0.000 | 0.000 | 0.000 | 0.029 |
57
+ | `system_prompt_extraction` | 52 | 1.000 | 0.942 | 0.970 | 0.000 |
58
+
59
+ ## Known weaknesses
60
+
61
+ The three weakest languages by F1: `mt` at 0.727, `fr` at 0.923, `pt` at 0.933.
62
+
63
+ These are published rather than dropped. A coverage table with the bad rows removed is not a coverage table.