Datasets:
Publish cleaned verl parquet (39179 rows) + cleaning report
Browse files- README.md +42 -39
- data/cleaning_report.json +0 -0
- data/train.jsonl +0 -0
- data/val.jsonl +0 -0
- data/verl_deepscaler_clean_39179.parquet +3 -0
- dataset_report.json +0 -29
README.md
CHANGED
|
@@ -8,61 +8,64 @@ tags:
|
|
| 8 |
- verl
|
| 9 |
- reinforcement-learning
|
| 10 |
size_categories:
|
| 11 |
-
-
|
| 12 |
configs:
|
| 13 |
- config_name: default
|
| 14 |
data_files:
|
| 15 |
- split: train
|
| 16 |
-
path: data/
|
| 17 |
-
- split: validation
|
| 18 |
-
path: data/val.jsonl
|
| 19 |
---
|
| 20 |
|
| 21 |
# DeepScaleR-Verl-Clean
|
| 22 |
|
| 23 |
-
|
| 24 |
-
(
|
| 25 |
-
|
| 26 |
-
|
| 27 |
|
| 28 |
-
##
|
| 29 |
|
| 30 |
-
|
|
| 31 |
-
|---|---|
|
| 32 |
-
|
|
| 33 |
-
|
|
| 34 |
|
| 35 |
-
##
|
| 36 |
|
| 37 |
-
|
| 38 |
-
|
| 39 |
|
| 40 |
-
1. **
|
| 41 |
-
|
| 42 |
-
|
| 43 |
-
|
| 44 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 45 |
|
| 46 |
-
|
| 47 |
-
|
| 48 |
-
was assigned to validation, the rest to train. Row order inside each file is ascending
|
| 49 |
-
`extra_info.index`. Problems, answers and solutions are carried over verbatim from the
|
| 50 |
-
source - no reformatting or re-derivation.
|
| 51 |
|
| 52 |
## Schema (verl)
|
| 53 |
|
| 54 |
-
|
| 55 |
|
| 56 |
-
|
| 57 |
-
|
| 58 |
-
|
| 59 |
-
|
| 60 |
-
|
| 61 |
-
|
| 62 |
-
|
| 63 |
-
|
| 64 |
-
|
| 65 |
|
| 66 |
-
|
| 67 |
-
|
| 68 |
-
|
|
|
|
|
|
| 8 |
- verl
|
| 9 |
- reinforcement-learning
|
| 10 |
size_categories:
|
| 11 |
+
- 10K<n<100K
|
| 12 |
configs:
|
| 13 |
- config_name: default
|
| 14 |
data_files:
|
| 15 |
- split: train
|
| 16 |
+
path: data/verl_deepscaler_clean_39179.parquet
|
|
|
|
|
|
|
| 17 |
---
|
| 18 |
|
| 19 |
# DeepScaleR-Verl-Clean
|
| 20 |
|
| 21 |
+
A single cleaned, deduplicated, verl-ready parquet built from four partial dumps of the
|
| 22 |
+
DeepScaleR math dataset (`agentica-org/DeepScaleR-Preview-Dataset`, MIT licensed). It is
|
| 23 |
+
meant for rule-based-reward GRPO/RL training with the
|
| 24 |
+
[verl](https://github.com/volcengine/verl) framework.
|
| 25 |
|
| 26 |
+
## Files
|
| 27 |
|
| 28 |
+
| File | Rows |
|
| 29 |
+
|---|---|
|
| 30 |
+
| `data/verl_deepscaler_clean_39179.parquet` | 39179 |
|
| 31 |
+
| `data/cleaning_report.json` | full paper trail of every dropped row |
|
| 32 |
|
| 33 |
+
## How it was built
|
| 34 |
|
| 35 |
+
Sources were read in priority order (`deepscaler_part1.jsonl`, `deepscaler_part2.jsonl`,
|
| 36 |
+
`deepscaler_export.json`, `deepscaler_legacy.jsonl`; within a file, earlier rows win):
|
| 37 |
|
| 38 |
+
1. **Validity** - a row is garbage unless its statement *and* its answer are both present
|
| 39 |
+
and non-blank after trimming. Invalid rows are removed *before* deduplication, so a
|
| 40 |
+
broken copy can never steal the slot of a good copy. Rows whose statement is unusable
|
| 41 |
+
are recorded as `missing_problem`, rows with a usable statement but no answer as
|
| 42 |
+
`missing_answer`. A missing `solution` is not garbage: it is stored as an empty string.
|
| 43 |
+
2. **Identity / deduplication** - identity is the trimmed statement text. Only the first
|
| 44 |
+
occurrence (by source priority, then row order) is kept; every later copy is dropped as
|
| 45 |
+
`duplicate`, including legacy copies that carry stale answers.
|
| 46 |
+
3. **Ordering / indexing** - survivors are sorted by statement text ascending (plain
|
| 47 |
+
code-point ordering) and numbered 0..N-1; `extra_info.index` equals the row's position
|
| 48 |
+
and the parquet is physically in that order. Prompts carry the trimmed statement and
|
| 49 |
+
`reward_model.ground_truth` the trimmed answer.
|
| 50 |
|
| 51 |
+
Totals: 43608 input rows -> 39179 kept, 4390 dropped as duplicates, 39 dropped as invalid.
|
| 52 |
+
See `data/cleaning_report.json` for the per-row detail of everything that was thrown away.
|
|
|
|
|
|
|
|
|
|
| 53 |
|
| 54 |
## Schema (verl)
|
| 55 |
|
| 56 |
+
Five columns, in this order:
|
| 57 |
|
| 58 |
+
| Column | Content |
|
| 59 |
+
|---|---|
|
| 60 |
+
| `data_source` | `"DeepScaleR"` |
|
| 61 |
+
| `prompt` | `[{"role": "user", "content": "<trimmed problem statement>"}]` |
|
| 62 |
+
| `ability` | `"math"` |
|
| 63 |
+
| `reward_model` | `{"style": "rule", "ground_truth": "<trimmed answer>"}` |
|
| 64 |
+
| `extra_info` | `{"index": <row position>, "solution": "<solution, or empty string>"}` |
|
| 65 |
+
|
| 66 |
+
## Usage
|
| 67 |
|
| 68 |
+
```python
|
| 69 |
+
from datasets import load_dataset
|
| 70 |
+
ds = load_dataset("dusersad12/DeepScaleR-Verl-Clean", split="train")
|
| 71 |
+
```
|
data/cleaning_report.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
data/train.jsonl
DELETED
|
The diff for this file is too large to render.
See raw diff
|
|
|
data/val.jsonl
DELETED
|
The diff for this file is too large to render.
See raw diff
|
|
|
data/verl_deepscaler_clean_39179.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b5c72a5e8b4dcd5203845a632d56f0a8f306b87c2f6cef3d6cafd453ebe71748
|
| 3 |
+
size 6523404
|
dataset_report.json
DELETED
|
@@ -1,29 +0,0 @@
|
|
| 1 |
-
{
|
| 2 |
-
"raw_rows": 2100,
|
| 3 |
-
"kept_rows": 2000,
|
| 4 |
-
"dropped": {
|
| 5 |
-
"foreign_source": 15,
|
| 6 |
-
"missing_field": 25,
|
| 7 |
-
"duplicate": 60
|
| 8 |
-
},
|
| 9 |
-
"train_rows": 1950,
|
| 10 |
-
"val_rows": 50,
|
| 11 |
-
"manifest_check": {
|
| 12 |
-
"discrepancies": [
|
| 13 |
-
{
|
| 14 |
-
"field": "valid_unique_problems",
|
| 15 |
-
"manifest_value": 2050,
|
| 16 |
-
"observed_value": 2000
|
| 17 |
-
},
|
| 18 |
-
{
|
| 19 |
-
"field": "known_duplicate_entries",
|
| 20 |
-
"manifest_value": 75,
|
| 21 |
-
"observed_value": 60
|
| 22 |
-
}
|
| 23 |
-
]
|
| 24 |
-
},
|
| 25 |
-
"sha256": {
|
| 26 |
-
"verl_deepscaler_train.parquet": "e51b4f3dc20da2a8eef9c75797a2df481510e4232983041daa74dc551bd529fa",
|
| 27 |
-
"verl_deepscaler_val.parquet": "83e0271fe9c292a4de453f11ea7936f081796503ed0986649cea3e46e65cc348"
|
| 28 |
-
}
|
| 29 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|