lewtun HF Staff commited on
Commit
58cd37c
·
verified ·
1 Parent(s): 6ebb4cc

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +87 -0
README.md CHANGED
@@ -33,3 +33,90 @@ configs:
33
  - split: train
34
  path: data/train-*
35
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
33
  - split: train
34
  path: data/train-*
35
  ---
36
+
37
+ # AoPS: Art of Problem Solving Competition Mathematics
38
+
39
+ ## Dataset Description
40
+
41
+ This dataset is a collection of **80,661** competition mathematics problems and solutions obtained from the [Art of Problem Solving (AoPS)](https://artofproblemsolving.com/) community wiki and forums. It covers a wide range of mathematical contests and olympiads, including problems from events such as AIME, BAMO, IMO, and various national and memorial competitions.
42
+
43
+ The dataset was curated by [AI-MO (Project Numina)](https://huggingface.co/AI-MO), an initiative focused on building AI systems capable of mathematical reasoning at the olympiad level.
44
+
45
+ ## Dataset Structure
46
+
47
+ ### Fields
48
+
49
+ | Column | Type | Description |
50
+ |---|---|---|
51
+ | `problem` | `string` | The mathematical problem statement, typically formatted in LaTeX. |
52
+ | `solution` | `string` | A solution or proof for the problem. May be empty for some entries. |
53
+ | `candidates` | `list[string]` | Alternative or candidate solutions contributed by the community. |
54
+ | `tags` | `list[string]` | Metadata tags indicating the origin, contest name, and year (e.g., `"origin:aops"`, `"2022 AIME Problems"`). |
55
+ | `metadata` | `dict` | Additional metadata about the problem (see below). |
56
+
57
+ ### Metadata Fields
58
+
59
+ | Field | Type | Description |
60
+ |---|---|---|
61
+ | `answer_score` | `int64` | Community score or rating of the answer. |
62
+ | `boxed` | `bool` | Whether the answer contains a boxed final result (e.g., `\boxed{42}`). |
63
+ | `end_of_proof` | `bool` | Whether the solution includes a complete proof ending. |
64
+ | `n_reply` | `int64` | Number of community replies or comments on the problem thread. |
65
+ | `path` | `string` | Source path in the AoPS collection (e.g., `Contest Collections/2022 Contests/...`). |
66
+
67
+ ### Splits
68
+
69
+ | Split | Examples |
70
+ |---|---|
71
+ | `train` | 80,661 |
72
+
73
+ ## Example
74
+
75
+ ```python
76
+ {
77
+ "problem": "Let $ABC$ be an acute triangle with altitude $AD$ ($D \\in BC$). The line through $C$ parallel to $AB$ meets the perpendicular bisector of $AD$ at $G$. Show that $AC = BC$ if and only if $\\angle AGC = 90°$.",
78
+ "solution": "...",
79
+ "candidates": ["..."],
80
+ "tags": ["origin:aops", "2022 Contests", "2022 3rd Memorial \"Aleksandar Blazhevski-Cane\""],
81
+ "metadata": {
82
+ "answer_score": 130,
83
+ "boxed": false,
84
+ "end_of_proof": true,
85
+ "n_reply": 3,
86
+ "path": "Contest Collections/2022 Contests/2022 3rd Memorial .../2759376.json"
87
+ }
88
+ }
89
+ ```
90
+
91
+ ## Topic Coverage
92
+
93
+ Problems span a broad range of competition mathematics topics, including:
94
+
95
+ - **Geometry** -- triangle properties, cyclic quadrilaterals, angle chasing
96
+ - **Number Theory** -- divisibility, modular arithmetic, Diophantine equations
97
+ - **Algebra** -- inequalities, polynomials, functional equations
98
+ - **Combinatorics** -- counting, graph theory, board coloring problems
99
+
100
+ ## Usage
101
+
102
+ ```python
103
+ from datasets import load_dataset
104
+
105
+ dataset = load_dataset("AI-MO/aops")
106
+
107
+ # Access a problem
108
+ print(dataset["train"][0]["problem"])
109
+ print(dataset["train"][0]["solution"])
110
+ ```
111
+
112
+ ## Intended Use
113
+
114
+ - Training and evaluating mathematical reasoning models
115
+ - Benchmarking LLMs on competition-level mathematics
116
+ - Studying solution quality and problem difficulty distributions
117
+ - Building retrieval-augmented generation (RAG) systems for math tutoring
118
+
119
+ ## Source
120
+
121
+ All problems and solutions originate from the [Art of Problem Solving](https://artofproblemsolving.com/) community.
122
+