Islamic sciences corpus: 4,022 works across eight sciences
Browse files- LICENSES.md +1 -1
- README.md +28 -16
- aqidah/train-00902.parquet +2 -2
- fiqh/train-00901.parquet +2 -2
- mutafarriqat/train-00000.parquet +3 -0
- mutafarriqat/train-00001.parquet +3 -0
- mutafarriqat/train-00908.parquet +3 -0
- passages/train-00800.parquet +3 -0
- passages/train-00801.parquet +3 -0
- passages/train-00900.parquet +2 -2
- rijal/train-00903.parquet +2 -2
- tarikh/train-00905.parquet +2 -2
- tasawwuf/train-00904.parquet +2 -2
- works/train-00800.parquet +3 -0
- works/train-00801.parquet +3 -0
- works/train-00900.parquet +2 -2
LICENSES.md
CHANGED
|
@@ -10,7 +10,7 @@ jurisdiction. The latest author present is صالح بن محمد اللحيدا
|
|
| 10 |
authors died later were not included by reference either — they were simply
|
| 11 |
left out.
|
| 12 |
|
| 13 |
-
Distribution of works by the author's Hijri century: 0c: 7, 1c: 58, 2c:
|
| 14 |
|
| 15 |
## The transcriptions
|
| 16 |
|
|
|
|
| 10 |
authors died later were not included by reference either — they were simply
|
| 11 |
left out.
|
| 12 |
|
| 13 |
+
Distribution of works by the author's Hijri century: 0c: 7, 1c: 58, 2c: 61, 3c: 324, 4c: 389, 5c: 379, 6c: 358, 7c: 359, 8c: 672, 9c: 360, 10c: 352, 11c: 157, 12c: 110, 13c: 249, 14c: 187.
|
| 14 |
|
| 15 |
## The transcriptions
|
| 16 |
|
README.md
CHANGED
|
@@ -58,6 +58,10 @@ configs:
|
|
| 58 |
data_files:
|
| 59 |
- split: train
|
| 60 |
path: adab/train-*.parquet
|
|
|
|
|
|
|
|
|
|
|
|
|
| 61 |
- config_name: passages
|
| 62 |
data_files:
|
| 63 |
- split: train
|
|
@@ -71,10 +75,10 @@ configs:
|
|
| 71 |
# islamlab — The Islamic Sciences Corpus
|
| 72 |
|
| 73 |
The Islamic sciences **other than Qur'an and hadith**, as their authors wrote
|
| 74 |
-
them: **
|
| 75 |
0st and the 14th Hijri century, cut along their own chapter
|
| 76 |
-
and biographical-entry boundaries into **1,
|
| 77 |
-
(3.
|
| 78 |
page it sits on so a quotation can be cited rather than merely produced.
|
| 79 |
|
| 80 |
> Scope is **Ahl al-Sunnah wa'l-Jamāʿah**, and the gate is the author, not the
|
|
@@ -91,18 +95,19 @@ consulted without ever quoting, is set out in [`SOURCES.md`](SOURCES.md).
|
|
| 91 |
| config | science | works | units | chars |
|
| 92 |
|---|---|---:|---:|---:|
|
| 93 |
| `sira` | Sīrah | 110 | 37,636 | 107M |
|
| 94 |
-
| `fiqh` | Fiqh |
|
| 95 |
-
| `aqidah` | ʿAqīdah |
|
| 96 |
-
| `rijal` | Rijāl |
|
| 97 |
-
| `tasawwuf` | Taṣawwuf |
|
| 98 |
-
| `tarikh` | Tārīkh |
|
| 99 |
| `lugha` | Lughah | 378 | 235,028 | 292M |
|
| 100 |
| `adab` | Adab | 512 | 73,342 | 196M |
|
| 101 |
-
| `
|
| 102 |
-
| `
|
|
|
|
| 103 |
| `parallel_en` | Arabic–English alignments | 17 | 45,972 | — |
|
| 104 |
|
| 105 |
-
## The
|
| 106 |
|
| 107 |
**`sira` — Sīrah.** The life of the Prophet, his described character, and the Companions around him. Among the largest: *سبل الهدى والرشاد في سيرة خير العباد* — الصالحي الشامي (d. 942); *إمتاع الأسماع بما للنبي من الأحوال والأموال والحفدة والمتاع* — المقريزي (d. 845); *دلائل النبوة - البيهقي* — أبو بكر البيهقي (d. 458); *السيرة النبوية من البداية والنهاية - ت عبد الواحد* — ابن كثير (d. 774).
|
| 108 |
|
|
@@ -120,6 +125,8 @@ consulted without ever quoting, is set out in [`SOURCES.md`](SOURCES.md).
|
|
| 120 |
|
| 121 |
**`adab` — Adab.** Letters and poetry, from the pre-Islamic dīwāns to the chancery anthologies. Among the largest: *نهاية الأرب في فنون الأدب* — النويري، شهاب الدين (d. 733); *صبح الأعشى في صناعة الانشاء* — القلقشندي، الفزاريو الشافعي (d. 821); *خزانة الأدب ولب لباب لسان العرب للبغدادي* — عبد القادر البغدادي (d. 1093); *نفح الطيب من غصن الاندلس الرطيب ت إحسان عباس* — المقري التلمساني (d. 1041).
|
| 122 |
|
|
|
|
|
|
|
| 123 |
## How the rows are shaped
|
| 124 |
|
| 125 |
- **`works`** is the spine: one row per work, carrying `work_id`, our
|
|
@@ -128,7 +135,7 @@ consulted without ever quoting, is set out in [`SOURCES.md`](SOURCES.md).
|
|
| 128 |
calendars, and the size of the text. `source` says which library our copy
|
| 129 |
came through and `text_quality` warns where the digitisation was never
|
| 130 |
proof-read. Everything else joins to it on `work_id`.
|
| 131 |
-
- **The
|
| 132 |
unit: `heading` and `heading_path` place it in the book, `kind` says whether
|
| 133 |
it is a `section` or a biographical `entry`, and `page_start` / `page_end`
|
| 134 |
anchor it in the printed edition. `markers` carries the structural flags the
|
|
@@ -172,10 +179,15 @@ Three organisations, three gates; a work belongs to exactly one of them.
|
|
| 172 |
| [`risaleinur/*`](https://huggingface.co/risaleinur) | The Risale-i Nur corpus and its derivatives |
|
| 173 |
| **`islamlab/*`** | **Every other Islamic science** — this dataset |
|
| 174 |
|
| 175 |
-
|
| 176 |
-
|
| 177 |
-
|
| 178 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 179 |
|
| 180 |
The line that matters most in practice: hadith *text* belongs to
|
| 181 |
[`quranlab/hadith`](https://huggingface.co/datasets/quranlab/hadith); the
|
|
|
|
| 58 |
data_files:
|
| 59 |
- split: train
|
| 60 |
path: adab/train-*.parquet
|
| 61 |
+
- config_name: mutafarriqat
|
| 62 |
+
data_files:
|
| 63 |
+
- split: train
|
| 64 |
+
path: mutafarriqat/train-*.parquet
|
| 65 |
- config_name: passages
|
| 66 |
data_files:
|
| 67 |
- split: train
|
|
|
|
| 75 |
# islamlab — The Islamic Sciences Corpus
|
| 76 |
|
| 77 |
The Islamic sciences **other than Qur'an and hadith**, as their authors wrote
|
| 78 |
+
them: **4,022 works** by scholars who died between the
|
| 79 |
0st and the 14th Hijri century, cut along their own chapter
|
| 80 |
+
and biographical-entry boundaries into **1,864,393 units**
|
| 81 |
+
(3.41 billion characters of Arabic), each carrying the volume and
|
| 82 |
page it sits on so a quotation can be cited rather than merely produced.
|
| 83 |
|
| 84 |
> Scope is **Ahl al-Sunnah wa'l-Jamāʿah**, and the gate is the author, not the
|
|
|
|
| 95 |
| config | science | works | units | chars |
|
| 96 |
|---|---|---:|---:|---:|
|
| 97 |
| `sira` | Sīrah | 110 | 37,636 | 107M |
|
| 98 |
+
| `fiqh` | Fiqh | 974 | 386,382 | 1458M |
|
| 99 |
+
| `aqidah` | ʿAqīdah | 414 | 23,745 | 116M |
|
| 100 |
+
| `rijal` | Rijāl | 844 | 824,736 | 741M |
|
| 101 |
+
| `tasawwuf` | Taṣawwuf | 298 | 25,662 | 105M |
|
| 102 |
+
| `tarikh` | Tārīkh | 299 | 239,785 | 360M |
|
| 103 |
| `lugha` | Lughah | 378 | 235,028 | 292M |
|
| 104 |
| `adab` | Adab | 512 | 73,342 | 196M |
|
| 105 |
+
| `mutafarriqat` | Mutafarriqāt | 193 | 18,077 | 33M |
|
| 106 |
+
| `works` | bibliographic spine | 4,022 | — | — |
|
| 107 |
+
| `passages` | retrieval chunks | — | 3,575,645 | — |
|
| 108 |
| `parallel_en` | Arabic–English alignments | 17 | 45,972 | — |
|
| 109 |
|
| 110 |
+
## The shelves
|
| 111 |
|
| 112 |
**`sira` — Sīrah.** The life of the Prophet, his described character, and the Companions around him. Among the largest: *سبل الهدى والرشاد في سيرة خير العباد* — الصالحي الشامي (d. 942); *إمتاع الأسماع بما للنبي من الأحوال والأموال والحفدة والمتاع* — المقريزي (d. 845); *دلائل النبوة - البيهقي* — أبو بكر البيهقي (d. 458); *السيرة النبوية من البداية والنهاية - ت عبد الواحد* — ابن كثير (d. 774).
|
| 113 |
|
|
|
|
| 125 |
|
| 126 |
**`adab` — Adab.** Letters and poetry, from the pre-Islamic dīwāns to the chancery anthologies. Among the largest: *نهاية الأرب في فنون الأدب* — النويري، شهاب الدين (d. 733); *صبح الأعشى في صناعة الانشاء* — القلقشندي، الفزاريو الشافعي (d. 821); *خزانة الأدب ولب لباب لسان العرب للبغدادي* — عبد القادر البغدادي (d. 1093); *نفح الطيب من غصن الاندلس الرطيب ت إحسان عباس* — المقري التلمساني (d. 1041).
|
| 127 |
|
| 128 |
+
**`mutafarriqat` — Mutafarriqāt.** Works whose author came through the gate but whose science the sources do not settle — shelved as miscellanea rather than guessed at or dropped. Among the largest: *kitāb al-Khabar ʿan al-Bashar Fī ’ansāb al-‘Arab wa Nasab Sayyed al-Bashar* — المقريزي (d. 845); *مجموع رسائل الحافظ ابن رجب الحنبلي* — زين الدين أبو الفرج عبد الرحمان بن أحمد بن رجب عبد الرحمان بن الحسن بن محمد بن أبي البركات مسعود البغدادي السلامي الدمشقي (d. 795); *تعطير الأنام في تعبير المنام* — عبد الغني النابلسي (d. 1143); *مجموعة رسائل الإمام الغزالي* — الغزالي (d. 505).
|
| 129 |
+
|
| 130 |
## How the rows are shaped
|
| 131 |
|
| 132 |
- **`works`** is the spine: one row per work, carrying `work_id`, our
|
|
|
|
| 135 |
calendars, and the size of the text. `source` says which library our copy
|
| 136 |
came through and `text_quality` warns where the digitisation was never
|
| 137 |
proof-read. Everything else joins to it on `work_id`.
|
| 138 |
+
- **The science configs** hold the text. A row is one heading-delimited
|
| 139 |
unit: `heading` and `heading_path` place it in the book, `kind` says whether
|
| 140 |
it is a `section` or a biographical `entry`, and `page_start` / `page_end`
|
| 141 |
anchor it in the printed edition. `markers` carries the structural flags the
|
|
|
|
| 179 |
| [`risaleinur/*`](https://huggingface.co/risaleinur) | The Risale-i Nur corpus and its derivatives |
|
| 180 |
| **`islamlab/*`** | **Every other Islamic science** — this dataset |
|
| 181 |
|
| 182 |
+
Four datasets are derived from this one, each re-cutting it for a job the
|
| 183 |
+
corpus itself does not do well:
|
| 184 |
+
|
| 185 |
+
| Dataset | What it re-cuts it for |
|
| 186 |
+
|---|---|
|
| 187 |
+
| [`islamlab/arabic-lexicons`](https://huggingface.co/datasets/islamlab/arabic-lexicons) | The dictionaries, entry by entry, with the headword and root split out — for looking a word up |
|
| 188 |
+
| [`islamlab/islamic-biographies`](https://huggingface.co/datasets/islamlab/islamic-biographies) | Every biographical notice in the ṭabaqāt literature, one row per notice — for prosopography |
|
| 189 |
+
| [`islamlab/islamic-scholars`](https://huggingface.co/datasets/islamlab/islamic-scholars) | One row per author instead of per book — the authority file the rest joins to |
|
| 190 |
+
| [`islamlab/islamic-sciences-training`](https://huggingface.co/datasets/islamlab/islamic-sciences-training) | Domain-adaptation text, retrieval pairs with hard negatives, and citation questions with a work-level held-out split |
|
| 191 |
|
| 192 |
The line that matters most in practice: hadith *text* belongs to
|
| 193 |
[`quranlab/hadith`](https://huggingface.co/datasets/quranlab/hadith); the
|
aqidah/train-00902.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:5a9538db834413b7b357e65a78dddb3c8a7501486e6cf8aced0a81c8268d8970
|
| 3 |
+
size 18076422
|
fiqh/train-00901.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:cba1f076db5f7a5f0be3c0ca3f74d59093d7ac107d3b22c6e61ab65a3c9cd5e2
|
| 3 |
+
size 261291534
|
mutafarriqat/train-00000.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e49e203325fef16f1b18f8117f1941d341b78f84e857364fdd0516f1a86416ad
|
| 3 |
+
size 10259706
|
mutafarriqat/train-00001.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c0ff57af077788e4d979e823f4ad8b8a4b4f949f50074272eea847643f88cc51
|
| 3 |
+
size 961291
|
mutafarriqat/train-00908.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a9247bf59a8df36b77d076fe0debefb3c52142c073569275cc1cc02b51c6582a
|
| 3 |
+
size 3323318
|
passages/train-00800.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:89fb98c73898cb3bad8e264a6277de3c9c2b2da7bf21623b1c81e056f569aec4
|
| 3 |
+
size 10366480
|
passages/train-00801.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:348908fe0f737cb98d3f5d2dc8c84dcf5df1e68640fa4b750a6e2eb4fbf1bbc1
|
| 3 |
+
size 989412
|
passages/train-00900.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:2ce98876973b586af0540b27e493279af31ff181e3ad843f58f78404eac10524
|
| 3 |
+
size 683738042
|
rijal/train-00903.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:526528586ea17fcec79b059fbc2177d986dbe743138f6ff53f9c5f1a8bcd3d71
|
| 3 |
+
size 173622086
|
tarikh/train-00905.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:2ec56fb03cb53705fe16060ef17ac90466e26b30cb3329a76565a36cee8f43ab
|
| 3 |
+
size 90579459
|
tasawwuf/train-00904.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:a54bce77386d03fa8e059d4c348e66e6a1b2aa5b4dcecccdb0a18bb287a9bec6
|
| 3 |
+
size 12013128
|
works/train-00800.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1b58aa8b5d47f5b3c75b188118b814d11474aa40878bbb08b0831ae45802efd9
|
| 3 |
+
size 22580
|
works/train-00801.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8313dfd716299921c200e25f476bd6f5ed82b6ec12d653871a159249ac4484c0
|
| 3 |
+
size 8427
|
works/train-00900.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:a4660282ccfa07debbc46f48ea45b6349664c5ee76375a9f776eb5e2a0c02923
|
| 3 |
+
size 60870
|