Here we provide and collect many functions to generate math problem and step by step solutions for LLM training:
Demo:
git clone https://github.com/LAION-AI/math_problems-step-by-step_solutions
python ./math_problems-step-by-step_solutions/generate.py
Colab: https://colab.research.google.com/drive/1hl0FT_60taKmWazjn_nE_gsvt9mUSsSM?usp=sharing