Upstage's SAAS research summary describes teaching a Large language modelA model trained on large amounts of data to process and generate language.Full definition → mathematical reasoning in two stages. First, it trains on written, step-by-step solutions. It then trains on solutions expressed as programs, allowing a Agent code executionRunning model-generated commands or programs under controlled authority.Full definition → to perform the calculations.
The second stage continues to include written reasoning examples, with the aim of retaining skills learned in the first stage. This separates two sources of difficulty: deciding which steps solve a problem and carrying out their arithmetic correctly. The proposed training sequence tries to preserve the former while using executable code for the latter.
Terms in this piece · Glossary
Large language model — A model trained on large amounts of data to process and generate language.
Agent code execution — Running model-generated commands or programs under controlled authority.
fine-tuning — Taking a trained model and training it a bit more on your own examples so it gets better at one specific job.
chain-of-thought — Having a model write out intermediate reasoning steps before its answer, which markedly improves performance on hard problems.