|
Download readme.md from huggenbro/math: direct link, hf CLI and curl.
- Browser
- Download file 2.16 kB
-
https://huggingface.co/datasets/huggenbro/math/resolve/main/readme.md
- Command line
-
hf download hf://datasets/huggenbro/math/readme.md
-
curl -L -o readme.md https://huggingface.co/datasets/huggenbro/math/resolve/main/readme.md
2.16 kB
metadata
license: mit
language:
- en
tags:
- math
- arithmetic
- synthetic
- reasoning
size_categories:
- 10M<n<100M
task_categories:
- question-answering
- text-generation
pretty_name: Math Reasoning Dataset
Math Reasoning Dataset
10 миллионов синтетических математических примеров с пошаговыми объяснениями для обучения моделей математическому рассуждению.
Структура
Каждый пример содержит 4 поля:
category— тип задачи (46 категорий)input— входное выражение или вопросoutput— правильный ответreason— пошаговое объяснение решения
Категории
Базовая арифметика
- single-digit-add, zero-add, doubles, near-doubles, make-ten
- teen-add, two-digit-add, three-digit-add
- compensation, mixed-add
Вычитание
- subtraction-single
Умножение и деление
- multiplication-tables, division-simple
- square-numbers, cube-numbers, exponent-small
- sqrt-perfect
Текстовые задачи
- word-add
Теория чисел
- even-odd, prime-check, factor-pairs
- gcd-lcm, modulo-operation
- comparison, place-value
Продвинутые операции
- order-of-operations, multi-step-calc, parentheses-calc
- negative-numbers, absolute-value
Дроби и проценты
- fractions-simple, percentage-basic, ratio-simplify
- average-calc, probability-basic
Последовательности и округление
- sequence-next, rounding
Геометрия
- geometry-basic, area-circle, perimeter-shapes, volume-basic
Системы счисления
- roman-numerals, binary-decimal
Практические
- time-addition, money-add
Использование
from datasets import load_dataset
ds = load_dataset("huggenbro/math")
print(ds["train"][0])
# {'category': 'modulo-operation', 'input': '39 mod 4', 'output': '3', 'reason': 'remainder of 39/4'}