Upload eval/moderation_eval.md with huggingface_hub
Browse files- eval/moderation_eval.md +74 -0
eval/moderation_eval.md
ADDED
|
@@ -0,0 +1,74 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# moderation evaluation
|
| 2 |
+
|
| 3 |
+
**Threshold 0.84 (calibrated on the validation split, objective macro_f1).** The config default of 0.5 scored 0.923 against 0.931 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 | 0.983 | 0.992 | |
|
| 12 |
+
| `de` German | 60 | 1.000 | 0.983 | 0.992 | |
|
| 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 | 1.000 | 1.000 | 1.000 | |
|
| 17 |
+
| `fi` Finnish | 60 | 1.000 | 1.000 | 1.000 | |
|
| 18 |
+
| `fr` French | 59 | 1.000 | 1.000 | 1.000 | |
|
| 19 |
+
| `ga` Irish | 60 | 0.952 | 0.983 | 0.967 | |
|
| 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.967 | 0.983 | |
|
| 25 |
+
| `mt` Maltese | 59 | 0.982 | 0.949 | 0.966 | not in base model pretraining |
|
| 26 |
+
| `nl` Dutch | 60 | 1.000 | 0.983 | 0.992 | |
|
| 27 |
+
| `pl` Polish | 60 | 1.000 | 1.000 | 1.000 | |
|
| 28 |
+
| `pt` Portuguese | 60 | 0.968 | 1.000 | 0.984 | |
|
| 29 |
+
| `ro` Romanian | 60 | 1.000 | 1.000 | 1.000 | |
|
| 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 | 1.000 | 0.967 | 0.983 | |
|
| 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 |
+
| `cyber_intrusion` | 130 | 1.000 | 1.000 | 1.000 | 0.000 |
|
| 43 |
+
| `cyber_intrusion_near_miss` | 0 | 0.000 | 0.000 | 0.000 | 0.000 |
|
| 44 |
+
| `defamation` | 130 | 1.000 | 1.000 | 1.000 | 0.000 |
|
| 45 |
+
| `defamation_near_miss` | 0 | 0.000 | 0.000 | 0.000 | 0.019 |
|
| 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.984 | 0.992 | 0.000 |
|
| 49 |
+
| `extremism_near_miss` | 0 | 0.000 | 0.000 | 0.000 | 0.038 |
|
| 50 |
+
| `fraud_deception` | 130 | 1.000 | 1.000 | 1.000 | 0.000 |
|
| 51 |
+
| `fraud_deception_near_miss` | 0 | 0.000 | 0.000 | 0.000 | 0.058 |
|
| 52 |
+
| `hate_incitement` | 126 | 1.000 | 1.000 | 1.000 | 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_informational` | 0 | 0.000 | 0.000 | 0.000 | 0.000 |
|
| 57 |
+
| `mundane_operational` | 0 | 0.000 | 0.000 | 0.000 | 0.000 |
|
| 58 |
+
| `mundane_transactional` | 0 | 0.000 | 0.000 | 0.000 | 0.000 |
|
| 59 |
+
| `property_crime` | 129 | 1.000 | 0.977 | 0.988 | 0.000 |
|
| 60 |
+
| `property_crime_near_miss` | 0 | 0.000 | 0.000 | 0.000 | 0.019 |
|
| 61 |
+
| `self_harm` | 129 | 1.000 | 0.992 | 0.996 | 0.000 |
|
| 62 |
+
| `self_harm_near_miss` | 0 | 0.000 | 0.000 | 0.000 | 0.019 |
|
| 63 |
+
| `sexual_exploitation` | 129 | 1.000 | 0.969 | 0.984 | 0.000 |
|
| 64 |
+
| `sexual_exploitation_near_miss` | 0 | 0.000 | 0.000 | 0.000 | 0.019 |
|
| 65 |
+
| `violent_facilitation` | 130 | 1.000 | 0.977 | 0.988 | 0.000 |
|
| 66 |
+
| `violent_facilitation_near_miss` | 0 | 0.000 | 0.000 | 0.000 | 0.019 |
|
| 67 |
+
| `weapons_cbrn` | 130 | 1.000 | 0.992 | 0.996 | 0.000 |
|
| 68 |
+
| `weapons_cbrn_near_miss` | 0 | 0.000 | 0.000 | 0.000 | 0.000 |
|
| 69 |
+
|
| 70 |
+
## Known weaknesses
|
| 71 |
+
|
| 72 |
+
The three weakest languages by F1: `mt` at 0.966, `ga` at 0.967, `az` at 0.983.
|
| 73 |
+
|
| 74 |
+
These are published rather than dropped. A coverage table with the bad rows removed is not a coverage table.
|