Datasets:
Upload folder using huggingface_hub
Browse files- .gitattributes +7 -60
- README.md +190 -0
- data/full/test-00000-of-00001.parquet +3 -0
- data/full/train-00000-of-00001.parquet +3 -0
- data/qa/test-00000-of-00001.parquet +3 -0
- data/qa/train-00000-of-00001.parquet +3 -0
- skrypnyk_math_dataset.jsonl +0 -0
.gitattributes
CHANGED
|
@@ -1,60 +1,7 @@
|
|
| 1 |
-
*.
|
| 2 |
-
*.
|
| 3 |
-
*.
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
*.gz filter=lfs diff=lfs merge=lfs -text
|
| 9 |
-
*.h5 filter=lfs diff=lfs merge=lfs -text
|
| 10 |
-
*.joblib filter=lfs diff=lfs merge=lfs -text
|
| 11 |
-
*.lfs.* filter=lfs diff=lfs merge=lfs -text
|
| 12 |
-
*.lz4 filter=lfs diff=lfs merge=lfs -text
|
| 13 |
-
*.mds filter=lfs diff=lfs merge=lfs -text
|
| 14 |
-
*.mlmodel filter=lfs diff=lfs merge=lfs -text
|
| 15 |
-
*.model filter=lfs diff=lfs merge=lfs -text
|
| 16 |
-
*.msgpack filter=lfs diff=lfs merge=lfs -text
|
| 17 |
-
*.npy filter=lfs diff=lfs merge=lfs -text
|
| 18 |
-
*.npz filter=lfs diff=lfs merge=lfs -text
|
| 19 |
-
*.onnx filter=lfs diff=lfs merge=lfs -text
|
| 20 |
-
*.ot filter=lfs diff=lfs merge=lfs -text
|
| 21 |
-
*.parquet filter=lfs diff=lfs merge=lfs -text
|
| 22 |
-
*.pb filter=lfs diff=lfs merge=lfs -text
|
| 23 |
-
*.pickle filter=lfs diff=lfs merge=lfs -text
|
| 24 |
-
*.pkl filter=lfs diff=lfs merge=lfs -text
|
| 25 |
-
*.pt filter=lfs diff=lfs merge=lfs -text
|
| 26 |
-
*.pth filter=lfs diff=lfs merge=lfs -text
|
| 27 |
-
*.rar filter=lfs diff=lfs merge=lfs -text
|
| 28 |
-
*.safetensors filter=lfs diff=lfs merge=lfs -text
|
| 29 |
-
saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
| 30 |
-
*.tar.* filter=lfs diff=lfs merge=lfs -text
|
| 31 |
-
*.tar filter=lfs diff=lfs merge=lfs -text
|
| 32 |
-
*.tflite filter=lfs diff=lfs merge=lfs -text
|
| 33 |
-
*.tgz filter=lfs diff=lfs merge=lfs -text
|
| 34 |
-
*.wasm filter=lfs diff=lfs merge=lfs -text
|
| 35 |
-
*.xz filter=lfs diff=lfs merge=lfs -text
|
| 36 |
-
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 37 |
-
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 38 |
-
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 39 |
-
# Audio files - uncompressed
|
| 40 |
-
*.pcm filter=lfs diff=lfs merge=lfs -text
|
| 41 |
-
*.sam filter=lfs diff=lfs merge=lfs -text
|
| 42 |
-
*.raw filter=lfs diff=lfs merge=lfs -text
|
| 43 |
-
# Audio files - compressed
|
| 44 |
-
*.aac filter=lfs diff=lfs merge=lfs -text
|
| 45 |
-
*.flac filter=lfs diff=lfs merge=lfs -text
|
| 46 |
-
*.mp3 filter=lfs diff=lfs merge=lfs -text
|
| 47 |
-
*.ogg filter=lfs diff=lfs merge=lfs -text
|
| 48 |
-
*.wav filter=lfs diff=lfs merge=lfs -text
|
| 49 |
-
# Image files - uncompressed
|
| 50 |
-
*.bmp filter=lfs diff=lfs merge=lfs -text
|
| 51 |
-
*.gif filter=lfs diff=lfs merge=lfs -text
|
| 52 |
-
*.png filter=lfs diff=lfs merge=lfs -text
|
| 53 |
-
*.tiff filter=lfs diff=lfs merge=lfs -text
|
| 54 |
-
# Image files - compressed
|
| 55 |
-
*.jpg filter=lfs diff=lfs merge=lfs -text
|
| 56 |
-
*.jpeg filter=lfs diff=lfs merge=lfs -text
|
| 57 |
-
*.webp filter=lfs diff=lfs merge=lfs -text
|
| 58 |
-
# Video files - compressed
|
| 59 |
-
*.mp4 filter=lfs diff=lfs merge=lfs -text
|
| 60 |
-
*.webm filter=lfs diff=lfs merge=lfs -text
|
|
|
|
| 1 |
+
*.parquet binary
|
| 2 |
+
*.jsonl text eol=lf
|
| 3 |
+
*.md text eol=lf
|
| 4 |
+
data/full/test-00000-of-00001.parquet filter=lfs diff=lfs merge=lfs -text
|
| 5 |
+
data/full/train-00000-of-00001.parquet filter=lfs diff=lfs merge=lfs -text
|
| 6 |
+
data/qa/test-00000-of-00001.parquet filter=lfs diff=lfs merge=lfs -text
|
| 7 |
+
data/qa/train-00000-of-00001.parquet filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
README.md
ADDED
|
@@ -0,0 +1,190 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: other
|
| 3 |
+
license_name: sklyanov-textbook-derived
|
| 4 |
+
language:
|
| 5 |
+
- en
|
| 6 |
+
tags:
|
| 7 |
+
- mathematics
|
| 8 |
+
- math
|
| 9 |
+
- algebra
|
| 10 |
+
- trigonometry
|
| 11 |
+
- calculus
|
| 12 |
+
- problem-solving
|
| 13 |
+
- worked-solutions
|
| 14 |
+
- latex
|
| 15 |
+
- textbook
|
| 16 |
+
- english-translation
|
| 17 |
+
pretty_name: Sklyanov Math Problems (English Q&A)
|
| 18 |
+
size_categories:
|
| 19 |
+
- 1K<n<10K
|
| 20 |
+
configs:
|
| 21 |
+
- config_name: full
|
| 22 |
+
data_files:
|
| 23 |
+
- split: train
|
| 24 |
+
path: data/full/train-*.parquet
|
| 25 |
+
- split: test
|
| 26 |
+
path: data/full/test-*.parquet
|
| 27 |
+
- config_name: qa
|
| 28 |
+
data_files:
|
| 29 |
+
- split: train
|
| 30 |
+
path: data/qa/train-*.parquet
|
| 31 |
+
- split: test
|
| 32 |
+
path: data/qa/test-*.parquet
|
| 33 |
+
dataset_info:
|
| 34 |
+
- config_name: full
|
| 35 |
+
features:
|
| 36 |
+
- name: id
|
| 37 |
+
dtype: string
|
| 38 |
+
- name: chapter
|
| 39 |
+
dtype: int64
|
| 40 |
+
- name: problem_number
|
| 41 |
+
dtype: int64
|
| 42 |
+
- name: group
|
| 43 |
+
dtype: string
|
| 44 |
+
- name: marker
|
| 45 |
+
dtype: string
|
| 46 |
+
- name: question_en
|
| 47 |
+
dtype: string
|
| 48 |
+
- name: answer_en
|
| 49 |
+
dtype: string
|
| 50 |
+
- name: final_answer_en
|
| 51 |
+
dtype: string
|
| 52 |
+
- name: has_question
|
| 53 |
+
dtype: bool
|
| 54 |
+
- name: has_answer
|
| 55 |
+
dtype: bool
|
| 56 |
+
- name: source_page_problem
|
| 57 |
+
dtype: int32
|
| 58 |
+
- name: source_page_solution
|
| 59 |
+
dtype: int32
|
| 60 |
+
splits:
|
| 61 |
+
- name: train
|
| 62 |
+
num_examples: 3440
|
| 63 |
+
- name: test
|
| 64 |
+
num_examples: 180
|
| 65 |
+
- config_name: qa
|
| 66 |
+
features:
|
| 67 |
+
- name: id
|
| 68 |
+
dtype: string
|
| 69 |
+
- name: chapter
|
| 70 |
+
dtype: int64
|
| 71 |
+
- name: group
|
| 72 |
+
dtype: string
|
| 73 |
+
- name: question_en
|
| 74 |
+
dtype: string
|
| 75 |
+
- name: final_answer_en
|
| 76 |
+
dtype: string
|
| 77 |
+
- name: answer_en
|
| 78 |
+
dtype: string
|
| 79 |
+
splits:
|
| 80 |
+
- name: train
|
| 81 |
+
num_examples: 3156
|
| 82 |
+
- name: test
|
| 83 |
+
num_examples: 155
|
| 84 |
+
---
|
| 85 |
+
|
| 86 |
+
# Sklyanov Math Problems — English Q&A Dataset
|
| 87 |
+
|
| 88 |
+
**3,620 problems** from M. I. Sklyanov's classic Russian entrance-exam problem book
|
| 89 |
+
*Сборник задач по математике для поступающих в втузы (с решениями). Кн. 1. Алгебра*
|
| 90 |
+
(*A Collection of Problems in Mathematics for Applicants to Higher Education (with Solutions)*,
|
| 91 |
+
Book 1: Algebra). Every problem statement and every printed solution has been transcribed from
|
| 92 |
+
the scanned pages and translated from Russian into English, with all mathematics rendered in
|
| 93 |
+
LaTeX.
|
| 94 |
+
|
| 95 |
+
## What is in it
|
| 96 |
+
|
| 97 |
+
- **3,620 problems** across 11 chapters (algebraic expressions, algebraic equations,
|
| 98 |
+
word problems, trigonometric identities, trigonometric equations, progressions, logarithms,
|
| 99 |
+
inequalities, combinatorics, extra algebra, beginnings of analysis).
|
| 100 |
+
- **3,311 complete Q&A pairs** — the book prints worked solutions for only some problems,
|
| 101 |
+
so the remaining rows carry the statement alone (`has_answer: false`).
|
| 102 |
+
- Full worked solutions in `answer_en`; short final results in `final_answer_en`.
|
| 103 |
+
- Difficulty `group` (A/B/C) and the book's own marker glyph (`□`, `■`) are preserved.
|
| 104 |
+
|
| 105 |
+
## Configs
|
| 106 |
+
|
| 107 |
+
| Config | Rows | Contents |
|
| 108 |
+
|---|---|---|
|
| 109 |
+
| `full` | 3,620 | Every problem: statement, solution, final answer, source pages |
|
| 110 |
+
| `qa` | 3,311 | Only complete pairs, with a compact schema for QA / RAG / SFT |
|
| 111 |
+
|
| 112 |
+
Splits are a deterministic 95/5 train/test split, stratified by chapter (seed 42), and a row
|
| 113 |
+
keeps the same split in both configs.
|
| 114 |
+
|
| 115 |
+
## Load it
|
| 116 |
+
|
| 117 |
+
```python
|
| 118 |
+
from datasets import load_dataset
|
| 119 |
+
|
| 120 |
+
full = load_dataset("ORCHORDS/dgn-math-problems", "full")
|
| 121 |
+
print(full["train"][0])
|
| 122 |
+
|
| 123 |
+
qa = load_dataset("ORCHORDS/dgn-math-problems", "qa")
|
| 124 |
+
```
|
| 125 |
+
|
| 126 |
+
Or straight from the files:
|
| 127 |
+
|
| 128 |
+
```python
|
| 129 |
+
from datasets import load_dataset
|
| 130 |
+
ds = load_dataset("parquet", data_files={"train": "data/full/train-*.parquet"})
|
| 131 |
+
```
|
| 132 |
+
|
| 133 |
+
## Schema (`full` config)
|
| 134 |
+
|
| 135 |
+
| Column | Type | Description |
|
| 136 |
+
|---|---|---|
|
| 137 |
+
| `id` | string | Printed problem number, e.g. `3.014` |
|
| 138 |
+
| `chapter` | int | Chapter 1–11 |
|
| 139 |
+
| `problem_number` | int | Position within the chapter |
|
| 140 |
+
| `group` | string | Difficulty group as printed: `A`, `B`, `C` or `""` |
|
| 141 |
+
| `marker` | string | Difficulty marker glyph: `□`, `■` |
|
| 142 |
+
| `question_en` | string | English problem statement, mathematics in LaTeX |
|
| 143 |
+
| `answer_en` | string | English worked solution / answer as printed |
|
| 144 |
+
| `final_answer_en` | string | Short final result (may be empty) |
|
| 145 |
+
| `has_question` | bool | Whether a statement was found |
|
| 146 |
+
| `has_answer` | bool | Whether a solution was found |
|
| 147 |
+
| `source_page_problem` | int | PDF page of the statement |
|
| 148 |
+
| `source_page_solution` | int | PDF page of the solution |
|
| 149 |
+
|
| 150 |
+
The `qa` config has: `id`, `chapter`, `group`, `question_en`, `final_answer_en`, `answer_en`.
|
| 151 |
+
|
| 152 |
+
## Sample
|
| 153 |
+
|
| 154 |
+
```json
|
| 155 |
+
{
|
| 156 |
+
"id": "3.001",
|
| 157 |
+
"question_en": "Of four given numbers, the first three are to one another as $1/5:1/3:1/20$, and the fourth is $15\\%$ of the second number. Find these numbers if the second number is $8$ greater than the sum of the remaining numbers.",
|
| 158 |
+
"answer_en": "The required numbers are $k/5$; $k/3$; $k/20$; $0.15\\cdot k/3=k/20$. By the condition, $\\frac{k}{3}-8=\\frac{k}{5}+\\frac{k}{20}+\\frac{k}{20}$, whence $k=240$.",
|
| 159 |
+
"final_answer_en": "$48;\\ 80;\\ 12;\\ 12$"
|
| 160 |
+
}
|
| 161 |
+
```
|
| 162 |
+
|
| 163 |
+
## License & rights
|
| 164 |
+
|
| 165 |
+
This dataset is a derived work: every row is an English translation and LaTeX transcription of
|
| 166 |
+
problems and solutions from M. I. Sklyanov's textbook *Сборник задач по математике для поступающих
|
| 167 |
+
в втузы (с решениями). Кн. 1. Алгебра*. Copyright in the original text, problems and solutions
|
| 168 |
+
belongs to its publisher and author. This repository is published for educational and research use;
|
| 169 |
+
please check the rights in the original edition before redistributing it commercially.
|
| 170 |
+
|
| 171 |
+
## Provenance & method
|
| 172 |
+
|
| 173 |
+
The source PDF is a 527-page image-only scan with no text layer. All pages were rasterised at
|
| 174 |
+
300 dpi and transcribed with a vision language model (MiniMax-M3) into structured JSON with
|
| 175 |
+
LaTeX mathematics and English prose; 527/527 pages succeeded. A repair pass recovered pages
|
| 176 |
+
whose JSON contained unescaped LaTeX backslashes. Problem ids were cross-checked against an
|
| 177 |
+
independent Tesseract OCR pass (a strict subset, no missed ids) and every chapter's id range is
|
| 178 |
+
contiguous, e.g. `1.001`–`1.360`, `4.001`–`4.500`, `11.001`–`11.275`.
|
| 179 |
+
|
| 180 |
+
Russian notation was normalised on the way out (`\operatorname{tg}` → `\tan`,
|
| 181 |
+
`\operatorname{ctg}` → `\cot`).
|
| 182 |
+
|
| 183 |
+
## Known caveats
|
| 184 |
+
|
| 185 |
+
- Mathematics comes from a vision transcription of a scan, not from a text layer, so isolated
|
| 186 |
+
symbols may occasionally differ from the print.
|
| 187 |
+
- `final_answer_en` is empty for some rows where the book states the result only inside the
|
| 188 |
+
worked solution — use `answer_en` there.
|
| 189 |
+
- Solutions that continue over a page break are concatenated into one entry.
|
| 190 |
+
- Rows whose solutions the book never prints are marked `has_answer: false` rather than dropped.
|
data/full/test-00000-of-00001.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:61716e2e8fe42dc703861b496be2730ace73e44abfc23ddf391981949eb1f003
|
| 3 |
+
size 35999
|
data/full/train-00000-of-00001.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a58a561c882b9c01cb014017ed9c432f69ed4cdfd0d11bcd72c19490a411e442
|
| 3 |
+
size 548455
|
data/qa/test-00000-of-00001.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0e0ee1e8e08e30eef5755c515d72f367d3e87e21c96e919416e9e8765b7e63c1
|
| 3 |
+
size 31499
|
data/qa/train-00000-of-00001.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:dfcc8b8d2a1fd79c522003cd47d178e83405da3198021658c27630dd9f50b332
|
| 3 |
+
size 520963
|
skrypnyk_math_dataset.jsonl
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|