Create README.md
Browse files
README.md
CHANGED
@@ -1,3 +1,61 @@
|
|
1 |
-
|
2 |
-
|
3 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# 🏛️ Adala Fonction Publique Maroc Arabic Dataset
|
2 |
+
|
3 |
+
This dataset contains structured legal data extracted from Moroccan public service law texts, sourced from [adala.justice.gov.ma](http://adala.justice.gov.ma). The content is in **Arabic** and is designed to support NLP and AI applications in legal tech, especially for **Moroccan administrative and public law**.
|
4 |
+
|
5 |
+
---
|
6 |
+
|
7 |
+
## 📂 Dataset Structure
|
8 |
+
|
9 |
+
* **Format**: JSON
|
10 |
+
* **Language**: Arabic (Standard & Legal dialect)
|
11 |
+
* **Content**: Articles, chapters, titles from Moroccan public law texts (وظيفة عمومية)
|
12 |
+
* **Use case**: Named Entity Recognition (NER), Question Answering (QA), Legal Text Classification, Arabic LLM Finetuning
|
13 |
+
|
14 |
+
---
|
15 |
+
|
16 |
+
## 🧠 Example (JSON Sample)
|
17 |
+
|
18 |
+
```json
|
19 |
+
{
|
20 |
+
"title": "الوظيفة العمومية",
|
21 |
+
"chapter": "الباب الأول: أحكام عامة",
|
22 |
+
"article_number": "المادة 1",
|
23 |
+
"article_text": "يعتبر موظفا كل شخص يعين في وظيفة قارة ويرسم في إحدى رتب السلم الإداري."
|
24 |
+
}
|
25 |
+
```
|
26 |
+
|
27 |
+
---
|
28 |
+
|
29 |
+
## 🛠️ How to Use
|
30 |
+
|
31 |
+
You can load this dataset using the Hugging Face `datasets` library:
|
32 |
+
|
33 |
+
```python
|
34 |
+
from datasets import load_dataset
|
35 |
+
|
36 |
+
dataset = load_dataset("halimbahae/Adala_Fonction_Publique_Maroc_Arabic_json_dataset")
|
37 |
+
```
|
38 |
+
|
39 |
+
---
|
40 |
+
|
41 |
+
## 📚 Applications
|
42 |
+
|
43 |
+
* Fine-tuning Arabic LLMs (e.g., Zephyr, LLaMA, NOOR)
|
44 |
+
* Legal chatbot training
|
45 |
+
* Governmental document classification
|
46 |
+
* Semantic search or RAG (Retrieval-Augmented Generation)
|
47 |
+
* Legal Arabic NLP research
|
48 |
+
|
49 |
+
---
|
50 |
+
|
51 |
+
## 📜 License
|
52 |
+
|
53 |
+
Apache 2.0 — You are free to use, modify, and distribute this dataset with attribution.
|
54 |
+
|
55 |
+
---
|
56 |
+
|
57 |
+
## 🤝 Contributions & Contact
|
58 |
+
|
59 |
+
This dataset is maintained by **Bahae Eddine Halim**, AI Researcher @ MDS 🇲🇦
|
60 |
+
|
61 |
+
Feel free to contribute or reach out via [LinkedIn](https://www.linkedin.com/in/halimbahae/) or GitHub.
|