Datasets:
Gresham
commited on
Commit
·
e380d3b
1
Parent(s):
5d83608
docs(readme): update
Browse files- README.md +21 -0
- example.py +17 -0
- figure/data_statistics.png +3 -0
README.md
CHANGED
@@ -37,6 +37,8 @@ configs:
|
|
37 |
|
38 |
Github Repo: https://github.com/TreeAI-Lab/NumericBench
|
39 |
|
|
|
|
|
40 |
# How to use it?
|
41 |
|
42 |
## Loading Data
|
@@ -116,3 +118,22 @@ Due to the excessive length of the content, "..." is used to indicate omission.
|
|
116 |
|
117 |
# Dataset statistics
|
118 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
37 |
|
38 |
Github Repo: https://github.com/TreeAI-Lab/NumericBench
|
39 |
|
40 |
+
Arxiv Paper: https://arxiv.org/abs/2502.11075
|
41 |
+
|
42 |
# How to use it?
|
43 |
|
44 |
## Loading Data
|
|
|
118 |
|
119 |
# Dataset statistics
|
120 |
|
121 |
+
<p align="center">
|
122 |
+
<img src="./figure/data_statistics.png" width=600>
|
123 |
+
</p>
|
124 |
+
|
125 |
+
For more details, please refer to our paper.
|
126 |
+
|
127 |
+
# Citation
|
128 |
+
|
129 |
+
```
|
130 |
+
@misc{li2025exposingnumeracygapsbenchmark,
|
131 |
+
title={Exposing Numeracy Gaps: A Benchmark to Evaluate Fundamental Numerical Abilities in Large Language Models},
|
132 |
+
author={Haoyang Li and Xuejia Chen and Zhanchao XU and Darian Li and Nicole Hu and Fei Teng and Yiming Li and Luyu Qiu and Chen Jason Zhang and Qing Li and Lei Chen},
|
133 |
+
year={2025},
|
134 |
+
eprint={2502.11075},
|
135 |
+
archivePrefix={arXiv},
|
136 |
+
primaryClass={cs.CL},
|
137 |
+
url={https://arxiv.org/abs/2502.11075},
|
138 |
+
}
|
139 |
+
```
|
example.py
ADDED
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
from huggingface_hub import hf_hub_download
|
2 |
+
import pandas as pd
|
3 |
+
|
4 |
+
dataset_name_list = ['arithmetic_operation/context_arithmetic_operation.json', 'arithmetic_operation/arithmetic_operation.json',
|
5 |
+
'mixed_number_sting/mixed_number_string_500_per_sample.json',
|
6 |
+
'num_list/num_list_500_per_sample_1000_length.json', 'num_list/num_list_500_per_sample_100_length.json',
|
7 |
+
'sequence/sequence_500_sample_100_length.json',
|
8 |
+
'stock/single-turn/stock_500_per_sample_150_length.json', 'stock/single-turn/stock_500_per_sample_300_length.json', 'stock/multi-turn/stock_multi_turn_100_per_sample_100_length.json',
|
9 |
+
'weather/single-turn/weather_500_per_sample_200_length.json', 'weather/single-turn/weather_500_per_sample_400_length.json', 'weather/multi-turn/weather_multi_turn_100_per_sample_100_length.json'
|
10 |
+
]
|
11 |
+
|
12 |
+
REPO_ID = "TreeAILab/NumericBench"
|
13 |
+
|
14 |
+
for dataset_name in dataset_name_list:
|
15 |
+
dataset = pd.read_json(
|
16 |
+
hf_hub_download(repo_id=REPO_ID, filename=dataset_name, repo_type="dataset")
|
17 |
+
)
|
figure/data_statistics.png
ADDED
![]() |
Git LFS Details
|