Training products derived from islamlab/islamic-sciences
Browse files- README.md +13 -13
- attribution/train-00000.parquet +2 -2
- cpt/train-00000.parquet +2 -2
- eval_attribution/test-00000.parquet +2 -2
- eval_retrieval/test-00000.parquet +2 -2
- retrieval/train-00000.parquet +2 -2
README.md
CHANGED
|
@@ -58,16 +58,16 @@ model.
|
|
| 58 |
|
| 59 |
| config | split | rows | what it is |
|
| 60 |
|---|---|---:|---|
|
| 61 |
-
| `cpt` | train |
|
| 62 |
-
| `retrieval` | train |
|
| 63 |
-
| `attribution` | train | 65,
|
| 64 |
-
| `eval_retrieval` | test |
|
| 65 |
-
| `eval_attribution` | test | 17,
|
| 66 |
|
| 67 |
## The held-out split
|
| 68 |
|
| 69 |
-
The holdout is at the level of the **work**, not the row:
|
| 70 |
-
2,
|
| 71 |
and no line of their text appears in `cpt`, `retrieval` or `attribution`. A
|
| 72 |
model trained on the train configs has therefore never read the books it is
|
| 73 |
evaluated on. The assignment is deterministic, so it is the same for everyone.
|
|
@@ -76,11 +76,11 @@ evaluated on. The assignment is deterministic, so it is the same for everyone.
|
|
| 76 |
|
| 77 |
| task | question | rows (train) |
|
| 78 |
|---|---|---:|
|
| 79 |
-
| `author` | من مؤلف هذا النص؟ | 13,
|
| 80 |
-
| `title` | من أي كتاب أُخذ هذا النص؟ | 13,
|
| 81 |
-
| `science` | في أي علم يُصنَّف هذا الكتاب؟ | 13,
|
| 82 |
-
| `century` | في أي قرن هجري توفي المؤلف؟ | 13,
|
| 83 |
-
| `locus` | في أي جزء وصفحة يقع هذا النص؟ | 13,
|
| 84 |
|
| 85 |
`messages` is a JSON-encoded chat turn — parse it with `json.loads`. `answer`
|
| 86 |
holds the exact expected string. The `locus` task deliberately includes the
|
|
@@ -107,7 +107,7 @@ negatives = json.loads(row["negatives"])
|
|
| 107 |
|
| 108 |
| Dataset | What it holds |
|
| 109 |
|---|---|
|
| 110 |
-
| [`islamlab/islamic-sciences`](https://huggingface.co/datasets/islamlab/islamic-sciences) | The corpus itself — eight sciences, 2,
|
| 111 |
| **`islamlab/islamic-sciences-training`** | The training products above |
|
| 112 |
| [`quranlab/*`](https://huggingface.co/quranlab) · [`risaleinur/*`](https://huggingface.co/risaleinur) | Qur'an and hadith; the Risale-i Nur corpus |
|
| 113 |
|
|
|
|
| 58 |
|
| 59 |
| config | split | rows | what it is |
|
| 60 |
|---|---|---:|---|
|
| 61 |
+
| `cpt` | train | 379,982 | Apparatus-free, deduplicated text with a provenance header — 1.56B characters |
|
| 62 |
+
| `retrieval` | train | 415,526 | A section heading as the query, a passage from that section as the positive, and hard negatives drawn from elsewhere in the same book |
|
| 63 |
+
| `attribution` | train | 65,490 | Citation questions with exact answers |
|
| 64 |
+
| `eval_retrieval` | test | 15,578 | Same shape, held-out works only |
|
| 65 |
+
| `eval_attribution` | test | 17,855 | Same shape, held-out works only |
|
| 66 |
|
| 67 |
## The held-out split
|
| 68 |
|
| 69 |
+
The holdout is at the level of the **work**, not the row: 79 of the
|
| 70 |
+
2,642 works are assigned to evaluation by a hash of their identifier,
|
| 71 |
and no line of their text appears in `cpt`, `retrieval` or `attribution`. A
|
| 72 |
model trained on the train configs has therefore never read the books it is
|
| 73 |
evaluated on. The assignment is deterministic, so it is the same for everyone.
|
|
|
|
| 76 |
|
| 77 |
| task | question | rows (train) |
|
| 78 |
|---|---|---:|
|
| 79 |
+
| `author` | من مؤلف هذا النص؟ | 13,098 |
|
| 80 |
+
| `title` | من أي كتاب أُخذ هذا النص؟ | 13,098 |
|
| 81 |
+
| `science` | في أي علم يُصنَّف هذا الكتاب؟ | 13,098 |
|
| 82 |
+
| `century` | في أي قرن هجري توفي المؤلف؟ | 13,098 |
|
| 83 |
+
| `locus` | في أي جزء وصفحة يقع هذا النص؟ | 13,098 |
|
| 84 |
|
| 85 |
`messages` is a JSON-encoded chat turn — parse it with `json.loads`. `answer`
|
| 86 |
holds the exact expected string. The `locus` task deliberately includes the
|
|
|
|
| 107 |
|
| 108 |
| Dataset | What it holds |
|
| 109 |
|---|---|
|
| 110 |
+
| [`islamlab/islamic-sciences`](https://huggingface.co/datasets/islamlab/islamic-sciences) | The corpus itself — eight sciences, 2,642 works |
|
| 111 |
| **`islamlab/islamic-sciences-training`** | The training products above |
|
| 112 |
| [`quranlab/*`](https://huggingface.co/quranlab) · [`risaleinur/*`](https://huggingface.co/risaleinur) | Qur'an and hadith; the Risale-i Nur corpus |
|
| 113 |
|
attribution/train-00000.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:ba4e2b0b3d388d1c8c98f9dc2c53e07c36dfbb1805e7fa781ce74a401e935e63
|
| 3 |
+
size 6591158
|
cpt/train-00000.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:541b21c52014af000ee9155fb73fae77877818c64677810a6fc91dbe973118f5
|
| 3 |
+
size 642511716
|
eval_attribution/test-00000.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:2165a9eda392eb37e365e29033347a1277ae62c8d7d19913d02241845b67fe2a
|
| 3 |
+
size 1834460
|
eval_retrieval/test-00000.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:f6579d541018b8f4f9949c02b04837c012650d3617a97c786b13849a82050ea9
|
| 3 |
+
size 25941298
|
retrieval/train-00000.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:6501d0cbb1c54847d0f995d2caef26f14132d33b8484d678d41adea6c5830bf7
|
| 3 |
+
size 568435043
|