|
Download README.md from TheFinAI/zh-nl2: direct link, hf CLI and curl.
- Browser
- Download file 3.35 kB
-
https://huggingface.co/datasets/TheFinAI/zh-nl2/resolve/main/README.md
- Command line
-
hf download hf://datasets/TheFinAI/zh-nl2/README.md
-
curl -L -H "Authorization: Bearer $HF_TOKEN" -o README.md https://huggingface.co/datasets/TheFinAI/zh-nl2/resolve/main/README.md
3.35 kB
| pretty_name: ICE-PIXIU · NL2(新闻分类) | |
| license: other | |
| license_name: public-source | |
| language: | |
| - zh | |
| task_categories: | |
| - text-classification | |
| size_categories: | |
| - n<1K | |
| source_datasets: | |
| - extended | |
| tags: | |
| - finance | |
| - benchmark | |
| - thefinai | |
| - ice-pixiu | |
| - flare | |
| extra_gated_heading: Request access to ICE-PIXIU · NL2(新闻分类) | |
| extra_gated_description: This ICE-PIXIU 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 ICE-PIXIU 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 | |
| # ICE-PIXIU · NL2(新闻分类) | |
| 📄 [Paper](https://arxiv.org/abs/2403.06249) · 🌐 [The Fin AI](https://thefin.ai) | |
| > Part of **ICE-PIXIU** — *No Language is an Island: Unifying Chinese and English in Financial Large Language Models, Instruction Data, and Benchmarks* ([arXiv:2403.06249](https://arxiv.org/abs/2403.06249)). | |
| | | | | |
| |---|---| | |
| | Task | financial news classification (FinNC) | | |
| | Original dataset | NL2 (news articles) | | |
| | Source license | Public | | |
| | Language | zh | | |
| ## Quick Start | |
| ```python | |
| from datasets import load_dataset | |
| ds = load_dataset("TheFinAI/zh-nl2", split="test") | |
| print(ds[0]) | |
| ``` | |
| ## Example prompt | |
| ```text | |
| 请对下列的金融陈述进行分析,判断其所属的类别,你可以从['中国','外国','国际','公司','行业','大盘','经济','政策','政治','期货','债券','房地产','外汇','虚拟货币','新冠','能源']中选择两到三个,并将它们一同列出。要求使用”国际债券“的格式来回答。 | |
| Context: 开开实业:预计2021年净利润增加615万元-889万元,同比增加45%-65%;报告期内,公司共收到由公司控股股东上海开开(集团)有限公司转付的由上级政府部门下拨的政府补贴款1290万元。 | |
| Answer: | |
| ``` | |
| ## Dataset Structure | |
| | Split | Rows | | |
| |---|---| | |
| | `test` | 884 | | |
| | 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` | | |
| | `text` | Raw input text (without instruction) | | |
| ## License | |
| The paper lists the original data as **publicly available** without a specific license (ICE-PIXIU paper, Table 1); refer to the original source for its terms. | |
| ## Citation | |
| Please cite ICE-PIXIU and the original dataset (NL2 (news articles)): | |
| ```bibtex | |
| @misc{hu2024languageislandunifyingchinese, | |
| title={No Language is an Island: Unifying Chinese and English in Financial Large Language Models, Instruction Data, and Benchmarks}, | |
| author={Gang Hu and Ke Qin and Chenhan Yuan and Min Peng and Alejandro Lopez-Lira and Benyou Wang and Sophia Ananiadou and Jimin Huang and Qianqian Xie}, | |
| year={2024}, | |
| eprint={2403.06249}, | |
| archivePrefix={arXiv}, | |
| primaryClass={cs.CE}, | |
| url={https://arxiv.org/abs/2403.06249}, | |
| } | |
| ``` | |