|
Download README.md from TheFinAI/en-finqa: direct link, hf CLI and curl.
- Browser
- Download file 4.19 kB
-
https://huggingface.co/datasets/TheFinAI/en-finqa/resolve/main/README.md
- Command line
-
hf download hf://datasets/TheFinAI/en-finqa/README.md
-
curl -L -H "Authorization: Bearer $HF_TOKEN" -o README.md https://huggingface.co/datasets/TheFinAI/en-finqa/resolve/main/README.md
4.19 kB
metadata
pretty_name: FinBen · FinQA
license: mit
language:
- en
task_categories:
- question-answering
- table-question-answering
size_categories:
- 1K<n<10K
source_datasets:
- extended
tags:
- finance
- benchmark
- thefinai
- finben
- flare
dataset_info:
features:
- name: id
dtype: string
- name: query
dtype: string
- name: answer
dtype: string
- name: text
dtype: string
splits:
- name: train
num_bytes: 27056024
num_examples: 6251
- name: valid
num_bytes: 3764872
num_examples: 883
- name: test
num_bytes: 4846110
num_examples: 1147
download_size: 0
dataset_size: 35667006
extra_gated_heading: Request access to FinBen · FinQA
extra_gated_description: >-
This FinBen task is released by The Fin AI for research. Access is granted
automatically after you complete this short form.
extra_gated_button_content: Agree and access
extra_gated_prompt: >-
By accessing this dataset you agree to the license of the original source (MIT
License) and to cite the FinBen paper and the original dataset in any
resulting publication.
extra_gated_fields:
Full name: text
Affiliation: text
Country: country
Intended use:
type: select
options:
- Research
- Education
- Commercial evaluation
- Other
I agree to the terms above and will cite the papers: checkbox
FinBen · FinQA
📄 Paper · 💻 Code · 🏆 Leaderboard · 🌐 The Fin AI
Part of FinBen — FinBen: A Holistic Financial Benchmark for Large Language Models (arXiv:2402.12659).
| Task | question answering |
| Original dataset | FinQA (Chen et al., 2021) |
| Evaluation metric | EM Accuracy |
| Source license | MIT License |
| Language | en |
Quick Start
from datasets import load_dataset
ds = load_dataset("TheFinAI/en-finqa", split="test")
print(ds[0])
Example prompt
Please answer the given financial question based on the context.
Context: entergy corporation and subsidiaries management 2019s financial discussion and analysis a result of the entergy louisiana and entergy gulf states louisiana business combination , results of operations for 2015 also include two items that occurred in october 2015 : 1 ) a deferred tax asset and resulting net increase in tax ba…
Dataset Structure
| Split | Rows |
|---|---|
train |
6,251 |
test |
1,147 |
valid |
883 |
| Field | Description |
|---|---|
id |
Example id |
query |
Full instruction prompt given to the model |
answer |
Gold answer / label text |
text |
Raw input text (without instruction) |
License
The original data is released under MIT License (FinBen paper, Table 2).
Citation
Please cite FinBen and the original dataset (FinQA (Chen et al., 2021)):
@misc{xie2024finbenholisticfinancialbenchmark,
title={FinBen: A Holistic Financial Benchmark for Large Language Models},
author={Qianqian Xie and Weiguang Han and Zhengyu Chen and Ruoyu Xiang and Xiao Zhang and Yueru He and Mengxi Xiao and Dong Li and Yongfu Dai and Duanyu Feng and Yijing Xu and Haoqiang Kang and Ziyan Kuang and Chenhan Yuan and Kailai Yang and Zheheng Luo and Tianlin Zhang and Zhiwei Liu and Guojun Xiong and Zhiyang Deng and Yuechen Jiang and Zhiyuan Yao and Haohang Li and Yangyang Yu and Gang Hu and Jiajia Huang and Xiao-Yang Liu and Alejandro Lopez-Lira and Benyou Wang and Yanzhao Lai and Hao Wang and Min Peng and Sophia Ananiadou and Jimin Huang},
year={2024},
eprint={2402.12659},
archivePrefix={arXiv},
primaryClass={cs.CL},
url={https://arxiv.org/abs/2402.12659},
}
@article{chen2021finqa,
title={FinQA: A Dataset of Numerical Reasoning over Financial Data},
author={Chen, Zhiyu and Chen, Wenhu and Smiley, Charese and Shah, Sameena and Borova, Iana and Langdon, Dylan and Moussa, Reema and Beane, Matt and Huang, Ting-Hao and Routledge, Bryan and others},
journal={arXiv preprint arXiv:2109.00122},
year={2021}
}