bogdanraduta commited on
Commit
e9d248b
·
verified ·
1 Parent(s): 14ed6f4

Upload eval/moderation_eval.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. eval/moderation_eval.md +48 -48
eval/moderation_eval.md CHANGED
@@ -1,37 +1,37 @@
1
  # moderation evaluation
2
 
3
- **Threshold 0.81 (calibrated on the validation split, objective macro_f1).** The config default of 0.5 scored 0.929 against 0.937 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 | 60 | 1.000 | 0.967 | 0.983 | |
10
- | `cs` Czech | 60 | 1.000 | 1.000 | 1.000 | |
11
- | `da` Danish | 60 | 1.000 | 1.000 | 1.000 | |
12
- | `de` German | 60 | 1.000 | 1.000 | 1.000 | |
13
- | `el` Greek | 60 | 1.000 | 1.000 | 1.000 | |
14
- | `en` English | 59 | 0.983 | 1.000 | 0.992 | |
15
- | `es` Spanish | 59 | 1.000 | 0.983 | 0.991 | |
16
- | `et` Estonian | 60 | 0.983 | 0.983 | 0.983 | |
17
- | `fi` Finnish | 60 | 0.984 | 1.000 | 0.992 | |
18
- | `fr` French | 59 | 1.000 | 1.000 | 1.000 | |
19
- | `ga` Irish | 60 | 0.983 | 0.950 | 0.966 | |
20
- | `hr` Croatian | 58 | 0.983 | 1.000 | 0.991 | |
21
- | `hu` Hungarian | 60 | 1.000 | 1.000 | 1.000 | |
22
- | `it` Italian | 59 | 1.000 | 1.000 | 1.000 | |
23
- | `lt` Lithuanian | 60 | 0.984 | 1.000 | 0.992 | |
24
- | `lv` Latvian | 60 | 1.000 | 0.983 | 0.992 | |
25
- | `mt` Maltese | 59 | 0.966 | 0.949 | 0.957 | not in base model pretraining |
26
- | `nl` Dutch | 60 | 1.000 | 1.000 | 1.000 | |
27
- | `pl` Polish | 60 | 1.000 | 1.000 | 1.000 | |
28
- | `pt` Portuguese | 60 | 1.000 | 1.000 | 1.000 | |
29
- | `ro` Romanian | 60 | 1.000 | 0.983 | 0.992 | |
30
- | `sk` Slovak | 60 | 1.000 | 0.983 | 0.992 | |
31
- | `sl` Slovenian | 59 | 1.000 | 1.000 | 1.000 | |
32
- | `sv` Swedish | 60 | 1.000 | 1.000 | 1.000 | |
33
- | `tr` Turkish | 60 | 0.984 | 1.000 | 0.992 | |
34
- | `az` Azerbaijani | 60 | 0.984 | 1.000 | 0.992 | |
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
 
@@ -39,37 +39,37 @@ The base-model note is a fact about pretraining, not a cause of the score beside
39
 
40
  | Register | Support | P | R | F1 | FPR |
41
  |---|---|---|---|---|---|
42
- | `cyber_intrusion` | 130 | 1.000 | 0.992 | 0.996 | 0.000 |
43
  | `cyber_intrusion_near_miss` | 0 | 0.000 | 0.000 | 0.000 | 0.000 |
44
- | `defamation` | 130 | 1.000 | 0.985 | 0.992 | 0.000 |
45
  | `defamation_near_miss` | 0 | 0.000 | 0.000 | 0.000 | 0.000 |
46
- | `election_integrity` | 130 | 1.000 | 0.992 | 0.996 | 0.000 |
47
  | `election_integrity_near_miss` | 0 | 0.000 | 0.000 | 0.000 | 0.000 |
48
- | `extremism` | 129 | 1.000 | 0.992 | 0.996 | 0.000 |
49
- | `extremism_near_miss` | 0 | 0.000 | 0.000 | 0.000 | 0.019 |
50
- | `fraud_deception` | 130 | 1.000 | 0.985 | 0.992 | 0.000 |
51
- | `fraud_deception_near_miss` | 0 | 0.000 | 0.000 | 0.000 | 0.038 |
52
- | `hate_incitement` | 126 | 1.000 | 0.992 | 0.996 | 0.000 |
53
  | `hate_incitement_near_miss` | 0 | 0.000 | 0.000 | 0.000 | 0.000 |
