Azzindani commited on
Commit
c450eef
·
verified ·
1 Parent(s): 058234e

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +61 -3
README.md CHANGED
@@ -1,3 +1,61 @@
1
- ---
2
- license: apache-2.0
3
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ ---
4
+
5
+
6
+ # 🧾 Indonesian Legal QA Dataset
7
+
8
+ This repository contains a **question-answer (QA) dataset** generated from parsed Indonesian regulations, focusing on **legal quoting and comprehension**. Designed to facilitate legal-aware LLMs, the dataset provides direct QA mappings to individual articles for contextual understanding and reference.
9
+
10
+ ---
11
+
12
+ ## 📌 Dataset Highlights
13
+
14
+ * **Source**: Generated from the [ID\_REG\_Parsed](https://huggingface.co/datasets/Azzindani/ID_REG_Parsed) repository
15
+ * **Format**: QA pairs based on individual articles (no chunking)
16
+ * **Scale**: Augmented by applying 10 QA templates across suitable regulation entries
17
+ * **Filtering**: Programmatic filtering removes redundant or overly broad article explanations
18
+ * **Target Use**: Train/test LLMs for **regulation comprehension**, **legal quoting**, and **document-level QA**
19
+
20
+ ---
21
+
22
+ ## ⚙️ Pipeline Overview
23
+
24
+ * **Environment**: Executed in a single Jupyter Notebook on **Kaggle Cloud**
25
+
26
+ * **Data Flow**:
27
+
28
+ 1. **Pull** parsed articles from `ID_REG_Parsed`
29
+ 2. Filter and refine results for clarity and legal context
30
+ 3. Apply **template-driven QA generation** (10 variations)
31
+ 4. **Push** QA dataset directly to this repository
32
+
33
+ * **Performance**:
34
+
35
+ * Completed in \~20 minutes using Kaggle GPU resources
36
+ * Cloud-to-cloud transfer without local storage dependency
37
+
38
+ ---
39
+
40
+ ## 🧠 Use Cases
41
+
42
+ * Fine-tuning LLMs for **legal question answering**
43
+ * Benchmarks for **article referencing and quoting**
44
+ * Few-shot prompting for legal search assistants
45
+ * Legal text evaluation with grounded answers
46
+
47
+ ---
48
+
49
+ ## ⚠️ Disclaimer
50
+
51
+ This dataset is intended for **research and development** only. QA pairs are generated synthetically from publicly available legal text and may not reflect official interpretations.
52
+
53
+ ---
54
+
55
+ ## 🙏 Acknowledgments
56
+
57
+ * **[Hugging Face](https://huggingface.co/)** for hosting open datasets
58
+ * **[Kaggle](https://www.kaggle.com/)** for compute and cloud-to-cloud capabilities
59
+
60
+ ---
61
+