File size: 3,418 Bytes
43737fb a25affc 43737fb | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 |
---
license: apache-2.0
language:
- ps
- en
- multilingual
tags:
- pashto
- pashto-ai
- قانوني
- legal
- legal-reasoning
- multilingual-reasoning
- chain-of-thought
- law
size_categories:
- 1K<n<10K
---
# Legal Issues Multilingual Reasoning
## Dataset Summary
**Legal Issues Multilingual Reasoning** is a specialized, high-quality dataset designed for training and evaluating Large Language Models (LLMs) on complex legal analysis, step-by-step logical chain-of-thought (CoT) reasoning, and multilingual legal problem-solving.
The dataset contains structured samples featuring system prompts, user queries, reasoning steps, and comprehensive legal answers adapted for specialized jurisdictions and languages (such as Pashto (`ps`) and others).
## Dataset Structure
### Data Fields
Each example in the JSONL files is structured with a conversation-style message format containing the following roles:
* **`messages`**: A list of message objects consisting of:
* `role` ("system"): Establishes the persona of an experienced legal analyst and expert skilled in statutory interpretation, regulatory analysis, and complex legal breakdown.
* `role` ("user"): Presents a specific legal query, scenario, or question regarding laws, legal aid organizations, rights, or procedures.
* `role` ("assistant"): Contains the model's structured response, which includes:
* `<reasoning>`: Step-by-step internal analytical breakdown and evaluation of the legal issue.
* `<answer>`: The final, comprehensive response delivered to the user.
### Example Instance
```json
{
"messages": [
{
"role": "system",
"content": "تاسو یو تجربه لرونکی حقوقي شنونکی او حقوقي پوه یئ چې د مرحلې په واسطه د قوانینونو تشریح، د قضایي مقرراتو تحلیل، او د سختو حقوقي مسایلو تجزیه کولو کې مهارت لرئ."
},
{
"role": "user",
"content": "په عموم کې د حقوقي مرستې سازمانونو له لارې کوم ډول حقوقي مرستې وړاندیز کیږي؟"
},
{
"role": "assistant",
"content": "<reasoning>\nد دې مؤثره مقابلو لپاره، ما اړتیا درلوده چې دوه اصلي برخې حل کړم...\n</reasoning>\n\n<answer>\nد قانوني مرستې سازمانونه عموماً د مختلفو قانوني مرستې خدمات وړاندې کوي...\n</answer>"
}
]
}
```
## Source and Processing
* **Data Cleaning:** Unwanted metadata tags (such as raw IDs and specific language tags embedded at the root level) have been stripped to align with standard conversational training frameworks.
* **Use Cases:** Fine-tuning open-source LLMs (such as Llama, Mistral, or Qwen) for legal domain adaptation, chain-of-thought reasoning alignment, and low-resource multilingual legal assistant deployment.
## Citation
If you use this dataset in your research or applications, please cite it appropriately:
```bibtex
@dataset{legal_issues_multilingual_reasoning,
author = {Nassim JP},
title = {Legal Issues Multilingual Reasoning},
year = {2026},
publisher = {Hugging Face},
url = {[https://huggingface.co/datasets/nassimjp/Legal-Issues-Multilingual-Reasoning](https://huggingface.co/datasets/nassimjp/Legal-Issues-Multilingual-Reasoning)}
}
```
```
``` |