Model card: add cora_v2 / ultra_v2 section
Browse files
README.md
CHANGED
|
@@ -229,6 +229,38 @@ name-collection demography, dataset documentation. **Not** intended for
|
|
| 229 |
decisions about individual people (hiring, credit, identity verification,
|
| 230 |
content moderation), nor as ground truth about anyone's gender.
|
| 231 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 232 |
## Version history
|
| 233 |
|
| 234 |
- **v2** (this release): fused two-network model, script-aware routing,
|
|
|
|
| 229 |
decisions about individual people (hiring, credit, identity verification,
|
| 230 |
content moderation), nor as ground truth about anyone's gender.
|
| 231 |
|
| 232 |
+
<!-- cora_ultra_v2:start -->
|
| 233 |
+
## cora_v2 / ultra_v2: weight-space edits of the v1 networks
|
| 234 |
+
|
| 235 |
+
Folder [`genderize_cora_ultra_v2/`](genderize_cora_ultra_v2/) holds new versions of the
|
| 236 |
+
two single-network v1 models. They are **not** the fused *Genderize v2* described
|
| 237 |
+
above: "v2" there means "second version of `cora` and `ultra`". The v1 weights were
|
| 238 |
+
edited directly, without retraining
|
| 239 |
+
([method](https://rikiyat.github.io/blog/weight-space-programming/)): BatchNorm and
|
| 240 |
+
calibration temperatures folded in, 12 extra hidden units that correct a male-leaning
|
| 241 |
+
shift on six scripts, and a built-in transliteration table for Georgian, Armenian,
|
| 242 |
+
Bengali and Kazakh.
|
| 243 |
+
|
| 244 |
+
| Bench | Rows | cora v1 โ v2 | ultra v1 โ v2 | fused v2.2.1 |
|
| 245 |
+
|---|---:|---|---|---:|
|
| 246 |
+
| Native scripts v1 | 16,945 | 81.03% โ 85.64% | 83.84% โ 88.99% | 88.70% |
|
| 247 |
+
| Georgian/Armenian native | 2,000 | 51.05% โ 89.75% | 57.40% โ 92.10% | n/a |
|
| 248 |
+
| Residual 226 v1 (Latin) | 25,739 | 88.72% โ 88.72% | 89.95% โ 89.95% | 90.69% |
|
| 249 |
+
| 226 v2 (Latin) | 50,258 | 92.82% โ 92.82% | 93.71% โ 93.71% | n/a |
|
| 250 |
+
|
| 251 |
+
On Latin-script names nothing changes (0 gender labels changed on 82,258 rows; 0
|
| 252 |
+
country top-1 changes on 102,201 rows). On the six shifted scripts female recall
|
| 253 |
+
rises by 4โ29 points and male recall falls by 3โ20. The benches were already used in
|
| 254 |
+
development, so these figures are regression evidence, not independent validation.
|
| 255 |
+
Sizes: cora_v2 3.11 MB, ultra_v2 12.88 MB. Full results, method and limitations:
|
| 256 |
+
[`genderize_cora_ultra_v2/README.md`](genderize_cora_ultra_v2/README.md).
|
| 257 |
+
|
| 258 |
+
```sh
|
| 259 |
+
cd genderize_cora_ultra_v2
|
| 260 |
+
python inference.py --variant ultra_v2 "Andrea Rossi" "แแแแ แฎแแฏแแแแซแ"
|
| 261 |
+
```
|
| 262 |
+
<!-- cora_ultra_v2:end -->
|
| 263 |
+
|
| 264 |
## Version history
|
| 265 |
|
| 266 |
- **v2** (this release): fused two-network model, script-aware routing,
|