|
Download README.md from TheFinAI/en-headlines: direct link, hf CLI and curl.
- Browser
- Download file 3.85 kB
-
https://huggingface.co/datasets/TheFinAI/en-headlines/resolve/main/README.md
- Command line
-
hf download hf://datasets/TheFinAI/en-headlines/README.md
-
curl -L -H "Authorization: Bearer $HF_TOKEN" -o README.md https://huggingface.co/datasets/TheFinAI/en-headlines/resolve/main/README.md
3.85 kB
| pretty_name: FinBen · Headlines | |
| license: cc-by-sa-3.0 | |
| language: | |
| - en | |
| task_categories: | |
| - text-classification | |
| size_categories: | |
| - 100K<n<1M | |
| 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: choices | |
| sequence: string | |
| - name: gold | |
| dtype: int64 | |
| - name: label_type | |
| dtype: string | |
| splits: | |
| - name: train | |
| num_bytes: 20011965 | |
| num_examples: 71892 | |
| - name: valid | |
| num_bytes: 2868488 | |
| num_examples: 10269 | |
| - name: test | |
| num_bytes: 6189762 | |
| num_examples: 20547 | |
| download_size: 899498 | |
| dataset_size: 29070215 | |
| extra_gated_heading: Request access to FinBen · Headlines | |
| 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 (CC BY-SA 3.0) 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 · Headlines | |
| 📄 [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 | news headline classification | | |
| | Original dataset | Headlines (Sinha and Khandait, 2021) | | |
| | Evaluation metric | Avg F1 | | |
| | Source license | CC BY-SA 3.0 | | |
| | Language | en | | |
| ## Quick Start | |
| ```python | |
| from datasets import load_dataset | |
| ds = load_dataset("TheFinAI/en-headlines", split="test") | |
| print(ds[0]) | |
| ``` | |
| ## Example prompt | |
| ```text | |
| Consider whether the headline mentions the price of gold.. Is there a Price or Not in the gold commodity market indicated in the news headline? Please answer Yes or No. | |
| Text: Trading partners unlikely to take India’s gold import curbs lightly | |
| Answer: | |
| ``` | |
| ## Dataset Structure | |
| | Split | Rows | | |
| |---|---| | |
| | `train` | 71,892 | | |
| | `test` | 20,547 | | |
| | `valid` | 10,269 | | |
| | Field | Description | | |
| |---|---| | |
| | `id` | Example id | | |
| | `query` | Full instruction prompt given to the model | | |
| | `answer` | Gold answer / label text | | |
| | `choices` | Label space | | |
| | `gold` | Index of the gold label in `choices` | | |
| | `label_type` | | | |
| ## License | |
| The original data is released under **CC BY-SA 3.0** (FinBen paper, Table 2). | |
| ## Citation | |
| Please cite FinBen and the original dataset (Headlines (Sinha and Khandait, 2021)): | |
| ```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}, | |
| } | |
| ``` | |