File size: 1,048 Bytes
0452453
5d9b846
 
0452453
5d9b846
0c7c77a
5d9b846
0c7c77a
 
5d9b846
0c7c77a
5d9b846
0c7c77a
 
5d9b846
0c7c77a
0a13411
 
0c7c77a
 
0a13411
 
 
0c7c77a
0a13411
0c7c77a
 
 
0a13411
0c7c77a
5d9b846
0c7c77a
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
---
license: gpl-3.0
pretty_name: Calculator
---

# Arithmetic Expression Dataset

Source code and reproducible evaluation pipeline:
[calculator-benchmark](https://github.com/pymlex/calculator-benchmark) on GitHub.

## Evaluation across four models

Models: `Qwen2.5-Math-1.5B`, `Qwen2.5-Math-7B`,
`AceReason-Nemotron-1.1-7B`, `MathGLM-2B`.

Weighted score:

$$
\text{weighted\_score} = \frac{\sum_{s=1}^{15} (\text{mean}(\text{correct}_s) \cdot s^2)}{\sum_{s=1}^{15} s^2}
$$

| model_id | overall_acc | weighted_score |
|---|---|---|
| nvidia/AceReason-Nemotron-1.1-7B | 0.955667 | 0.912847 |
| Qwen/Qwen2.5-Math-7B-Instruct | 0.803667 | 0.651044 |
| Qwen/Qwen2.5-Math-1.5B-Instruct | 0.758333 | 0.571052 |

![Accuracy by steps](https://raw.githubusercontent.com/pymlex/calculator-benchmark/main/results/assets/teacher_step_comparison.png)

![Response length distribution](https://raw.githubusercontent.com/pymlex/calculator-benchmark/main/results/assets/pred_len_all_models.png)

Per-model CSV files are attached in this dataset repository root.