Datasets:
Publish math-work-time (mirror of Kaggle soniciumquantumlab/math-work-time)
Browse filesFiles changed (3)
- README.mdAdded+186
- math_work_time.csv.gzAdded+3
- math_work_time.jsonl.gzAdded+3
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186---license: cc-by-nc-sa-4.0language:- enpretty_name: "Math Reasoning: Work & Time Problems"task_categories:- question-answering- text-generationtags:- synthetic- sonicium-quantum-lab- education- nlp- text-generation- question-answering- mathematics- math- reasoning- chain-of-thought- llm-fine-tuningconfigs:- config_name: default data_files: - split: train path: "math_work_time.jsonl.gz"---
# Math Reasoning: Work & Time Problems
> **Hugging Face mirror** of the Kaggle dataset [soniciumquantumlab/math-work-time](https://www.kaggle.com/datasets/soniciumquantumlab/math-work-time), created by **Hussain Billah** ([ORCID 0009-0009-5686-619X](https://orcid.org/0009-0009-5686-619X)) and published by **Sonicium Quantum Lab Ltd.**> Data files here are gzip-compressed copies of the original files (`math_work_time.csv.gz`, `math_work_time.jsonl.gz`) and load directly with the `datasets` library:>> ```python> from datasets import load_dataset> ds = load_dataset("SoniciumQuantumLab/math-work-time")> ```
77K step-by-step work-rate (work and time) problems with answers for LLM SFT.
Created by **Hussain Billah** ([ORCID 0009-0009-5686-619X](https://orcid.org/0009-0009-5686-619X)) · Published by **Sonicium Quantum Lab Ltd.** · Series DOI: [10.5281/zenodo.24355105](https://doi.org/10.5281/zenodo.24355105) · Series: **Sonicium Math Reasoning** · Generator `2.1.0` · License **CC BY-NC-SA 4.0**
> **Custom datasets & commercial licensing:** Need a larger volume, a new domain, a custom schema or file format, or a commercial / enterprise license? Sonicium Quantum Lab Ltd. builds custom datasets on request.>> Email: **research@sonicium.ltd** · **collaboration@sonicium.ltd** · Website: **https://soniciumquantumlab.com**
---
## 1. Overview
This dataset contains **76,922 synthetic work-rate (work and time) problems**, each with a **step-by-step chain-of-thought solution** and a **final answer**, formatted for training and evaluating language models on mathematical reasoning.
Every record is a ready-to-use supervised fine-tuning (SFT) example: a system prompt (math tutor), the question, the worked solution and the final answer, plus metadata for difficulty, topic, split and reproducibility. Answers are computed programmatically by the generator, and every row carries `verified = true`.
The dataset is one topic of the **Sonicium Math Reasoning** series (49 topics from arithmetic to statistics, about 77K records each), so you can train on one skill or combine several topics into a broader math curriculum.
## 2. Highlights
| Item | Value ||---|---|| Records | 76,922 || Topic | Work & Time Problems (`word_problems_rates`) || Difficulty | medium (all records) || Splits (train / validation / test) | 69,106 / 3,964 / 3,852 || Reasoning steps per record | 3 || Tokens per record (approx.) | 86–92 (mean 90.2) || Files | `math_work_time.csv` (41.2 MB, 17 columns) · `math_work_time.jsonl` (61.8 MB, same records) || Language | English || Generator version | `2.1.0` |
## 3. Example record
| Field | Value ||---|---|| `question` | A can finish a job in 20 days and B can finish the same job in 18 days. Working together, how many days will they take? || `chain_of_thought` | A's rate = 1/20/day, B's rate = 1/18/day. Combined rate = 1/20 + 1/18 = 19/180. Time together = 1 / 19/180 = 180/19 days = 9.47 days. || `final_answer` | 180/19 days (9.47) || `difficulty` / `topic_tag` | medium / word_problems_rates || `num_steps` / `token_estimate` | 3 / 92 |
## 4. Schema (math_work_time.csv)
| Column | Type | Description ||---|---|---|| `id` | string | Unique record ID: {category}_{8-digit index}. || `category` | string | Generator category; one value per dataset (math_work_time). || `topic_tag` | string | Broad topic group used across the series (here: word_problems_rates). || `task_type` | string | Task label; always math_reasoning. || `difficulty` | string | Difficulty label assigned by the generator (here: medium). || `system_prompt` | string | System prompt for the assistant (math-tutor instruction). || `question` | string | The math problem in natural language (user turn). || `chain_of_thought` | string | Worked, step-by-step solution that leads to the final answer. || `final_answer` | string | Final answer (number, fraction, expression or value with units). || `num_steps` | integer | Number of reasoning steps in the solution, as counted by the generator. || `language` | string | Language code of the record (en). || `dataset_version` | string | Generator / schema version (2.1.0). || `split` | string | Suggested split: train (~90%), validation (~5%) or test (~5%). || `verified` | boolean | True when the generator answer check passed (true for every row). || `token_estimate` | integer | Approximate token length of the full record. || `created_at` | datetime | Generation timestamp (ISO 8601). || `seed` | string | Deterministic generation seed: {date}:{category}:{index}. |
## 5. Quick start
```pythonimport pandas as pd
df = pd.read_csv("/kaggle/input/math-work-time/math_work_time.csv")print(df.shape, df["split"].value_counts().to_dict())
# Convert one row into chat messages for supervised fine-tuning (SFT)def to_messages(r): return [ {"role": "system", "content": r.system_prompt}, {"role": "user", "content": r.question}, {"role": "assistant", "content": f"{r.chain_of_thought}\n\nFinal answer: {r.final_answer}"}, ]
train = df[df.split == "train"]print(to_messages(train.iloc[0]))```
The same records are available as JSON Lines (`math_work_time.jsonl`) for streaming pipelines:
```pythonimport jsonwith open("/kaggle/input/math-work-time/math_work_time.jsonl") as f: first = json.loads(next(f))```
## 6. Suggested uses
- Supervised fine-tuning of small and large language models for **step-by-step math reasoning**- Teaching models a consistent **solution format** (worked steps, then a clearly stated final answer)- Building **evaluation sets** with exact final answers (use the `test` split)- Curriculum learning: mix topics and difficulty levels from the Sonicium Math Reasoning series- Tutoring and education apps that need worked examples for work & time problems
## 7. Generation and quality notes
- **Synthetic and template-based.** Problems are instantiated from parameterized templates with random values, so the wording is consistent within the dataset. Combine several topics of the series, or paraphrase questions, if you need more linguistic variety.- **Exact answers.** The generator computes each answer programmatically; numeric answers are rounded as stated in the question or solution.- **Splits.** The `split` column gives a ready-made train / validation / test partition (about 90 / 5 / 5 %).- **Reproducible.** Each record stores its generator `seed`; IDs follow `{category}_{8-digit index}`.- **No personal data.** Names that appear in word problems are generic and fictional.
## 8. More from Sonicium Quantum Lab Ltd.
Browse the full **Sonicium Math Reasoning** series (49 topics) and the **Sonicium Function-Calling** series (50 service domains) at https://www.kaggle.com/soniciumquantumlab/datasets
## 9. License
Released under **Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International (CC BY-NC-SA 4.0)** — https://creativecommons.org/licenses/by-nc-sa/4.0/
Free for research, education and other non-commercial use with attribution. For **commercial licensing**, contact Sonicium Quantum Lab Ltd. (see below).
## 10. Citation
```bibtex@misc{sonicium_math_work_time_2026, title = {Math Reasoning: Work & Time Problems}, author = {Billah, Hussain and {Sonicium Quantum Lab Ltd.}}, year = {2026}, publisher = {Kaggle}, howpublished = {\url{https://www.kaggle.com/datasets/soniciumquantumlab/math-work-time}}}```
## 11. Contact & Custom Data Requests
For **custom datasets** (larger scale, new domains, custom schema or format) or a **commercial license**, email us with your use case, the volume you need and your preferred format.
**Sonicium Quantum Lab Ltd.**
- Primary contact: **Nazmul Basher**, Head of Marketing & Communications- Chairman and Chief Scientist: **Hussain Billah**- Email: research@sonicium.ltd · collaboration@sonicium.ltd- Website: https://soniciumquantumlab.com- Bangladesh office: 5th Floor, Opolok, 225 Senpara Parbata Lane, Mirpur-10, Dhaka-1216, Bangladesh- US office: 1270 3rd St, Brooklyn, New York 11219, USA
## Files
- `math_work_time.csv` — 76,922 records, 17 columns (CSV with header).- `math_work_time.jsonl` — the same records in JSON Lines format (one JSON object per line).- `README.md` — this documentation.123version https://git-lfs.github.com/spec/v1oid sha256:b76a88d46d891e0dc2dbdb4dd32397ae16e367825676c45d842c6a2696b961absize 3034376123version https://git-lfs.github.com/spec/v1oid sha256:4016d2acaee6e3cf0386a692fcf33ef374ec76b2315422168e95e40dd44bb72asize 3491372README.mdAdded+186
math_work_time.csv.gzAdded+3
math_work_time.jsonl.gzAdded+3