Teaching a neural network to use a calculator

This article explores a seq2seq architecture for solving simple probability problems in Deepmind’s Mathematics Dataset. A transformer is used to map questions to intermediate steps, while an external symbolic calculator evaluates intermediate expressions. This approach emulates how a student might solve math problems, by setting up intermediate equations, using a calculator to solve them, and using those results to construct further equations.