You can take a look at:

  
      

      github.com
  

  
    

deepmind/mathematics_dataset 3


  This dataset code generates mathematical question and answer pairs, from a range of question types at roughly school-level difficulty.