File size: 853 Bytes
a396787
 
 
32a16a6
b5954bc
5b0b434
44707b3
 
 
 
 
8dc1bff
e090898
 
 
7effc54
 
 
 
5ee115f
44707b3
 
 
 
 
 
 
 
 
 
 
 
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: afl-3.0
---


## Model description
MathGLM-10B is finetuned from GLM-10B on a dataset with additional multi-step arithmetic operations and math problems described in text, achieves similar performance to GPT-4 on a 5,000-samples Chinese math problem
test set.


## How to use 
First, you shoud run the following command to pip sat.
```
pip install SwissArmyTransformer
```
Second, you run the inference code to evaluate our MathGLM-10B.
```
bash inference.sh
```


## Citation
Please cite our paper if you find this code useful for your research:
```
@article{yang2023gpt,
  title={GPT Can Solve Mathematical Problems Without a Calculator},
  author={Yang, Zhen and Ding, Ming and Lv, Qingsong and Jiang, Zhihuan and He, Zehai and Guo, Yuyi and Bai, Jinfeng and Tang, Jie},
  journal={arXiv preprint arXiv:2309.03241},
  year={2023}
}
```