v5: fix Arabic-word collisions (9%% -> 1%% ambiguous spans)
Browse files- README.md +7 -7
- dataset_stats.json +8 -8
- test.parquet +2 -2
- train.parquet +2 -2
- validation.parquet +2 -2
README.md
CHANGED
|
@@ -48,7 +48,7 @@ This corpus trains a model to repair that, **without touching text that is genui
|
|
| 48 |
|
| 49 |
- **500,346 examples** across **9 dialect labels**
|
| 50 |
- **29% pass-through rows** where the correct answer is *change nothing*
|
| 51 |
-
- **1,417,
|
| 52 |
- Zero train/test leakage, zero token/tag misalignment (both verified — see *Quality guarantees*)
|
| 53 |
|
| 54 |
---
|
|
@@ -121,10 +121,10 @@ The category is part of the label because the same characters convert differentl
|
|
| 121 |
|
| 122 |
| Category | Count | Input | Output |
|
| 123 |
|---|---|---|---|
|
| 124 |
-
| `CS` | 1,395,
|
| 125 |
-
| `ACRONYM` | 12,
|
| 126 |
| `EMAIL` | 4,370 | `احمد ات جيميل دوت كوم` | `ahmed@gmail.com` |
|
| 127 |
-
| `ENTITY` | 5,
|
| 128 |
| `NUMBER` | 0 | `تو زيرو تو فور` | `2024` |
|
| 129 |
|
| 130 |
---
|
|
@@ -133,9 +133,9 @@ The category is part of the label because the same characters convert differentl
|
|
| 133 |
|
| 134 |
| Split | Rows | Pass-through | Spans |
|
| 135 |
|---|---|---|---|
|
| 136 |
-
| `train` | 450,
|
| 137 |
-
| `validation` | 24,
|
| 138 |
-
| `test` | 25,
|
| 139 |
|
| 140 |
Splits are assigned by **hashing a normalised sentence key** rather than shuffling, so a rebuild
|
| 141 |
reproduces exactly the same test set — important if this corpus is to serve as a shared benchmark.
|
|
|
|
| 48 |
|
| 49 |
- **500,346 examples** across **9 dialect labels**
|
| 50 |
- **29% pass-through rows** where the correct answer is *change nothing*
|
| 51 |
+
- **1,417,309 labelled spans**, tagged by category
|
| 52 |
- Zero train/test leakage, zero token/tag misalignment (both verified — see *Quality guarantees*)
|
| 53 |
|
| 54 |
---
|
|
|
|
| 121 |
|
| 122 |
| Category | Count | Input | Output |
|
| 123 |
|---|---|---|---|
|
| 124 |
+
| `CS` | 1,395,234 | `انترن` | `intern` |
|
| 125 |
+
| `ACRONYM` | 12,393 | `ايه اي` | `AI` |
|
| 126 |
| `EMAIL` | 4,370 | `احمد ات جيميل دوت كوم` | `ahmed@gmail.com` |
|
| 127 |
+
| `ENTITY` | 5,312 | `اورانج انوفيشن ايجيبت` | `Orange Innovation Egypt` |
|
| 128 |
| `NUMBER` | 0 | `تو زيرو تو فور` | `2024` |
|
| 129 |
|
| 130 |
---
|
|
|
|
| 133 |
|
| 134 |
| Split | Rows | Pass-through | Spans |
|
| 135 |
|---|---|---|---|
|
| 136 |
+
| `train` | 450,338 | 130,321 (28.9%) | 1,275,872 |
|
| 137 |
+
| `validation` | 24,865 | 7,160 (28.8%) | 70,182 |
|
| 138 |
+
| `test` | 25,143 | 7,229 (28.8%) | 71,255 |
|
| 139 |
|
| 140 |
Splits are assigned by **hashing a normalised sentence key** rather than shuffling, so a rebuild
|
| 141 |
reproduces exactly the same test set — important if this corpus is to serve as a shared benchmark.
|
dataset_stats.json
CHANGED
|
@@ -5,12 +5,12 @@
|
|
| 5 |
"skipped_duplicate": 76496,
|
| 6 |
"passthrough_examples": 144710,
|
| 7 |
"passthrough_ratio": 0.2892,
|
| 8 |
-
"total_tokens":
|
| 9 |
-
"total_spans":
|
| 10 |
"by_split": {
|
| 11 |
-
"train":
|
| 12 |
-
"validation":
|
| 13 |
-
"test":
|
| 14 |
},
|
| 15 |
"by_dialect": {
|
| 16 |
"msa": 114741,
|
|
@@ -32,9 +32,9 @@
|
|
| 32 |
"sdaia-mono": 2111
|
| 33 |
},
|
| 34 |
"by_category": {
|
| 35 |
-
"CS":
|
| 36 |
-
"ACRONYM":
|
| 37 |
-
"ENTITY":
|
| 38 |
"EMAIL": 4370
|
| 39 |
}
|
| 40 |
}
|
|
|
|
| 5 |
"skipped_duplicate": 76496,
|
| 6 |
"passthrough_examples": 144710,
|
| 7 |
"passthrough_ratio": 0.2892,
|
| 8 |
+
"total_tokens": 5748372,
|
| 9 |
+
"total_spans": 1417309,
|
| 10 |
"by_split": {
|
| 11 |
+
"train": 450338,
|
| 12 |
+
"validation": 24865,
|
| 13 |
+
"test": 25143
|
| 14 |
},
|
| 15 |
"by_dialect": {
|
| 16 |
"msa": 114741,
|
|
|
|
| 32 |
"sdaia-mono": 2111
|
| 33 |
},
|
| 34 |
"by_category": {
|
| 35 |
+
"CS": 1395234,
|
| 36 |
+
"ACRONYM": 12393,
|
| 37 |
+
"ENTITY": 5312,
|
| 38 |
"EMAIL": 4370
|
| 39 |
}
|
| 40 |
}
|
test.parquet
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:41dba6b587f77e86772c7da5d34c8a8c3c2c0c5cd07fee6e6d5b3803e80ebfca
|
| 3 |
+
size 3486155
|
train.parquet
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:88c57057c3f3c6501f40b89073a257b56db7ca38206dab5d0ad9518d499d9132
|
| 3 |
+
size 65338565
|
validation.parquet
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:90599e389c032e1710638a01296c07adee452872177701c4167e863c081e08f5
|
| 3 |
+
size 3440197
|