Datasets:
Tasks:
Text2Text Generation
Modalities:
Text
Formats:
csv
Languages:
English
Size:
10K - 100K
ArXiv:
File size: 2,109 Bytes
338899b 92ff855 fc92a72 884c725 fc92a72 bd600f2 884c725 bd600f2 fc92a72 4244d6f 92ff855 fc92a72 05204b9 |
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 |
---
task_categories:
- text2text-generation
language:
- en
pretty_name: Financial Context Dataset
size_categories:
- 10K<n<100K
---
This dataset contains over 50,000 samples of user financial queries paired with their corresponding structured data requests (context). It was created to facilitate the creation of the [Financial Agent](https://huggingface.co/Chaitanya14/Financial_Agent) LLM for accurate data extraction and query answering.
# How to load the Dataset
You can load the dataset using the code below:
```python
from datasets import load_dataset
ds = load_dataset("Chaitanya14/Financial_Context_Dataset")
```
# Dataset Construction
### Diverse Query Sources
The dataset was built using a multi-method query sampling approach, incorporating:
- Real-world queries from retail customer technology channels (e.g., email, web forms).
- Consultations with 10 financial advisors on common retail investor inquiries.
- Interviews with 20 retail investors about their pre-investment questions.
### Template-Based Expansion
Over 5,000 query templates were generated (4,000 from technology channels, 500 from advisors, and 500 from investors). These templates were then scaled up to over 50,000 samples by randomly varying elements within each template, ensuring a broad and varied representation of financial queries.
This dataset provides a valuable resource for developing and evaluating LLMs in the financial domain, particularly for applications requiring accurate understanding and response to user financial queries. For more information regarding the dataset, please refer to our [paper](https://arxiv.org/abs/2502.18471).
# Citation
If you use the Financial Context Dataset, please cite with the following BibTex entry:
```
@misc{sinha2025finbloomknowledgegroundinglarge,
title={FinBloom: Knowledge Grounding Large Language Model with Real-time Financial Data},
author={Ankur Sinha and Chaitanya Agarwal and Pekka Malo},
year={2025},
eprint={2502.18471},
archivePrefix={arXiv},
primaryClass={cs.IR},
url={https://arxiv.org/abs/2502.18471},
}
``` |