# MathDial: 2,861 Teacher-Student Tutoring Dialogues on Math Word Problems (ETH Zurich)

## Facts

- Provider: Macina, Daheim, Chowdhury, Sinha, Kapur, Gurevych, Sachan (ETH Zurich, TU Darmstadt)
- License: CC-BY-4.0 (https://github.com/eth-nlped/mathdial#license)
- Size: 4 files
- Format: JSON Lines (in sampled files)
- Stored at: Hugging Face, https://huggingface.co/datasets/eth-nlped/mathdial
- Access: public, readable without an account
- Category: Mathematics
- Source: https://arxiv.org/abs/2305.14536
- Page: https://scigantic.com/archive/2fce1cf7-79fa-5b86-a5a6-ba2d4fa7857c
- Keywords: Mathematics, JSON Lines, Hugging Face

## About

MathDial is a dataset of one-to-one tutoring conversations grounded in grade-school math word problems from GSM8K. It was collected by pairing human teachers with a large language model that played a 7th-grade student holding a realistic misconception. There are 2,861 dialogues. Each records the problem text and correct answer, the student's incorrect solution and student profile, and the teacher's free-text description of the student's confusion. The teachers' own ratings are included too: whether the student solved the problem by the end (or the teacher had to reveal the answer), and how typical the confusion and interactions were on a 1 to 5 scale. Education researchers and learning scientists use it to study pedagogy in dialogue, for example when tutors scaffold and when they give away answers, and to train and evaluate tutoring models. Load it with Hugging Face datasets. MathDial is licensed CC BY 4.0, and the GSM8K problems are MIT. Cite Macina et al., MathDial, Findings of EMNLP 2023.

## Load the data

```python
from datasets import load_dataset
ds = load_dataset("eth-nlped/mathdial")
print(ds)
```

## Data structure

File types in sampled files: JSON Lines

Example file: `test.jsonl`

## Open it

- In a hosted notebook with the data mounted: https://scigantic.com/archive/2fce1cf7-79fa-5b86-a5a6-ba2d4fa7857c
- Full record as JSON (schema card included): https://api.scigantic.com/api/archives/2fce1cf7-79fa-5b86-a5a6-ba2d4fa7857c
- Over MCP: `get_schema_card` with id `2fce1cf7-79fa-5b86-a5a6-ba2d4fa7857c` at https://api.scigantic.com/mcp

## Related topics

- [JSON Lines datasets](https://scigantic.com/topics/json-lines)
- [Mathematics datasets](https://scigantic.com/topics/mathematics)
