ainouche-abderahmane commited on
Commit
48cf59e
·
verified ·
1 Parent(s): 475d8a9

Upload folder using huggingface_hub

Browse files
README.md CHANGED
@@ -49,7 +49,7 @@ configs:
49
  A morphological inflection and analysis benchmark for Kabyle (Taqbaylit, `kab`, Latin script), from the
50
  [AƔBALU](https://huggingface.co/agbalu) project.
51
 
52
- **344,745 inflected verb form entries** across **13,226 unique verb lemmas**, partitioned into
53
  paradigmatically sealed splits (0 paradigm leakage), plus **6,198 complete verb conjugation tables**.
54
 
55
  ```python
@@ -64,14 +64,14 @@ paradigms = load_dataset("agbalu/KabInflect", "paradigms", split="train")
64
 
65
  Morphological Inflection (Seq2Seq Morphological Generation): `(lemma, feats)` → `form`.
66
 
67
- 344,745 total entries across 13,226 verb lemmas.
68
 
69
  | split | lemmas | inflected forms |
70
  |---|---|---|
71
- | `train` | 10,580 | 276,717 |
72
- | `dev` | 1,323 | 34,109 |
73
- | `test` | 1,323 | 33,919 |
74
- | **total** | **13,226** | **344,745** |
75
 
76
  ### Schema
77
 
@@ -82,13 +82,13 @@ Morphological Inflection (Seq2Seq Morphological Generation): `(lemma, feats)`
82
  | `feats` | string | Universal Dependencies (UD) FEATS (e.g. `Aspect=Perf\|Gender=Masc\|Number=Sing\|Person=3`) |
83
  | `tense_raw` | string | Legacy source tense descriptor (e.g. `prétérit`, `aoriste intensif`) |
84
  | `person_raw` | string | Legacy source person descriptor (e.g. `3s_m`, `1p`) |
85
- | `form` | string | Inflected surface form in canonical Kabyle orthography |
86
 
87
  ## `analysis`
88
 
89
  Morphological Analysis and Lemmatisation: `form` → `(lemma, feats)`.
90
 
91
- Same 344,745 entries, indexed by inflected surface form.
92
 
93
  ## `paradigms`
94
 
@@ -101,19 +101,35 @@ Same 344,745 entries, indexed by inflected surface form.
101
  `agbalu/KabInflect` fixes this:
102
  - Entries are grouped strictly by **verb lemma** (`infinitif`).
103
  - Splitting is performed at the **lemma level** with seed 42.
104
- - **0% lemma overlap**: all 1,323 verbs in `test` (33,919 forms) are completely unseen during training. A system must learn the underlying rules of Kabyle morphology to succeed.
105
 
106
  ## Orthography
107
 
108
- All Kabyle text is normalised under normaliser `1.3.0+rules1.0.0` (81 rules), preserving sub-dot emphatic distinctions (`ɣ ḍ ḥ ṭ ṛ ẓ ṣ`). The source text carries 0.00% homoglyph error.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
109
 
110
  ## Evaluation Protocol & Baseline Floor
111
 
112
- The benchmark evaluates morphological generation (`inflection`) and parsing (`analysis`) on **1,323 held-out test verb lemmas (33,919 unseen test forms)**.
113
 
114
  | task | system | exact match | CER |
115
  |---|---|---|---|
116
- | inflection | copy the lemma unchanged | 4.11% | 30.69% |
117
 
118
  ```bash
119
  make bench TASK=inflect
@@ -121,7 +137,7 @@ make bench TASK=inflect
121
 
122
  **The floor is not zero, and that is why it is measured rather than assumed.** Kabyle's
123
  imperative singular *is* the citation form for most verbs, so a copy is correct in one cell
124
- of nearly every paradigm — 4.11% of 33,919 test forms. A headline exact match read against
125
  zero would be flattered by exactly that much.
126
 
127
  No system has yet been scored on the `analysis` direction.
@@ -131,6 +147,12 @@ paradigms: no test verb appears in any training cell.
131
 
132
  ## Known Limits
133
 
 
 
 
 
 
 
134
  - **Verb-focused.** Covers Kabyle verbal morphology (the largest morphological paradigm family in the language); nominal annexed-state paradigms are covered separately in `agbalu/KabLex`.
135
  - **Gloss language.** Paradigm translations are French, reflecting the source dictionary.
136
  - **Standard orthography.** Uses standard Kabyle Latin script; does not cover dialectal spellings or Tifinagh (see `agbalu/KabTifinagh` for script conversion).
 
49
  A morphological inflection and analysis benchmark for Kabyle (Taqbaylit, `kab`, Latin script), from the
50
  [AƔBALU](https://huggingface.co/agbalu) project.
51
 
52
+ **336,151 inflected verb form entries** across **13,226 unique verb lemmas**, partitioned into
53
  paradigmatically sealed splits (0 paradigm leakage), plus **6,198 complete verb conjugation tables**.
54
 
55
  ```python
 
64
 
65
  Morphological Inflection (Seq2Seq Morphological Generation): `(lemma, feats)` → `form`.
66
 
67
+ 336,151 total entries across 13,226 verb lemmas.
68
 
69
  | split | lemmas | inflected forms |
70
  |---|---|---|
71
+ | `train` | 10,580 | 270,026 |
72
+ | `dev` | 1,323 | 33,060 |
73
+ | `test` | 1,323 | 33,065 |
74
+ | **total** | **13,226** | **336,151** |
75
 
76
  ### Schema
77
 
 
82
  | `feats` | string | Universal Dependencies (UD) FEATS (e.g. `Aspect=Perf\|Gender=Masc\|Number=Sing\|Person=3`) |
83
  | `tense_raw` | string | Legacy source tense descriptor (e.g. `prétérit`, `aoriste intensif`) |
84
  | `person_raw` | string | Legacy source person descriptor (e.g. `3s_m`, `1p`) |
85
+ | `form` | string | Inflected surface form, normalised; see Orthography emphatic `ṛ` is unmarked |
86
 
87
  ## `analysis`
88
 
89
  Morphological Analysis and Lemmatisation: `form` → `(lemma, feats)`.
90
 
91
+ Same 336,151 entries, indexed by inflected surface form.
92
 
93
  ## `paradigms`
94
 
 
101
  `agbalu/KabInflect` fixes this:
102
  - Entries are grouped strictly by **verb lemma** (`infinitif`).
103
  - Splitting is performed at the **lemma level** with seed 42.
104
+ - **0% lemma overlap**: all 1,323 verbs in `test` (33,065 forms) are completely unseen during training. A system must learn the underlying rules of Kabyle morphology to succeed.
105
 
106
  ## Orthography
107
 
108
+ All Kabyle text is normalised under normaliser `1.3.0+rules1.0.0` (81 rules). The source
109
+ text carries 0.00% homoglyph error and 0.00% legacy-font mojibake.
110
+
111
+ 🔴 **The emphatic `ṛ` is not represented, and this is a property of the source.** Measured
112
+ over all 270,026 training forms, `ṛ` U+1E5B occurs **0 times**, while `ḍ` appears in 14.43%
113
+ of forms, `ḥ` in 12.14%, `ṣ` in 3.36%, `ẓ` in 2.73% and `ṭ` in 4.37%. The upstream
114
+ conjugation resource writes plain `r` throughout — its lemmas are `ruḥ`, `ṣber` and `ɛreḍ`,
115
+ not `ṛuḥ`, `ṣbeṛ` and `ɛṛeḍ`.
116
+
117
+ The normaliser did not remove it; there was never anything to preserve. **The `ṛ`/`r`
118
+ contrast is therefore neutralised in this dataset**, and it is *not* neutralised in
119
+ [`agbalu/KabLex`](https://huggingface.co/datasets/agbalu/KabLex), which carries both `ṛuḥ`
120
+ and `ruḥ`. A model trained here will not produce emphatic `ṛ`, and scoring its output
121
+ against text that marks it will count every such form wrong.
122
+
123
+ Restoring it would mean deciding, for each `r`, whether the verb takes the emphatic — a
124
+ lexical question this dataset has no evidence for. It is disclosed rather than guessed.
125
 
126
  ## Evaluation Protocol & Baseline Floor
127
 
128
+ The benchmark evaluates morphological generation (`inflection`) and parsing (`analysis`) on **1,323 held-out test verb lemmas (33,065 unseen test forms)**.
129
 
130
  | task | system | exact match | CER |
131
  |---|---|---|---|
132
+ | inflection | copy the lemma unchanged | 4.07% | 30.73% |
133
 
134
  ```bash
135
  make bench TASK=inflect
 
137
 
138
  **The floor is not zero, and that is why it is measured rather than assumed.** Kabyle's
139
  imperative singular *is* the citation form for most verbs, so a copy is correct in one cell
140
+ of nearly every paradigm — 4.07% of 33,065 test forms. A headline exact match read against
141
  zero would be flattered by exactly that much.
142
 
143
  No system has yet been scored on the `analysis` direction.
 
147
 
148
  ## Known Limits
149
 
150
+ - **No emphatic `ṛ`.** See Orthography above — 0 occurrences in 270,026 forms, because the
151
+ source resource does not mark it. This is the most consequential limit here.
152
+ - **Deduplicated.** The raw shards repeat rows verbatim: one verb's intensive stems can
153
+ generate the same cell twice. **8,594 identical rows were dropped** (344,745 → 336,151),
154
+ so no form is silently reweighted during training. Earlier revisions of this dataset
155
+ carried them.
156
  - **Verb-focused.** Covers Kabyle verbal morphology (the largest morphological paradigm family in the language); nominal annexed-state paradigms are covered separately in `agbalu/KabLex`.
157
  - **Gloss language.** Paradigm translations are French, reflecting the source dictionary.
158
  - **Standard orthography.** Uses standard Kabyle Latin script; does not cover dialectal spellings or Tifinagh (see `agbalu/KabTifinagh` for script conversion).
analysis/dev.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:18f8150c115b1747e2857526c6cbb28ee679f0b750c81b63a712ad4a1f88c760
3
- size 492588
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c4d820de47f0b63c40fef61eb9a5d0bee95f0f35f39bcb4a97acb660d7ea832b
3
+ size 481478
analysis/test.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:a8c39f7c699be2240fdacd863c38ab3326fe1d2fb873744fb61041ab7b88e1a1
3
- size 491641
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a84bc835369e647d8a39f35495ddc0c31576fba2eb6eea7c20e7468c1fbc4198
3
+ size 482544
analysis/train.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:6d1458de4cc7f420df91aa81dccdc9541bcf6a8bb9065c9e5af441ce226c709f
3
- size 3452484
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:74edcf3b942233b536cea18e0119a599531e479f3614d04be1cb73f31b0c873f
3
+ size 3388634
dataset.stats.json CHANGED
@@ -4,44 +4,44 @@
4
  {
5
  "config": "inflection",
6
  "split": "train",
7
- "rows": 276717,
8
  "path": "inflection/train.parquet",
9
- "bytes": 3459886
10
  },
11
  {
12
  "config": "inflection",
13
  "split": "dev",
14
- "rows": 34109,
15
  "path": "inflection/dev.parquet",
16
- "bytes": 495071
17
  },
18
  {
19
  "config": "inflection",
20
  "split": "test",
21
- "rows": 33919,
22
  "path": "inflection/test.parquet",
23
- "bytes": 490734
24
  },
25
  {
26
  "config": "analysis",
27
  "split": "train",
28
- "rows": 276717,
29
  "path": "analysis/train.parquet",
30
- "bytes": 3452484
31
  },
32
  {
33
  "config": "analysis",
34
  "split": "dev",
35
- "rows": 34109,
36
  "path": "analysis/dev.parquet",
37
- "bytes": 492588
38
  },
39
  {
40
  "config": "analysis",
41
  "split": "test",
42
- "rows": 33919,
43
  "path": "analysis/test.parquet",
44
- "bytes": 491641
45
  },
46
  {
47
  "config": "paradigms",
@@ -51,5 +51,5 @@
51
  "bytes": 2456801
52
  }
53
  ],
54
- "rows": 695688
55
  }
 
