Upload eval/bias_eval.md with huggingface_hub
Browse files- eval/bias_eval.md +60 -0
eval/bias_eval.md
ADDED
|
@@ -0,0 +1,60 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# bias evaluation
|
| 2 |
+
|
| 3 |
+
**Threshold 0.77 (calibrated on the validation split, objective macro_f1).** The config default of 0.5 scored 0.981 against 0.982 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 | 80 | 0.987 | 0.975 | 0.981 | |
|
| 10 |
+
| `cs` Czech | 80 | 0.988 | 1.000 | 0.994 | |
|
| 11 |
+
| `da` Danish | 80 | 1.000 | 1.000 | 1.000 | |
|
| 12 |
+
| `de` German | 80 | 0.963 | 0.988 | 0.975 | |
|
| 13 |
+
| `el` Greek | 80 | 1.000 | 0.988 | 0.994 | |
|
| 14 |
+
| `en` English | 80 | 0.963 | 0.988 | 0.975 | |
|
| 15 |
+
| `es` Spanish | 76 | 1.000 | 0.974 | 0.987 | |
|
| 16 |
+
| `et` Estonian | 79 | 0.963 | 1.000 | 0.981 | |
|
| 17 |
+
| `fi` Finnish | 80 | 0.988 | 0.988 | 0.988 | |
|
| 18 |
+
| `fr` French | 80 | 0.976 | 1.000 | 0.988 | |
|
| 19 |
+
| `ga` Irish | 77 | 0.974 | 0.961 | 0.967 | |
|
| 20 |
+
| `hr` Croatian | 80 | 1.000 | 1.000 | 1.000 | |
|
| 21 |
+
| `hu` Hungarian | 80 | 0.952 | 0.988 | 0.969 | |
|
| 22 |
+
| `it` Italian | 80 | 1.000 | 1.000 | 1.000 | |
|
| 23 |
+
| `lt` Lithuanian | 79 | 0.987 | 0.987 | 0.987 | |
|
| 24 |
+
| `lv` Latvian | 80 | 0.975 | 0.988 | 0.981 | |
|
| 25 |
+
| `mt` Maltese | 78 | 0.948 | 0.936 | 0.942 | not in base model pretraining |
|
| 26 |
+
| `nl` Dutch | 79 | 0.988 | 1.000 | 0.994 | |
|
| 27 |
+
| `pl` Polish | 80 | 0.976 | 1.000 | 0.988 | |
|
| 28 |
+
| `pt` Portuguese | 76 | 0.974 | 0.974 | 0.974 | |
|
| 29 |
+
| `ro` Romanian | 80 | 1.000 | 0.988 | 0.994 | |
|
| 30 |
+
| `sk` Slovak | 80 | 0.988 | 0.988 | 0.988 | |
|
| 31 |
+
| `sl` Slovenian | 80 | 1.000 | 0.988 | 0.994 | |
|
| 32 |
+
| `sv` Swedish | 80 | 0.988 | 0.988 | 0.988 | |
|
| 33 |
+
| `tr` Turkish | 80 | 0.951 | 0.975 | 0.963 | |
|
| 34 |
+
| `az` Azerbaijani | 80 | 0.920 | 1.000 | 0.958 | |
|
| 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 |
+
| `age_assumption` | 415 | 1.000 | 0.986 | 0.993 | 0.000 |
|
| 43 |
+
| `counter_stereotype` | 0 | 0.000 | 0.000 | 0.000 | 0.011 |
|
| 44 |
+
| `demographic_statistic` | 0 | 0.000 | 0.000 | 0.000 | 0.000 |
|
| 45 |
+
| `disability_condescension` | 413 | 1.000 | 0.995 | 0.998 | 0.000 |
|
| 46 |
+
| `discussing_bias` | 0 | 0.000 | 0.000 | 0.000 | 0.016 |
|
| 47 |
+
| `ethnic_generalisation` | 411 | 1.000 | 0.990 | 0.995 | 0.000 |
|
| 48 |
+
| `inclusive_phrasing` | 0 | 0.000 | 0.000 | 0.000 | 0.096 |
|
| 49 |
+
| `mundane_informational` | 0 | 0.000 | 0.000 | 0.000 | 0.000 |
|
| 50 |
+
| `mundane_operational` | 0 | 0.000 | 0.000 | 0.000 | 0.000 |
|
| 51 |
+
| `mundane_transactional` | 0 | 0.000 | 0.000 | 0.000 | 0.000 |
|
| 52 |
+
| `neutral_description` | 0 | 0.000 | 0.000 | 0.000 | 0.000 |
|
| 53 |
+
| `occupational_stereotype` | 415 | 1.000 | 0.969 | 0.984 | 0.000 |
|
| 54 |
+
| `religious_assumption` | 410 | 1.000 | 0.995 | 0.998 | 0.000 |
|
| 55 |
+
|
| 56 |
+
## Known weaknesses
|
| 57 |
+
|
| 58 |
+
The three weakest languages by F1: `mt` at 0.942, `az` at 0.958, `tr` at 0.963.
|
| 59 |
+
|
| 60 |
+
These are published rather than dropped. A coverage table with the bad rows removed is not a coverage table.
|