File size: 3,232 Bytes
bf1e44c
 
 
 
 
 
 
 
a999ad2
 
 
bf1e44c
 
e147ffa
 
 
 
 
 
 
bf1e44c
a999ad2
fa54d39
a999ad2
8d58ad3
a999ad2
 
 
 
 
fa54d39
a999ad2
0edb545
a999ad2
0edb545
a999ad2
fa54d39
a999ad2
 
 
 
0edb545
a999ad2
fa54d39
 
 
a999ad2
fa54d39
a999ad2
 
0edb545
a999ad2
fa54d39
a999ad2
 
 
 
 
 
 
 
 
 
fa54d39
a999ad2
8d58ad3
fa54d39
a999ad2
8d58ad3
a999ad2
fa54d39
a999ad2
 
 
8d58ad3
a999ad2
fa54d39
a999ad2
0edb545
fa54d39
 
a999ad2
 
 
 
 
fa54d39
a999ad2
8d58ad3
a999ad2
fa54d39
a999ad2
 
 
 
0edb545
a999ad2
8d58ad3
a999ad2
fa54d39
a999ad2
 
 
 
fa54d39
a999ad2
 
0edb545
a999ad2
fa54d39
 
 
a999ad2
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
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
---
license: mit
task_categories:
- question-answering
- table-question-answering
tags:
- finance
- legal
- data-augmentation
- paraphrasing
pretty_name: RBI Circular QA Dataset (Augmented)
size_categories:
- 10K<n<100K
configs:
- config_name: default
  data_files:
  - split: train
    path: data/train-*
  - split: eval
    path: data/eval-*
---
# RBI Circular QA Dataset (Augmented Edition)

## 🎯 Overview

- **47,934 training examples** (12K original + 36K rephrased)
- **1,000 evaluation examples**
- **3x data augmentation** via semantic paraphrasing
- **Domain**: Indian Banking & Financial Regulations (RBI Circulars 2020-2025)
- **Model**: Google Gemini-2.0-flash

---

## What's New

This augmented version includes **3 rephrased variations** for each original QA pair, providing:

- Better model generalization
- Reduced overfitting
- Improved robustness to linguistic variations
- Optimized for fine-tuning 3B-7B parameter models

---

## Dataset Structure

### Splits

- **train**: 47,934 examples
- **eval**: 1,000 examples

### Key Fields

| Field                    | Type   | Description                                      |
| ------------------------ | ------ | ------------------------------------------------ |
| `question`             | string | Question (original or rephrased)                 |
| `answer`               | string | Corresponding answer                             |
| `data_source`          | string | **NEW**: `"original"` or `"rephrased"` |
| `document`             | string | Source RBI circular title                        |
| `regulation_area`      | string | Banking regulation category                      |
| `estimated_difficulty` | int    | Difficulty level (1-5)                           |
| `rephrased_question`   | string | Populated only in eval split                     |
| `rephrased_answer`     | string | Populated only in eval split                     |

---


## Data Augmentation

Each original QA was augmented with 3 variations using:

- **Syntactic diversity**: Different question structures (What/How/Explain)
- **Lexical variation**: Synonym substitution while preserving technical terms
- **Structural changes**: Formal ↔ conversational, detailed ↔ concise

All rephrasings maintain semantic equivalence to originals.

---

## Use Cases

- Fine-tuning LLMs for banking domain QA
- Training robust financial chatbots
- Regulatory compliance systems
- Data augmentation research
- Evaluating model generalization

---

## Training Tips

1. **Use full dataset** (47,934 examples) for best results
2. **Shuffle thoroughly** to mix original and rephrased
3. **Lower learning rate** may be needed due to increased size
4. **Monitor both** original and rephrased eval performance

---

## Links

- **GitHub**: [Data Preparation Pipeline](https://github.com/vishvaRam/Data-Prep-for-LLM-fine-tuning)
- **Source**: [RBI Official Circulars](https://www.rbi.org.in/scripts/bs_circularindexdisplay.aspx)
---
## License

MIT License - Dataset structure and generated content
Original RBI circulars: Subject to RBI's terms of use

---

## Disclaimer

AI-generated content for educational/research purposes. Verify critical information with official RBI publications.