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 |
|
| 64 |
-
| `eval_retrieval` | test | 26,
|
| 65 |
-
| `eval_attribution` | test |
|
| 66 |
|
| 67 |
## The held-out split
|
| 68 |
|
| 69 |
-
The holdout is at the level of the **work**, not the row:
|
| 70 |
-
|
| 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` | من مؤلف هذا النص؟ | 26,
|
| 80 |
-
| `title` | من أي كتاب أُخذ هذا النص؟ | 26,
|
| 81 |
-
| `science` | في أي علم يُصنَّف هذا الكتاب؟ | 26,
|
| 82 |
-
| `century` | في أي قرن هجري توفي المؤلف؟ | 26,
|
| 83 |
-
| `locus` | في أي جزء وصفحة يقع هذا النص؟ | 26,
|
| 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,
|
| 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 | 780,154 | Apparatus-free, deduplicated text with a provenance header — 3.21B characters |
|
| 62 |
+
| `retrieval` | train | 906,693 | 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 | 131,025 | Citation questions with exact answers |
|
| 64 |
+
| `eval_retrieval` | test | 26,933 | Same shape, held-out works only |
|
| 65 |
+
| `eval_attribution` | test | 32,575 | 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: 118 of the
|
| 70 |
+
4,022 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` | من مؤلف هذا النص؟ | 26,205 |
|
| 80 |
+
| `title` | من أي كتاب أُخذ هذا النص؟ | 26,205 |
|
| 81 |
+
| `science` | في أي علم يُصنَّف هذا الكتاب؟ | 26,205 |
|
| 82 |
+
| `century` | في أي قرن هجري توفي المؤلف؟ | 26,205 |
|
| 83 |
+
| `locus` | في أي جزء وصفحة يقع هذا النص؟ | 26,205 |
|
| 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, 4,022 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:e513dff6357983b971effaf2da5ef88db0dc93e789c8ccfdf9dab874fa6cecbd
|
| 3 |
+
size 13080544
|
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:af707e191550686c174e89411f945c9862ab921c7701f71cd27f7b32d1ff82b4
|
| 3 |
+
size 1267953963
|
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:3823079e49d3efb5e495a28a572c3aff00076ce72fb841bf61f379f97abb8110
|
| 3 |
+
size 3269040
|
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:5721ddcd962501f6e2f918e5c783dfed69f17f3d8e24c7f76203d19c65d2b347
|
| 3 |
+
size 44553244
|
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:6dc173f79e7335ed0bb138c42555f3176ae89f763cae19fb276cb3141b7f2553
|
| 3 |
+
size 1259284487
|