multi-math / README.md
dbaiamonte's picture
Update README.md
2717785 verified
|
Raw History Blame Contribute Delete
6.37 kB
---
license: odc-by
dataset_info:
- config_name: de
features:
- name: ID
dtype: string
- name: Problem
dtype: string
- name: Solution
dtype: string
- name: Language
dtype: string
- name: Difficulty
dtype: string
splits:
- name: train
num_bytes: 5914786
num_examples: 6911
download_size: 3138848
dataset_size: 5914786
- config_name: en
features:
- name: ID
dtype: string
- name: Problem
dtype: string
- name: Solution
dtype: string
- name: Language
dtype: string
- name: Difficulty
dtype: string
splits:
- name: train
num_bytes: 50726574
num_examples: 53318
download_size: 25034452
dataset_size: 50726574
- config_name: es
features:
- name: ID
dtype: string
- name: Problem
dtype: string
- name: Solution
dtype: string
- name: Language
dtype: string
- name: Difficulty
dtype: string
splits:
- name: train
num_bytes: 1037424
num_examples: 1468
download_size: 501635
dataset_size: 1037424
- config_name: fr
features:
- name: ID
dtype: string
- name: Problem
dtype: string
- name: Solution
dtype: string
- name: Language
dtype: string
- name: Difficulty
dtype: string
splits:
- name: train
num_bytes: 6528461
num_examples: 8618
download_size: 3417528
dataset_size: 6528461
- config_name: it
features:
- name: ID
dtype: string
- name: Problem
dtype: string
- name: Solution
dtype: string
- name: Language
dtype: string
- name: Difficulty
dtype: string
splits:
- name: train
num_bytes: 10155350
num_examples: 16679
download_size: 5150486
dataset_size: 10155350
configs:
- config_name: de
data_files:
- split: train
path: de/train-*
- config_name: en
default: true
data_files:
- split: train
path: en/train-*
- config_name: es
data_files:
- split: train
path: es/train-*
- config_name: fr
data_files:
- split: train
path: fr/train-*
- config_name: it
data_files:
- split: train
path: it/train-*
---
# Multi-Math
**Multi-Math** is a multilingual collection of synthetic math problems with worked solutions, released in English, Italian, French, German and Spanish. It contains about **87,000 problem–solution pairs** in total, generated from a curated set of seed problems collected from public web sources.
The dataset is a supervised fine-tuning (SFT) resource for mathematical reasoning: each sample pairs a problem statement with its complete solution, both written in LaTeX, and is annotated with its language and difficulty level.
## Source data
Seed problems were collected from public web sources and cover a wide range of mathematical topics. The documents were normalized to PDF, converted to one image per page and then cleaned manually: overly long, chaotic or questionable material was removed or split, and every problem was paired with its corresponding solution.
Because the licensing of the collected material is heterogeneous and in many cases unknown or restrictive, the seeds are not redistributed. The published dataset contains only newly generated problems and solutions.
## How the dataset was built
1. **Seed extraction:** `Qwen3-VL-235B-A22B-Instruct` was used to extract problem–solution pairs from the page images as structured output with LaTeX text. When a problem had more than one solution, a separate pair was created for each solution, and every pair was annotated with whether its solution depends on a figure.
2. **Difficulty assessment:** each pair was labelled `Easy`, `Medium` or `Hard`, from elementary-school level up to university level. The `Hard` pairs were discarded, since the generative models could not produce coherent problems and solutions at that level of complexity.
3. **Generation:** the final problems were generated with `Qwen3.5-122B-A10B` with thinking enabled, producing three new problems for each seed. Problems that require an image and problems of `Hard` difficulty were discarded.
## Dataset structure
### Configurations
| Config | Language | Entries | Share |
| --------------- | -------- | ---------------- | -------------- |
| `en` | English | 53,318 | 61.3% |
| `it` | Italian | 16,679 | 19.2% |
| `fr` | French | 8,618 | 9.9% |
| `de` | German | 6,911 | 7.9% |
| `es` | Spanish | 1,468 | 1.7% |
| **Total** | | **86,994** | **100%** |
The configurations are not balanced across languages: the number of samples reflects the number of seed problems available for each language.
### Fields
| Field | Description |
| -------------- | ---------------------------------------------------------------- |
| `ID` | Unique identifier of the sample |
| `Problem` | Problem statement, written in LaTeX |
| `Solution` | Complete solution of the problem, written in LaTeX |
| `Language` | Language of the sample: `en`, `de`, `es`, `fr` or `it` |
| `Difficulty` | Difficulty level of the problem: `Easy` or `Medium` |
## Usage
```python
from datasets import load_dataset
ds = load_dataset("VillanovaAI/multi-math", "en", split="train")
sample = ds[0]
print(sample["Language"], sample["Difficulty"])
print(sample["Problem"])
print(sample["Solution"])
```
## Limitations
- The problems and solutions are model-generated and may contain incorrect statements, wrong computations or inconsistent LaTeX; the solutions should be verified before being used for training or evaluation.
- Only `Easy` and `Medium` problems are included, so advanced, competition-level and university-level mathematics is not represented.
- The dataset contains no diagram-based or geometry-from-figure tasks.
- The language configurations are unbalanced, with Spanish being much smaller than the others.
## Licensing and attribution
The released dataset is distributed under **ODC-BY**. The seed problems were collected from public sources under heterogeneous and often unknown or restrictive licenses, so they are not redistributed and no reference to them is included in the published data.