Calc-X and Calcformers: Empowering Arithmetical Chain-of-Thought through Interaction with Symbolic Systems
Kadlčík, Marek, Štefánik, Michal, Sotolář, Ondřej, Martinek, Vlastimil
–arXiv.org Artificial Intelligence
Despite outstanding performance in many tasks, language models are notoriously inclined to make factual errors in tasks requiring arithmetic computation. We address this deficiency by creating Calc-X, a collection of datasets that demonstrates the appropriate use of a calculator in reasoning chains. Calc-X is suitable for teaching language models to offload computations to a symbolic system. We survey and unify several existing chain-of-thought datasets into a proposed format, resulting in a standard collection of over 300,000 samples requiring arithmetic reasoning. Finally, we use the new Calc-X collection to train open-source calculator-using models we call Calcformers and show that these models approximately double the accuracy of generating correct results compared to vanilla language model baselines. We make all Calc-X datasets, source code and Calcformers models publicly available.
arXiv.org Artificial Intelligence
Oct-23-2023
- Country:
- North America > United States
- California > San Diego County > San Diego (0.04)
- Europe
- Czechia (0.05)
- Ireland > Leinster
- County Dublin > Dublin (0.04)
- Asia > Middle East
- Republic of Türkiye (0.04)
- North America > United States
- Genre:
- Research Report (0.50)
- Industry:
- Education (1.00)
- Technology: