language:ne license:apache-2.0 size_categories:10K<n<100K format:json modality:text library:datasets library:pandas library:mlcroissant library:polars region:us code
---
license: apache-2.0
language:
- ne
tags:
- code
size_categories:
- 10K<n<100K
---
# 📜 Nepali Law Commission Dataset
**A structured dataset of Nepali legal questions and answers, focusing on the rights of people with disabilities.**

## 📌 Overview  
This dataset contains **questions and answers based on Nepal's legal framework**, particularly regarding the rights of **persons with disabilities**. The dataset is designed for **AI/ML applications** such as:  
✅ Legal chatbots  
✅ Question-answering models  
✅ Legal document analysis  
✅ NLP research on Nepali language  

The dataset is sourced from **official Nepali law texts** and is structured to be easily used in **NLP training and fine-tuning tasks**.  

## 📂 Dataset Structure  
The dataset is provided in **JSON format** with the following structure:  

```json
[
    {
        "स्रोत": "अपाङ्गता भएका व्यक्तिहरूको अधिकार-सम्बन्धी-कार्य-२०७४-२०१७"
        "निर्देशन": "नेपालमा अपाङ्गता भएका व्यक्तिको हक सम्बन्धी कानूनलाई संशोधन र एकीकरण गर्नका लागि बनेको ऐनलाई के भनिन्छ?",
        "प्रतिक्रिया": "अपाङ्गता भएका व्यक्तिहरूको अधिकार सम्बन्धी ऐन, २०७४ (२०१७)।",
    }
]
```

- **`स्रोत` (Source):** The legal reference 
- **`निर्देशन` (Instruction):** The legal question (Nepali)  
- **`प्रतिक्रिया` (Response):** The legal answer (Nepali)   

## 🔥 Key Features  
- 📖 **Over 100 legal Q&A pairs** covering disability rights in Nepal  
- 🌏 **Nepali language dataset** with structured format  
- 🤖 **Ideal for NLP tasks**, legal chatbots, and question-answering systems  
- ⚖️ **Based on official legal sources** for accuracy  

## 🚀 Usage  
You can load and use the dataset in Python using `pandas`:  

```python
import json
import pandas as pd

# Load dataset
with open("Custom_dataset_nepali_law.json", "r", encoding="utf-8") as f:
    data = json.load(f)

# Convert to DataFrame
df = pd.DataFrame(data)

# Display first few rows
print(df.head())
```

## 📊 Potential Applications  
- **Legal AI models** (Question-answering, chatbots)  
- **Nepali NLP research**  
- **Text classification & sentiment analysis**  
- **Legal document summarization**  

## 📜 Citation  
If you use this dataset, please cite it as follows:  
```plaintext
Upreti, A. (2025). Nepali Law Commission Dataset: A Q&A dataset on Nepal's disability rights laws. Hugging Face Datasets.
```

## 💡 Contributing  
Feel free to **open an issue** or submit **pull requests** to improve the dataset.  

## 📬 Contact  
For any queries or collaborations:  
📧 Email: upretiashal44@gmail.com  
🔗 LinkedIn: [Ashal Upreti](https://www.linkedin.com/in/ashal-upreti-033a0a218/)  
🔗 Website: [ashalupreti.com.np](https://www.ashalupreti.com.np)