en-sm-bigdata-long / README.md
jiminHuang's picture
Card: update repo id after rename (flare-sm-bigdata-long -> en-sm-bigdata-long)
1648bba verified
|
Raw History Blame Contribute Delete
4.41 kB
---
pretty_name: FinBen · BigData22 (stock movement) (long-context)
license: other
license_name: public-source
language:
- en
task_categories:
- text-classification
size_categories:
- 10K<n<100K
source_datasets:
- extended
tags:
- finance
- benchmark
- thefinai
- finben
- flare
configs:
- config_name: default
data_files:
- split: train
path: data/train-*
- split: validation
path: data/validation-*
- split: test
path: data/test-*
dataset_info:
features:
- name: index
dtype: int64
- name: query
dtype: string
- name: answer
dtype: string
- name: choices
sequence: string
- name: gold
dtype: int64
splits:
- name: train
num_bytes: 552556994
num_examples: 8350
- name: validation
num_bytes: 6647392
num_examples: 100
- name: test
num_bytes: 139926443
num_examples: 2113
download_size: 389252472
dataset_size: 699130829
extra_gated_heading: Request access to FinBen · BigData22 (stock movement) (long-context)
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 (Public) 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 · BigData22 (stock movement) (long-context)
📄 [Paper](https://arxiv.org/abs/2402.12659) · 💻 [Code](https://github.com/The-FinAI/FinBen) · 🏆 [Leaderboard](https://huggingface.co/spaces/TheFinAI/Open-FinLLM-Leaderboard) · 🌐 [The Fin AI](https://thefin.ai)
> Part of **FinBen** — *FinBen: A Holistic Financial Benchmark for Large Language Models* ([arXiv:2402.12659](https://arxiv.org/abs/2402.12659)).
Long-context variant of [flare-sm-bigdata](https://huggingface.co/datasets/TheFinAI/flare-sm-bigdata) in FinBen.
| | |
|---|---|
| Task | stock movement prediction |
| Original dataset | BigData22 (Soun et al., 2022) |
| Evaluation metric | Accuracy, MCC |
| Source license | Public |
| Language | en |
## Quick Start
```python
from datasets import load_dataset
ds = load_dataset("TheFinAI/en-sm-bigdata-long", split="test")
print(ds[0])
```
## Example prompt
```text
### Input
Given the data, could you project whether the (adjusted) closing price of $GOOG will grow or shrink at 2020-10-08? Please specify either Rise or Fall.
Context: stock,date,open,high,low,close,adj_close,volume
PCG,2020-08-12,9.19,9.33,9.13,9.28,9.27,11896900
PCG,2020-08-13,9.41,9.68,9.38,9.62,9.61,32146500
PCG,2020-08-14,9.56,9.62,9.37,9.41,9.4,11318400
PCG,2020-08-17,9.45,9.45,9.16,9.17,9…
```
## Dataset Structure
| Split | Rows |
|---|---|
| `train` | 8,350 |
| `validation` | 100 |
| `test` | 2,113 |
| Field | Description |
|---|---|
| `index` | |
| `query` | Full instruction prompt given to the model |
| `answer` | Gold answer / label text |
| `choices` | Label space |
| `gold` | Index of the gold label in `choices` |
## License
The paper lists the original data as **publicly available** without a specific license (FinBen paper, Table 2); refer to the original source for its terms.
## Citation
Please cite FinBen and the original dataset (BigData22 (Soun et al., 2022)):
```bibtex
@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},
}
```