Upload eval/moderation_eval.md with huggingface_hub
Browse files- eval/moderation_eval.md +48 -48
eval/moderation_eval.md
CHANGED
|
@@ -1,37 +1,37 @@
|
|
| 1 |
# moderation evaluation
|
| 2 |
|
| 3 |
-
**Threshold 0.
|
| 4 |
|
| 5 |
## Per language
|
| 6 |
|
| 7 |
| Language | Support | P | R | F1 | Notes |
|
| 8 |
|---|---|---|---|---|---|
|
| 9 |
-
| `bg` Bulgarian |
|
| 10 |
-
| `cs` Czech | 60 |
|
| 11 |
-
| `da` Danish |
|
| 12 |
-
| `de` German |
|
| 13 |
-
| `el` Greek |
|
| 14 |
-
| `en` English |
|
| 15 |
-
| `es` Spanish |
|
| 16 |
-
| `et` Estonian |
|
| 17 |
-
| `fi` Finnish |
|
| 18 |
-
| `fr` French |
|
| 19 |
-
| `ga` Irish |
|
| 20 |
-
| `hr` Croatian |
|
| 21 |
-
| `hu` Hungarian |
|
| 22 |
-
| `it` Italian |
|
| 23 |
-
| `lt` Lithuanian |
|
| 24 |
-
| `lv` Latvian |
|
| 25 |
-
| `mt` Maltese |
|
| 26 |
-
| `nl` Dutch |
|
| 27 |
-
| `pl` Polish |
|
| 28 |
-
| `pt` Portuguese |
|
| 29 |
-
| `ro` Romanian |
|
| 30 |
-
| `sk` Slovak |
|
| 31 |
-
| `sl` Slovenian | 59 | 1.000 |
|
| 32 |
-
| `sv` Swedish |
|
| 33 |
-
| `tr` Turkish | 60 | 0.
|
| 34 |
-
| `az` Azerbaijani |
|
| 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` |
|
| 43 |
| `cyber_intrusion_near_miss` | 0 | 0.000 | 0.000 | 0.000 | 0.000 |
|
| 44 |
-
| `defamation` |
|
| 45 |
| `defamation_near_miss` | 0 | 0.000 | 0.000 | 0.000 | 0.000 |
|
| 46 |
-
| `election_integrity` |
|
| 47 |
| `election_integrity_near_miss` | 0 | 0.000 | 0.000 | 0.000 | 0.000 |
|
| 48 |
-
| `extremism` |
|
| 49 |
-
| `extremism_near_miss` | 0 | 0.000 | 0.000 | 0.000 | 0.
|
| 50 |
-
| `fraud_deception` |
|
| 51 |
-
| `fraud_deception_near_miss` | 0 | 0.000 | 0.000 | 0.000 | 0.
|
| 52 |
-
| `hate_incitement` |
|
| 53 |
| `hate_incitement_near_miss` | 0 | 0.000 | 0.000 | 0.000 | 0.000 |
|
| 54 |
-
| `illicit_drugs` |
|
| 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.
|
| 57 |
-
| `mundane_informational` | 0 | 0.000 | 0.000 | 0.000 | 0.
|
| 58 |
-
| `mundane_operational` | 0 | 0.000 | 0.000 | 0.000 | 0.
|
| 59 |
| `mundane_transactional` | 0 | 0.000 | 0.000 | 0.000 | 0.000 |
|
| 60 |
-
| `property_crime` | 129 | 1.000 | 0.
|
| 61 |
-
| `property_crime_near_miss` | 0 | 0.000 | 0.000 | 0.000 | 0.
|
| 62 |
-
| `self_harm` |
|
| 63 |
-
| `self_harm_near_miss` | 0 | 0.000 | 0.000 | 0.000 | 0.
|
| 64 |
-
| `sexual_exploitation` |
|
| 65 |
| `sexual_exploitation_near_miss` | 0 | 0.000 | 0.000 | 0.000 | 0.019 |
|
| 66 |
-
| `violent_facilitation` |
|
| 67 |
-
| `violent_facilitation_near_miss` | 0 | 0.000 | 0.000 | 0.000 | 0.
|
| 68 |
-
| `weapons_cbrn` |
|
| 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.
|
| 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.
|