Home

Awesome

Forward-Backward Reasoning in Large Language Models for Mathematical Verification

  1. install packages: pip install openai, tqdm, numpy
  2. set your OpenAI API Key: export APIKEY="xxx"
  3. run the script (Note: you can choose the LLM, base prompt, dataset in the file run_fobar.sh.)
cd code
bash -x run_fobar.sh