sahsimanevi commited on
Commit
b90a50f
·
verified ·
1 Parent(s): 831cfaa

Islamic sciences corpus: 4,022 works across eight sciences

Browse files
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: 60, 3c: 322, 4c: 385, 5c: 377, 6c: 347, 7c: 352, 8c: 640, 9c: 323, 10c: 331, 11c: 153, 12c: 106, 13c: 242, 14c: 159.
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: **3,862 works** by scholars who died between the
75
  0st and the 14th Hijri century, cut along their own chapter
76
- and biographical-entry boundaries into **1,847,280 units**
77
- (3.38 billion characters of Arabic), each carrying the volume and
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 | 993 | 386,906 | 1460M |
95
- | `aqidah` | ʿAqīdah | 420 | 23,821 | 116M |
96
- | `rijal` | Rijāl | 845 | 824,755 | 741M |
97
- | `tasawwuf` | Taṣawwuf | 303 | 25,742 | 105M |
98
- | `tarikh` | Tārīkh | 301 | 240,050 | 361M |
99
  | `lugha` | Lughah | 378 | 235,028 | 292M |
100
  | `adab` | Adab | 512 | 73,342 | 196M |
101
- | `works` | bibliographic spine | 3,862 | | |
102
- | `passages` | retrieval chunks | | 3,547,762 | — |
 
103
  | `parallel_en` | Arabic–English alignments | 17 | 45,972 | — |
104
 
105
- ## The eight shelves
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 eight science configs** hold the text. A row is one heading-delimited
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
- Training products derived from this corpus text for domain adaptation,
176
- retrieval pairs with hard negatives, and citation questions with a work-level
177
- held-out split — are in
178
- [`islamlab/islamic-sciences-training`](https://huggingface.co/datasets/islamlab/islamic-sciences-training).
 
 
 
 
 
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:8967dd8cab476fbf792b2496eaf95e3435fe1da6b116ad768b1c84142e9c30cd
3
- size 18317488
 
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:3e4225396c5352f8e8533431104855c9219e7522247c20518f8f0cd3afbdef39
3
- size 262259623
 
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:dd8df71459d23af3216f2d4c8fd19e85343fc7b586f90da6424512f3fcedf409
3
- size 682178275
 
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:3ab232947f086c2e6ab2eafea5df5afc5fbdc82640d0dfa967a140d5ec418176
3
- size 173641710
 
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:0b82244e8bd9b71298b929da0e23641d47a9b2ee3b9455817d8bffc190477c47
3
- size 90915880
 
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:f286c6358f0b4ed52e41c20776e912ecc5bac457e8aaa5445e446db74b7566db
3
- size 12089581
 
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:2ee98d285f07020674591a1c7dee72896963bb81aa4b6f49b48c29762f4b048b
3
- size 61136
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a4660282ccfa07debbc46f48ea45b6349664c5ee76375a9f776eb5e2a0c02923
3
+ size 60870