This project aims to use NLP AI to learn the rules of calculating. The task is to calculate a long equation with only one digit numbers.
In step_calcu.py
I use pytorch transformer. In wrong_pre.py
and finetune.py
I use hugging face pre-trained models, GPT2.
The report can be found at here. Sorry for English readers that this report is written in Chinese.