4
  {
5
  "config": "inflection",
6
  "split": "train",
7
+ "rows": 270026,
8
  "path": "inflection/train.parquet",
9
+ "bytes": 3396080
10
  },
11
  {
12
  "config": "inflection",
13
  "split": "dev",
14
+ "rows": 33060,
15
  "path": "inflection/dev.parquet",
16
+ "bytes": 483911
17
  },
18
  {
19
  "config": "inflection",
20
  "split": "test",
21
+ "rows": 33065,
22
  "path": "inflection/test.parquet",
23
+ "bytes": 481761
24
  },
25
  {
26
  "config": "analysis",
27
  "split": "train",
28
+ "rows": 270026,
29
  "path": "analysis/train.parquet",
30
+ "bytes": 3388634
31
  },
32
  {
33
  "config": "analysis",
34
  "split": "dev",
35
+ "rows": 33060,
36
  "path": "analysis/dev.parquet",
37
+ "bytes": 481478
38
  },
39
  {
40
  "config": "analysis",
41
  "split": "test",
42
+ "rows": 33065,
43
  "path": "analysis/test.parquet",
44
+ "bytes": 482544
45
  },
46
  {
47
  "config": "paradigms",
 
51
  "bytes": 2456801
52
  }
53
  ],
54
+ "rows": 678500
55
  }
inflection/dev.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:0342069072c23a9a60ac6fd6966342c0a1c448eafe23df6b2df2cba7b236c084
3
- size 495071
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ac765b990ca6619ddebb6341ac1ecc602af8bff3bcef7017f6e9b9b11ede0f60
3
+ size 483911
inflection/test.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:105fe6ac45491c0263475dac09d68198104bb0b3afdf8eb76eb854b6eafec1a3
3
- size 490734
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b634885429788eb863a2eb7c8c23e04b37341efa0192e26ff792763d0a4f8ee8
3
+ size 481761
inflection/train.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:76118afb5eaa7c648d5a66aece48477e741c41766fba38d33eff00bb6134ded6
3
- size 3459886
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:aa46ab1191c7ef0d71dcb1cba103edc1f357e83e6b1b94deab389efaf423fbbf
3
+ size 3396080