Dataset · allenai
Benchmark of mathematical problems with Python code
allenai/lila
Over 140,000 math questions with solutions as Python programs and text instructions.
What's inside
The corpus features over 140,000 natural language math problems supplemented with instructions and working Python code. The dataset from the AllenAI institute is split into several parts to test generalization ability: Līla-IID, Līla-OOD, and Līla-Robust (each with train, dev, and test splits).
What you can do with it
- Training language models to solve math problems via Python code generation
- Evaluating model robustness on out-of-distribution (OOD and Robust) data
- Fine-tuning preparation of assistants for precise calculations and reasoning
- Size
- 100K–1M rows
- Downloads this month
- 7.1K
- Likes
- 34
Models trained on it
How to load it
from datasets import load_dataset
ds = load_dataset("allenai/lila")