{"library":"mathematics-dataset","title":"Mathematics Dataset","description":"A synthetic dataset of school-level mathematics questions from DeepMind, covering arithmetic, algebra, calculus, and more. Current version 1.0.1, released in 2019. No active development; stable.","language":"python","status":"active","last_verified":"Fri May 01","install":{"commands":["pip install mathematics-dataset"],"cli":null},"imports":["from mathematics_dataset import MathematicsDataset"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"from mathematics_dataset import MathematicsDataset\ndataset = MathematicsDataset('train-easy', verbose=False)\nfor i, (question, answer) in enumerate(dataset):\n    if i >= 5:\n        break\n    print(f'Q: {question}\\nA: {answer}\\n')","lang":"python","description":"Loads the training set of easy questions and prints the first 5 question-answer pairs.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}