54
- | `illicit_drugs` | 130 | 1.000 | 1.000 | 1.000 | 0.000 |
55
  | `illicit_drugs_near_miss` | 0 | 0.000 | 0.000 | 0.000 | 0.000 |
56
- | `mundane_account_access` | 0 | 0.000 | 0.000 | 0.000 | 0.005 |
57
- | `mundane_informational` | 0 | 0.000 | 0.000 | 0.000 | 0.000 |
58
- | `mundane_operational` | 0 | 0.000 | 0.000 | 0.000 | 0.005 |
59
  | `mundane_transactional` | 0 | 0.000 | 0.000 | 0.000 | 0.000 |
60
- | `property_crime` | 129 | 1.000 | 0.992 | 0.996 | 0.000 |
61
- | `property_crime_near_miss` | 0 | 0.000 | 0.000 | 0.000 | 0.038 |
62
- | `self_harm` | 129 | 1.000 | 1.000 | 1.000 | 0.000 |
63
- | `self_harm_near_miss` | 0 | 0.000 | 0.000 | 0.000 | 0.019 |
64
- | `sexual_exploitation` | 129 | 1.000 | 0.984 | 0.992 | 0.000 |
65
  | `sexual_exploitation_near_miss` | 0 | 0.000 | 0.000 | 0.000 | 0.019 |
66
- | `violent_facilitation` | 130 | 1.000 | 0.992 | 0.996 | 0.000 |
67
- | `violent_facilitation_near_miss` | 0 | 0.000 | 0.000 | 0.000 | 0.019 |
68
- | `weapons_cbrn` | 130 | 1.000 | 0.992 | 0.996 | 0.000 |
69
  | `weapons_cbrn_near_miss` | 0 | 0.000 | 0.000 | 0.000 | 0.000 |
70
 
71
  ## Known weaknesses
72
 
73
- The three weakest languages by F1: `mt` at 0.957, `ga` at 0.966, `bg` at 0.983.
74
 
75
  These are published rather than dropped. A coverage table with the bad rows removed is not a coverage table.
 
1
  # moderation evaluation
2
 
3
+ **Threshold 0.91 (calibrated on the validation split, objective macro_f1).** The config default of 0.5 scored 0.866 against 0.904 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 | 52 | 1.000 | 1.000 | 1.000 | |
10
+ | `cs` Czech | 60 | 0.983 | 0.950 | 0.966 | |
11
+ | `da` Danish | 51 | 1.000 | 0.980 | 0.990 | |
12
+ | `de` German | 54 | 1.000 | 0.981 | 0.991 | |
13
+ | `el` Greek | 57 | 1.000 | 0.982 | 0.991 | |
14
+ | `en` English | 62 | 0.984 | 0.984 | 0.984 | |
15
+ | `es` Spanish | 52 | 1.000 | 0.923 | 0.960 | |
16
+ | `et` Estonian | 59 | 1.000 | 0.966 | 0.983 | |
17
+ | `fi` Finnish | 50 | 1.000 | 0.960 | 0.980 | |
18
+ | `fr` French | 60 | 1.000 | 0.950 | 0.974 | |
19
+ | `ga` Irish | 50 | 0.913 | 0.840 | 0.875 | |
20
+ | `hr` Croatian | 60 | 0.967 | 0.983 | 0.975 | |
21
+ | `hu` Hungarian | 63 | 0.969 | 0.984 | 0.976 | |
22
+ | `it` Italian | 61 | 0.984 | 1.000 | 0.992 | |
23
+ | `lt` Lithuanian | 52 | 1.000 | 0.981 | 0.990 | |
24
+ | `lv` Latvian | 55 | 1.000 | 0.945 | 0.972 | |
25
+ | `mt` Maltese | 48 | 0.872 | 0.854 | 0.863 | not in base model pretraining |
26
+ | `nl` Dutch | 56 | 0.982 | 0.982 | 0.982 | |
27
+ | `pl` Polish | 61 | 1.000 | 0.984 | 0.992 | |
28
+ | `pt` Portuguese | 52 | 0.980 | 0.962 | 0.971 | |
29
+ | `ro` Romanian | 63 | 1.000 | 0.952 | 0.976 | |
30
+ | `sk` Slovak | 48 | 0.979 | 0.979 | 0.979 | |
31
+ | `sl` Slovenian | 59 | 1.000 | 0.983 | 0.991 | |
32
+ | `sv` Swedish | 52 | 0.962 | 0.981 | 0.971 | |
33
+ | `tr` Turkish | 60 | 0.937 | 0.983 | 0.959 | |
34
+ | `az` Azerbaijani | 57 | 0.981 | 0.930 | 0.955 | |
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
 
 
39
 
