en-sm-bigdata / README.md
jiminHuang's picture
Card: update repo id after rename (flare-sm-bigdata -> en-sm-bigdata)
6ee4d4b verified
|
Raw History Blame Contribute Delete
3.67 kB
---
pretty_name: FinBen · BigData22 (stock movement)
license: other
license_name: public-source
language:
- en
task_categories:
- text-classification
size_categories:
- 1K<n<10K
source_datasets:
- extended
tags:
- finance
- benchmark
- thefinai
- finben
- flare
extra_gated_heading: Request access to FinBen · BigData22 (stock movement)
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)
📄 [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)).
| | |
|---|---|
| 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", split="test")
print(ds[0])
```
## Example prompt
```text
Examine the data and tweets to deduce if the closing price of $ba will boost or lower at 2020-11-02. Kindly confirm either Rise or Fall.
Context: date,open,high,low,close,adj-close,inc-5,inc-10,inc-15,inc-20,inc-25,inc-30
2020-10-19,1.2,2.2,-0.6,-0.1,-0.1,-1.4,-1.2,-0.8,-2.4,-2.4,-2.6
2020-10-20,0.6,1.2,-0.6,0.1,0.1,-0.8,-0.8,-0.7,-2.1,-2.3,-2.5
2020-10-21,1.6,2.3,-0.0,-2.0,-2.0,1.3,1.2,1.3,0.3,-0…
```
## Dataset Structure
| Split | Rows |
|---|---|
| `train` | 4,897 |
| `validation` | 798 |
| `test` | 1,472 |
| Field | Description |
|---|---|
| `id` | Example id |
| `query` | Full instruction prompt given to the model |
| `answer` | Gold answer / label text |
| `text` | Raw input text (without instruction) |
| `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},
}
```