Upload README.md with huggingface_hub
Browse files
README.md
CHANGED
|
@@ -1,30 +1,114 @@
|
|
| 1 |
---
|
| 2 |
-
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
num_bytes: 386692
|
| 17 |
-
num_examples: 1350
|
| 18 |
-
- name: test
|
| 19 |
-
num_bytes: 44273
|
| 20 |
-
num_examples: 150
|
| 21 |
-
download_size: 145789
|
| 22 |
-
dataset_size: 430965
|
| 23 |
-
configs:
|
| 24 |
-
- config_name: default
|
| 25 |
-
data_files:
|
| 26 |
-
- split: train
|
| 27 |
-
path: data/train-*
|
| 28 |
-
- split: test
|
| 29 |
-
path: data/test-*
|
| 30 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
+
license: cc0-1.0
|
| 3 |
+
language:
|
| 4 |
+
- en
|
| 5 |
+
tags:
|
| 6 |
+
- math
|
| 7 |
+
- reasoning
|
| 8 |
+
- unit-conversion
|
| 9 |
+
- synthetic
|
| 10 |
+
- chain-of-thought
|
| 11 |
+
size_categories:
|
| 12 |
+
- 1K<n<10K
|
| 13 |
+
task_categories:
|
| 14 |
+
- text-generation
|
| 15 |
+
- question-answering
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 16 |
---
|
| 17 |
+
|
| 18 |
+
# Unit Conversion Reasoning
|
| 19 |
+
|
| 20 |
+
A small, fully synthetic dataset of unit-conversion word problems with step-by-step
|
| 21 |
+
worked solutions, covering **length, weight, volume, temperature, and time**.
|
| 22 |
+
|
| 23 |
+
## Dataset Summary
|
| 24 |
+
|
| 25 |
+
Each example presents a unit-conversion problem (a direct conversion instruction,
|
| 26 |
+
a chained multi-step conversion, or a short word problem) along with a
|
| 27 |
+
step-by-step "reasoning" trace and a final "answer" string. The dataset was
|
| 28 |
+
generated programmatically from a fixed table of conversion factors (and the
|
| 29 |
+
standard Celsius/Fahrenheit/Kelvin formulas for temperature) — there is no
|
| 30 |
+
scraped or human-written content.
|
| 31 |
+
|
| 32 |
+
- **Total examples:** 1,500 (deduplicated)
|
| 33 |
+
- **Train / test split:** 90% / 10% (1,350 / 150)
|
| 34 |
+
- **Categories:** `length`, `weight`, `volume`, `temperature`, `time`
|
| 35 |
+
- **Difficulties:** `easy` (single-step), `medium` (chained, two-step), `hard` (word-problem phrasing)
|
| 36 |
+
|
| 37 |
+
## Schema
|
| 38 |
+
|
| 39 |
+
| Field | Type | Description |
|
| 40 |
+
|--------------|--------|--------------------------------------------------------------------------|
|
| 41 |
+
| `question` | string | The conversion problem, either a direct instruction or a word problem. |
|
| 42 |
+
| `answer` | string | The final numeric answer with its unit, e.g. `"29.199475 feet"`. |
|
| 43 |
+
| `reasoning` | string | A step-by-step worked solution explaining the conversion. |
|
| 44 |
+
| `category` | string | One of `length`, `weight`, `volume`, `temperature`, `time`. |
|
| 45 |
+
| `difficulty` | string | One of `easy`, `medium`, `hard`. |
|
| 46 |
+
|
| 47 |
+
### Example row
|
| 48 |
+
|
| 49 |
+
```json
|
| 50 |
+
{
|
| 51 |
+
"question": "Convert 8.9 meters to feet.",
|
| 52 |
+
"answer": "29.199475 feet",
|
| 53 |
+
"reasoning": "Step 1: 1 meter = 1 meter, and 1 foot = 0.3048 of the same base unit, so 1 meter = 3.28084 feet.\nStep 2: 8.9 meters x 3.28084 = 29.199475 feet.",
|
| 54 |
+
"category": "length",
|
| 55 |
+
"difficulty": "easy"
|
| 56 |
+
}
|
| 57 |
+
```
|
| 58 |
+
|
| 59 |
+
## Generation Method
|
| 60 |
+
|
| 61 |
+
The dataset is produced by `generate_dataset.py`, using fixed, standard conversion
|
| 62 |
+
factor tables for length, weight, volume, and time (each expressed relative to a
|
| 63 |
+
base unit — meter, gram, liter, second), and the standard linear/affine formulas
|
| 64 |
+
for Celsius/Fahrenheit/Kelvin temperature conversion.
|
| 65 |
+
|
| 66 |
+
For each example, the script:
|
| 67 |
+
1. Picks a category and a difficulty level.
|
| 68 |
+
2. **Easy** — generates a single direct conversion between two random units in
|
| 69 |
+
that category.
|
| 70 |
+
3. **Medium** — generates a chained conversion through an intermediate unit
|
| 71 |
+
(e.g. inches → meters → kilometers), requiring two reasoning steps.
|
| 72 |
+
4. **Hard** — wraps a single or two-step conversion in a short word-problem
|
| 73 |
+
template (e.g. "A recipe calls for 2.5 liters of milk, how many cups is that?").
|
| 74 |
+
5. Computes the exact numeric result from the conversion factors directly
|
| 75 |
+
(not from the displayed reasoning text), formats the question/answer/reasoning
|
| 76 |
+
strings, and records the category and difficulty.
|
| 77 |
+
|
| 78 |
+
Problems are deduplicated by exact question text. After deduplication, every
|
| 79 |
+
row is passed through an independent checker (`validate_row` in the generation
|
| 80 |
+
script) that re-parses the numeric value out of the `answer` string and confirms
|
| 81 |
+
it matches the actual computed conversion to within a small numeric tolerance;
|
| 82 |
+
any row that fails this check is dropped before the dataset is saved.
|
| 83 |
+
|
| 84 |
+
The dataset is purely synthetic and rule-based: no scraping, no external text
|
| 85 |
+
sources, and no human annotation were used.
|
| 86 |
+
|
| 87 |
+
## Intended Use
|
| 88 |
+
|
| 89 |
+
This dataset is intended for:
|
| 90 |
+
- Evaluating LLMs' quantitative reasoning and unit-conversion accuracy.
|
| 91 |
+
- Fine-tuning or instruction-tuning models to produce step-by-step
|
| 92 |
+
arithmetic/conversion reasoning.
|
| 93 |
+
- Benchmarking chain-of-thought consistency (does the reasoning trace actually
|
| 94 |
+
support the final answer?).
|
| 95 |
+
|
| 96 |
+
It is **not** intended as a general-purpose math benchmark — it covers a narrow
|
| 97 |
+
domain (unit conversion) and uses a fixed set of templates and units, so models
|
| 98 |
+
can in principle overfit to its surface patterns.
|
| 99 |
+
|
| 100 |
+
## Limitations
|
| 101 |
+
|
| 102 |
+
- Templates and unit lists are fixed and limited, so question phrasing has
|
| 103 |
+
noticeable repetition across the dataset.
|
| 104 |
+
- Numeric answers are rounded for display (typically to 6 decimal places or
|
| 105 |
+
fewer); exact-string-match evaluation should allow for reasonable numeric
|
| 106 |
+
tolerance rather than requiring exact text equality.
|
| 107 |
+
- Only "everyday" units are covered (no scientific/imperial obscure units like
|
| 108 |
+
furlongs, slugs, etc.).
|
| 109 |
+
|
| 110 |
+
## License
|
| 111 |
+
|
| 112 |
+
This dataset is released under **CC0 1.0 (Public Domain Dedication)**. It is
|
| 113 |
+
entirely synthetic, generated from arithmetic conversion formulas, and contains
|
| 114 |
+
no personal, copyrighted, or scraped data.
|