40
  | Register | Support | P | R | F1 | FPR |
41
  |---|---|---|---|---|---|
42
+ | `cyber_intrusion` | 119 | 1.000 | 0.958 | 0.979 | 0.000 |
43
  | `cyber_intrusion_near_miss` | 0 | 0.000 | 0.000 | 0.000 | 0.000 |
44
+ | `defamation` | 111 | 1.000 | 1.000 | 1.000 | 0.000 |
45
  | `defamation_near_miss` | 0 | 0.000 | 0.000 | 0.000 | 0.000 |
46
+ | `election_integrity` | 116 | 1.000 | 0.974 | 0.987 | 0.000 |
47
  | `election_integrity_near_miss` | 0 | 0.000 | 0.000 | 0.000 | 0.000 |
48
+ | `extremism` | 130 | 1.000 | 0.908 | 0.952 | 0.000 |
49
+ | `extremism_near_miss` | 0 | 0.000 | 0.000 | 0.000 | 0.068 |
50
+ | `fraud_deception` | 124 | 1.000 | 0.952 | 0.975 | 0.000 |
51
+ | `fraud_deception_near_miss` | 0 | 0.000 | 0.000 | 0.000 | 0.051 |
52
+ | `hate_incitement` | 106 | 1.000 | 0.991 | 0.995 | 0.000 |
53
  | `hate_incitement_near_miss` | 0 | 0.000 | 0.000 | 0.000 | 0.000 |
54
+ | `illicit_drugs` | 141 | 1.000 | 0.957 | 0.978 | 0.000 |
55
  | `illicit_drugs_near_miss` | 0 | 0.000 | 0.000 | 0.000 | 0.000 |
56
+ | `mundane_account_access` | 0 | 0.000 | 0.000 | 0.000 | 0.024 |
57
+ | `mundane_informational` | 0 | 0.000 | 0.000 | 0.000 | 0.005 |
58
+ | `mundane_operational` | 0 | 0.000 | 0.000 | 0.000 | 0.000 |
59
  | `mundane_transactional` | 0 | 0.000 | 0.000 | 0.000 | 0.000 |
60
+ | `property_crime` | 129 | 1.000 | 0.953 | 0.976 | 0.000 |
61
+ | `property_crime_near_miss` | 0 | 0.000 | 0.000 | 0.000 | 0.074 |
62
+ | `self_harm` | 99 | 1.000 | 0.949 | 0.974 | 0.000 |
63
+ | `self_harm_near_miss` | 0 | 0.000 | 0.000 | 0.000 | 0.111 |
64
+ | `sexual_exploitation` | 119 | 1.000 | 0.983 | 0.992 | 0.000 |
65
  | `sexual_exploitation_near_miss` | 0 | 0.000 | 0.000 | 0.000 | 0.019 |
66
+ | `violent_facilitation` | 127 | 1.000 | 0.961 | 0.980 | 0.000 |
67
+ | `violent_facilitation_near_miss` | 0 | 0.000 | 0.000 | 0.000 | 0.018 |
68
+ | `weapons_cbrn` | 133 | 1.000 | 0.977 | 0.989 | 0.000 |
69
  | `weapons_cbrn_near_miss` | 0 | 0.000 | 0.000 | 0.000 | 0.000 |
70
 
71
  ## Known weaknesses
72
 
73
+ The three weakest languages by F1: `mt` at 0.863, `ga` at 0.875, `az` at 0.955.
74
 
75
  These are published rather than dropped. A coverage table with the bad rows removed is not a coverage table.