Datasets:
Vishva R commited on
Update README.md
Browse files2 unmodified lines345678951 unmodified lines61626364656667686970717273747576777879808182838485868722 unmodified lines11011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415546 unmodified lines2022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462 unmodified linestask_categories:- question-answering- table-question-answering- text2text-generationtags:- finance- legal51 unmodified linesdownload_size: 13541030dataset_size: 209709504---# RBI Circular QA Dataset## Dataset DescriptionThis dataset contains question-answer pairs extracted from Reserve Bank of India (RBI) circulars spanning 2023, 2024, and 2025. The dataset was created using Google's Gemini-2.0-flash model to generate high-quality QA pairs from official RBI regulatory documents.The dataset includes an `eval` split, comprising 1000 balanced selected samples from each section of question from the original dataset. For these evaluation samples, questions and answers have been rephrased using the Google's Gemini-2.0-flash model via Langchain, providing a valuable resource for evaluating model robustness to linguistic variations.---## Dataset Summary- **Total QA Pairs**: Variable (depends on processed circulars). This includes a dedicated `eval` split of 100 rephrased QA pairs.- **Language**: English- **Domain**: Banking and Financial Regulations- **Source**: RBI Official Circulars (2023-2025)- **Generation Model**: Google Gemini-2.0-flash- **License**: Please refer to RBI's terms of use for the original documents---## Dataset Structure22 unmodified lines| `rephrased_question` | string | A rephrased version of the `question`, populated in the `eval` split, empty in `train`. || `rephrased_answer` | string | A rephrased version of the `answer`, populated in the `eval` split, empty in `train`. |---## Dataset Creation### Source Documents- **RBI Official Circulars**: 2023, 2024, and 2025- **Source Website**: [RBI Circular Index](https://www.rbi.org.in/scripts/bs_circularindexdisplay.aspx)- **Format**: PDF documents converted to structured text- **Coverage**: Comprehensive banking and financial regulations### Generation Process1. **Document Collection**: RBI circular PDFs downloaded from the [official RBI website](https://www.rbi.org.in/scripts/bs_circularindexdisplay.aspx)2. **Document Processing**: PDF documents were processed and chunked into manageable segments.3. **QA Generation**: Google Gemini-2.0-flash model generated relevant question-answer pairs for the primary dataset.4. **Evaluation Split Construction**: A subset of 1000 QA pairs was selected eveanly distributed datapoints from the train and rephrased question and answers.5. **Rephrasing**: For the evaluation subset, questions and answers were rephrased using the Google Gemini-2.0-flash model via Langchain's Pydantic structured output, ensuring consistency in the output format.6. **Quality Control**: Evaluation criteria and difficulty estimation are included for each QA pair.7. **Structuring**: Data is organized with comprehensive metadata and regulatory context, with consistent features across all splits.### Code and MethodologyThe complete data preparation pipeline is available at:**GitHub Repository**: [https://github.com/vishvaRam/Data-Prep-for-LLM-fine-tuning](https://github.com/vishvaRam/Data-Prep-for-LLM-fine-tuning)---## Use Cases### Primary Applications- **Financial Chatbots**: Training conversational AI for banking queries, including robustness testing with rephrased inputs.- **Regulatory Compliance**: Question-answering systems for RBI regulations.- **Educational Tools**: Learning resources for banking professionals.- **Research**: Analysis of Indian banking regulatory framework and evaluation of language model performance on rephrased content.### Model Training- Fine-tuning language models for banking domain.- Retrieval-Augmented Generation (RAG) systems.- Question-answering model development and evaluation of model generalization on semantically similar but syntactically different questions and answers.- Regulatory text understanding.---## Loading the Dataset46 unmodified linesprint(df_eval.head())```---## Data Quality and Limitations### Strengths- Generated by state-of-the-art Gemini-2.0-flash model for primary QA.- Includes a specialized `eval` split with rephrased content from Gemini-2.0-flash, enhancing evaluation capabilities.- Comprehensive metadata for each QA pair.- Covers recent RBI regulations (2023-2025).- Structured format suitable for ML applications.### Limitations- AI-generated content may contain inaccuracies, particularly for rephrased content.- Limited to English language.- Covers only 2023-2025 period.- May not capture all nuances of complex regulatory language.- The rephrased content is model-generated and should be considered as such for evaluation purposes.### Recommended Usage- Always verify critical information with original RBI circulars.- Use as supplementary training data alongside human-verified content.- Suitable for research and educational purposes.- The `eval` split is particularly useful for assessing the robustness and generalization of models to variations in phrasing.---## Contact and Contributions- **Creator**: Vishva Ram- **GitHub**: [https://github.com/vishvaRam/Data-Prep-for-LLM-fine-tuning](https://github.com/vishvaRam/Data-Prep-for-LLM-fine-tuning)- **Issues**: Please report any issues or suggestions through GitHub---## DisclaimerThis dataset is created for educational and research purposes. The original RBI circulars remain the authoritative source for regulatory information. Users should verify all information with official RBI publications before making any regulatory or compliance decisions.---## License2 unmodified lines34567851 unmodified lines6061626364656667686970717273747576777879808182838485868722 unmodified lines11011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916046 unmodified lines2072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542 unmodified linestask_categories:- question-answering- table-question-answeringtags:- finance- legal51 unmodified linesdownload_size: 13541030dataset_size: 209709504---# RBI Circular QA Dataset-----## Dataset DescriptionThis dataset contains question-answer pairs extracted from Reserve Bank of India (RBI) circulars spanning **2020 to 2025**. The dataset was created using Google's Gemini-2.0-flash model to generate high-quality QA pairs from official RBI regulatory documents.The dataset includes an `eval` split, comprising 1000 carefully sampled and rephrased questions and answers from the training data. For these evaluation samples, questions and answers have been rephrased using the Google Gemini-2.0-flash model via Langchain, providing a valuable resource for evaluating model robustness to linguistic variations.-----## Dataset Summary- **Total QA Pairs**: The dataset includes **29,675 training samples** and a dedicated `eval` split of **1000 rephrased QA pairs**.- **Language**: English- **Domain**: Banking and Financial Regulations- **Source**: RBI Official Circulars (**2020-2025**)- **Generation Model**: Google Gemini-2.0-flash- **License**: Please refer to RBI's terms of use for the original documents.-----## Dataset Structure22 unmodified lines| `rephrased_question` | string | A rephrased version of the `question`, populated in the `eval` split, empty in `train`. || `rephrased_answer` | string | A rephrased version of the `answer`, populated in the `eval` split, empty in `train`. |-----## Dataset Creation### Source Documents- **RBI Official Circulars**: **2020, 2021, 2022, 2023, 2024, and 2025**- **Source Website**: [RBI Circular Index](https://www.rbi.org.in/scripts/bs_circularindexdisplay.aspx)- **Format**: PDF documents converted to structured text- **Coverage**: Comprehensive banking and financial regulations### Generation Process1. **Document Collection**: RBI circular PDFs downloaded from the [official RBI website](https://www.rbi.org.in/scripts/bs_circularindexdisplay.aspx).2. **Document Processing**: PDF documents were processed and chunked into manageable segments.3. **QA Generation**: Google Gemini-2.0-flash model generated relevant question-answer pairs for the primary dataset.4. **Evaluation Split Construction**: A subset of **1000 QA pairs** was carefully sampled and rephrased from the **training split** to form the `eval` dataset. This ensures the evaluation set reflects the distribution of the training data while introducing linguistic variations.5. **Rephrasing**: For the evaluation subset, questions and answers were rephrased using the Google Gemini-2.0-flash model via Langchain's Pydantic structured output, ensuring consistency in the output format.6. **Quality Control**: Evaluation criteria and difficulty estimation are included for each QA pair.7. **Structuring**: Data is organized with comprehensive metadata and regulatory context, with consistent features across all splits.### Code and MethodologyThe complete data preparation pipeline is available at:**GitHub Repository**: [https://github.com/vishvaRam/Data-Prep-for-LLM-fine-tuning](https://github.com/vishvaRam/Data-Prep-for-LLM-fine-tuning)-----## Use Cases### Primary Applications- **Financial Chatbots**: Training conversational AI for banking queries, including robustness testing with rephrased inputs.- **Regulatory Compliance**: Question-answering systems for RBI regulations.- **Educational Tools**: Learning resources for banking professionals.- **Research**: Analysis of Indian banking regulatory framework and evaluation of language model performance on rephrased content.### Model Training- Fine-tuning language models for banking domain.- Retrieval-Augmented Generation (RAG) systems.- Question-answering model development and evaluation of model generalization on semantically similar but syntactically different questions and answers.- Regulatory text understanding.-----## Loading the Dataset46 unmodified linesprint(df_eval.head())```-----## Data Quality and Limitations### Strengths- Generated by state-of-the-art Gemini-2.0-flash model for primary QA.- Includes a specialized `eval` split with rephrased content from Gemini-2.0-flash, enhancing evaluation capabilities.- Comprehensive metadata for each QA pair.- Covers recent RBI regulations (**2020-2025**).- Structured format suitable for ML applications.### Limitations- AI-generated content may contain inaccuracies, particularly for rephrased content.- Limited to English language.- Covers only **2020-2025** period.- May not capture all nuances of complex regulatory language.- The rephrased content is model-generated and should be considered as such for evaluation purposes.### Recommended Usage- Always verify critical information with original RBI circulars.- Use as supplementary training data alongside human-verified content.- Suitable for research and educational purposes.- The `eval` split is particularly useful for assessing the robustness and generalization of models to variations in phrasing.-----## Contact and Contributions- **Creator**: Vishva Ram- **GitHub**: [https://github.com/vishvaRam/Data-Prep-for-LLM-fine-tuning](https://github.com/vishvaRam/Data-Prep-for-LLM-fine-tuning)- **Issues**: Please report any issues or suggestions through GitHub-----## DisclaimerThis dataset is created for educational and research purposes. The original RBI circulars remain the authoritative source for regulatory information. Users should verify all information with official RBI publications before making any regulatory or compliance decisions.-----## License
README.md+58-50