Simplify YAML metadata
Browse files
README.md
CHANGED
|
@@ -9,7 +9,7 @@ annotations:
|
|
| 9 |
card:
|
| 10 |
certified: false
|
| 11 |
cohorts: []
|
| 12 |
-
description: 100K Arabic Islamic passages for QA/RAG systems across 10 major Islamic collections
|
| 13 |
homepage: https://athar.islamic
|
| 14 |
license: cc-by-4.0
|
| 15 |
papers: []
|
|
@@ -27,50 +27,6 @@ card:
|
|
| 27 |
- islamic
|
| 28 |
- qa
|
| 29 |
- rag
|
| 30 |
-
- fiqh
|
| 31 |
-
- hadith
|
| 32 |
-
- quran
|
| 33 |
-
- tafsir
|
| 34 |
-
configs:
|
| 35 |
-
- config_name: default
|
| 36 |
-
description: 100K Islamic passages from 10 collections
|
| 37 |
-
features:
|
| 38 |
-
author:
|
| 39 |
-
dtype: string
|
| 40 |
-
description: Author name of the source book
|
| 41 |
-
author_death:
|
| 42 |
-
dtype: int32
|
| 43 |
-
description: Author's year of death (Hijri)
|
| 44 |
-
book_id:
|
| 45 |
-
dtype: int32
|
| 46 |
-
description: Unique book identifier
|
| 47 |
-
book_title:
|
| 48 |
-
dtype: string
|
| 49 |
-
description: Title of the source book
|
| 50 |
-
category:
|
| 51 |
-
dtype: string
|
| 52 |
-
description: Subject category
|
| 53 |
-
collection:
|
| 54 |
-
dtype: string
|
| 55 |
-
description: Dataset collection name
|
| 56 |
-
content:
|
| 57 |
-
dtype: string
|
| 58 |
-
description: Arabic passage text
|
| 59 |
-
content_type:
|
| 60 |
-
dtype: string
|
| 61 |
-
description: Type of content (page, chapter, etc.)
|
| 62 |
-
hierarchy:
|
| 63 |
-
dtype: list
|
| 64 |
-
description: Hierarchical path in source
|
| 65 |
-
page_number:
|
| 66 |
-
dtype: int32
|
| 67 |
-
description: Page number in source
|
| 68 |
-
section_title:
|
| 69 |
-
dtype: string
|
| 70 |
-
description: Section/chapter title
|
| 71 |
-
format: json
|
| 72 |
-
id: default
|
| 73 |
-
name: default
|
| 74 |
splits:
|
| 75 |
test:
|
| 76 |
description: 5% test split
|
|
@@ -100,39 +56,37 @@ supervision:
|
|
| 100 |
## Collections
|
| 101 |
|
| 102 |
1. **aqeedah_passages** - العقيدة (Islamic Theology/Aqeedah)
|
| 103 |
-
- Topics: Tawhid, Attributes of Allah, Iman, Kufr, Shirk
|
| 104 |
|
| 105 |
2. **arabic_language_passages** - اللغة العربية (Arabic Language)
|
| 106 |
-
- Topics: Arabic grammar, morphology, rhetoric
|
| 107 |
|
| 108 |
3. **fiqh_passages** - الفقه (Islamic Jurisprudence)
|
| 109 |
-
- Topics: Fiqh of worship, transactions, family, inheritance
|
| 110 |
|
| 111 |
4. **general_islamic** - عام إسلامي (General Islamic)
|
| 112 |
-
- Topics: General Islamic knowledge
|
| 113 |
|
| 114 |
5. **hadith_passages** - الحديث (Hadith)
|
| 115 |
-
- Topics: Hadith sciences, collections
|
| 116 |
|
| 117 |
6. **islamic_history_passages** - التاريخ الإسلامي (Islamic History)
|
| 118 |
-
- Topics: Early Islamic caliphates,
|
| 119 |
|
| 120 |
7. **quran_tafsir** - تفسير القرآن (Quran Tafsir)
|
| 121 |
-
- Topics: Quranic exegesis, tafsir sciences
|
| 122 |
|
| 123 |
8. **seerah_passages** - السيرة (Prophet's Biography)
|
| 124 |
-
- Topics: Life of Prophet Muhammad
|
| 125 |
|
| 126 |
9. **spirituality_passages** - الروحانيات (Spirituality)
|
| 127 |
-
- Topics: Tasawwuf, dhikr, dua
|
| 128 |
|
| 129 |
-
10. **usul_fiqh** - أصول الفقه (Principles of
|
| 130 |
-
- Topics: Usul al-Fiqh,
|
| 131 |
|
| 132 |
## Data Schema
|
| 133 |
|
| 134 |
-
Each passage contains the following fields:
|
| 135 |
-
|
| 136 |
```json
|
| 137 |
{
|
| 138 |
"content": "Arabic text passage...",
|
|
@@ -149,63 +103,24 @@ Each passage contains the following fields:
|
|
| 149 |
}
|
| 150 |
```
|
| 151 |
|
| 152 |
-
## Field Descriptions
|
| 153 |
-
|
| 154 |
-
| Field | Description |
|
| 155 |
-
|-------|-------------|
|
| 156 |
-
| `content` | Arabic passage text (main content) |
|
| 157 |
-
| `content_type` | Type of content (page, chapter, etc.) |
|
| 158 |
-
| `book_id` | Unique book identifier |
|
| 159 |
-
| `book_title` | Title of the source book |
|
| 160 |
-
| `category` | Subject category |
|
| 161 |
-
| `author` | Author name |
|
| 162 |
-
| `author_death` | Author's year of death (Hijri) |
|
| 163 |
-
| `collection` | Dataset collection name |
|
| 164 |
-
| `page_number` | Page number in source |
|
| 165 |
-
| `section_title` | Section/chapter title |
|
| 166 |
-
| `hierarchy` | Hierarchical path in source |
|
| 167 |
-
|
| 168 |
## Use Cases
|
| 169 |
|
| 170 |
-
|
| 171 |
-
|
| 172 |
-
-
|
| 173 |
-
-
|
| 174 |
-
- **Fine-tuning Arabic LLMs** - Training domain-specific models
|
| 175 |
-
- **Islamic Chatbots** - Building Islamic consultation assistants
|
| 176 |
|
| 177 |
## Example Usage
|
| 178 |
|
| 179 |
```python
|
| 180 |
from datasets import load_dataset
|
| 181 |
-
|
| 182 |
-
# Load dataset
|
| 183 |
dataset = load_dataset("Kandil7/Athar-Mini-Dataset-v2")
|
| 184 |
-
|
| 185 |
-
# Get passages for specific collection
|
| 186 |
-
fiqh_data = dataset.filter(lambda x: x["collection"] == "fiqh_passages")
|
| 187 |
-
```
|
| 188 |
-
|
| 189 |
-
## Citation
|
| 190 |
-
|
| 191 |
-
```bibtex
|
| 192 |
-
@dataset{athar-mini-dataset-v2,
|
| 193 |
-
title = {Athar Mini Dataset v2},
|
| 194 |
-
author = {Athar Team},
|
| 195 |
-
year = {2025},
|
| 196 |
-
url = {https://huggingface.co/datasets/Kandil7/Athar-Mini-Dataset-v2}
|
| 197 |
-
}
|
| 198 |
```
|
| 199 |
|
| 200 |
## License
|
| 201 |
|
| 202 |
-
|
| 203 |
-
|
| 204 |
-
## Related Dataset
|
| 205 |
-
|
| 206 |
-
- [Athar-Islamic-QA](https://huggingface.co/datasets/Kandil7/Athar-Islamic-QA) - Full Athar Islamic QA dataset
|
| 207 |
|
| 208 |
-
##
|
| 209 |
|
| 210 |
-
-
|
| 211 |
-
- GitHub: https://github.com/athar-islamic/athar
|
|
|
|
| 9 |
card:
|
| 10 |
certified: false
|
| 11 |
cohorts: []
|
| 12 |
+
description: 100K Arabic Islamic passages for QA/RAG systems across 10 major Islamic collections
|
| 13 |
homepage: https://athar.islamic
|
| 14 |
license: cc-by-4.0
|
| 15 |
papers: []
|
|
|
|
| 27 |
- islamic
|
| 28 |
- qa
|
| 29 |
- rag
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 30 |
splits:
|
| 31 |
test:
|
| 32 |
description: 5% test split
|
|
|
|
| 56 |
## Collections
|
| 57 |
|
| 58 |
1. **aqeedah_passages** - العقيدة (Islamic Theology/Aqeedah)
|
| 59 |
+
- Topics: Tawhid, Attributes of Allah, Iman, Kufr, Shirk
|
| 60 |
|
| 61 |
2. **arabic_language_passages** - اللغة العربية (Arabic Language)
|
| 62 |
+
- Topics: Arabic grammar, morphology, rhetoric
|
| 63 |
|
| 64 |
3. **fiqh_passages** - الفقه (Islamic Jurisprudence)
|
| 65 |
+
- Topics: Fiqh of worship, transactions, family, inheritance
|
| 66 |
|
| 67 |
4. **general_islamic** - عام إسلامي (General Islamic)
|
| 68 |
+
- Topics: General Islamic knowledge
|
| 69 |
|
| 70 |
5. **hadith_passages** - الحديث (Hadith)
|
| 71 |
+
- Topics: Hadith sciences, collections
|
| 72 |
|
| 73 |
6. **islamic_history_passages** - التاريخ الإسلامي (Islamic History)
|
| 74 |
+
- Topics: Early Islamic caliphates, scholars
|
| 75 |
|
| 76 |
7. **quran_tafsir** - تفسير القرآن (Quran Tafsir)
|
| 77 |
+
- Topics: Quranic exegesis, tafsir sciences
|
| 78 |
|
| 79 |
8. **seerah_passages** - السيرة (Prophet's Biography)
|
| 80 |
+
- Topics: Life of Prophet Muhammad
|
| 81 |
|
| 82 |
9. **spirituality_passages** - الروحانيات (Spirituality)
|
| 83 |
+
- Topics: Tasawwuf, dhikr, dua
|
| 84 |
|
| 85 |
+
10. **usul_fiqh** - أصول الفقه (Principles of Fiqh)
|
| 86 |
+
- Topics: Usul al-Fiqh, qiyas, ijma
|
| 87 |
|
| 88 |
## Data Schema
|
| 89 |
|
|
|
|
|
|
|
| 90 |
```json
|
| 91 |
{
|
| 92 |
"content": "Arabic text passage...",
|
|
|
|
| 103 |
}
|
| 104 |
```
|
| 105 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 106 |
## Use Cases
|
| 107 |
|
| 108 |
+
- Arabic Islamic QA systems
|
| 109 |
+
- RAG for Islamic knowledge
|
| 110 |
+
- Fine-tuning Arabic LLMs
|
| 111 |
+
- Islamic chatbots
|
|
|
|
|
|
|
| 112 |
|
| 113 |
## Example Usage
|
| 114 |
|
| 115 |
```python
|
| 116 |
from datasets import load_dataset
|
|
|
|
|
|
|
| 117 |
dataset = load_dataset("Kandil7/Athar-Mini-Dataset-v2")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 118 |
```
|
| 119 |
|
| 120 |
## License
|
| 121 |
|
| 122 |
+
CC BY 4.0
|
|
|
|
|
|
|
|
|
|
|
|
|
| 123 |
|
| 124 |
+
## Related
|
| 125 |
|
| 126 |
+
- [Athar-Islamic-QA](https://huggingface.co/datasets/Kandil7/Athar-Islamic-QA)
|
|
|