Datasets:
|
Download README.md from queelius/big-probs-phase1-data: direct link, hf CLI and curl.
- Browser
- Download file 7.26 kB
-
https://huggingface.co/datasets/queelius/big-probs-phase1-data/resolve/main/README.md
- Command line
-
hf download hf://datasets/queelius/big-probs-phase1-data/README.md
-
curl -L -o README.md https://huggingface.co/datasets/queelius/big-probs-phase1-data/resolve/main/README.md
7.26 kB
| license: mit | |
| language: | |
| - en | |
| task_categories: | |
| - text-generation | |
| pretty_name: Big-Probs Phase 1 Stratified Latent-CoT RL Datasets | |
| tags: | |
| - synthetic | |
| - algorithmic-reasoning | |
| - reinforcement-learning | |
| - rlvr | |
| - latent-cot | |
| - calibration | |
| - aleatoric-uncertainty | |
| size_categories: | |
| - 1K<n<10K | |
| configs: | |
| - config_name: micro_pilot | |
| default: true | |
| data_files: | |
| - split: train | |
| path: data/micro_pilot/train.parquet | |
| - split: eval_id | |
| path: data/micro_pilot/eval_id.parquet | |
| - split: eval_ood | |
| path: data/micro_pilot/eval_ood.parquet | |
| - split: eval_natural | |
| path: data/micro_pilot/eval_natural.parquet | |
| - split: eval_aleatoric | |
| path: data/micro_pilot/eval_aleatoric.parquet | |
| - config_name: stage1_benchmark | |
| data_files: | |
| - split: train | |
| path: data/stage1_benchmark/train.parquet | |
| - split: eval_id | |
| path: data/stage1_benchmark/eval_id.parquet | |
| - split: eval_ood | |
| path: data/stage1_benchmark/eval_ood.parquet | |
| - split: eval_natural | |
| path: data/stage1_benchmark/eval_natural.parquet | |
| - split: eval_aleatoric | |
| path: data/stage1_benchmark/eval_aleatoric.parquet | |
| # Big-Probs Phase 1 Stratified Latent-CoT RL Datasets | |
| Deterministic 3-regime stratified datasets for the [Big-Probs Phase 1 Small-Model Latent-CoT RL Pilot](https://github.com/queelius/big-probs), designed to probe multi-hop compositional reasoning, OOD depth generalization, and distributional calibration under irreducible aleatoric uncertainty. | |
| - **Code & Generators:** [https://github.com/queelius/big-probs](https://github.com/queelius/big-probs) (`phase1_pilot/data/generators.py`) | |
| - **Trained Checkpoints:** [https://huggingface.co/queelius/big-probs-phase1-models](https://huggingface.co/queelius/big-probs-phase1-models) | |
| - **Format:** Primary splits stored as `PARQUET` under `data/<config>/` (with JSONL mirrors under `jsonl/<config>/`). | |
| ## Three-Regime Design (Track 1 §5.2) | |
| 1. **Regime 1 — Algorithmic & Compositional (`algorithmic`):** | |
| - `dag_planning`: ProsQA-style directed acyclic graph reachability queries with one true chain of exact shortest-path hop depth `d`, two distractor chains, and a branching decoy twig (verified by exact BFS). | |
| - `python_trace`: Deterministic stateful Python register programs (`a, b, c` modulo 17) with `d` sequential arithmetic/conditional transitions (verified by isolated execution). | |
| - `modular_varbind`: Shuffled multi-step modular arithmetic variable-binding chains (`v0..v15` modulo 19) of exact dependency depth `d`. | |
| - **Depth Stratification:** In-distribution (ID) `d in {2, 4}` for `train` and `eval_id`; strictly disjoint out-of-distribution (OOD) `d in {6, 8}` for `eval_ood`. | |
| 2. **Regime 2 — Structured Natural / Code Stream (`natural`):** | |
| - `natural_code_math`: Multi-token structured math-prose derivations, Python function evaluations, and arithmetic sequences suitable for non-myopic `n_ahead=4` RL rewards. | |
| - *(Note: For full H100 Stage 1 runs, `load_h100_web_mixture()` streams 40% OpenWebMath / 40% The Stack v2 / 20% FineWeb-Edu.)* | |
| 3. **Regime 3 — Aleatoric Negative Control (`aleatoric`):** | |
| - `aleatoric_cloze`: Unique entity-attribute cloze queries assigned i.i.d. uniform targets across 16 classes (`C00..C15`), giving mathematically irreducible conditional entropy of `log2(16) = 4.0` bits to detect RL-induced overconfidence. | |
| ## Zero Train / Eval Leakage Guarantee | |
| Every configuration is deterministically generated and verified at export time to guarantee: | |
| - **Zero prompt overlap** between `train` (Regime 1) and `eval_id`. | |
| - **Strictly disjoint hop depths** between `train` (`d in {2, 4}`) and `eval_ood` (`d in {6, 8}`). | |
| - **Zero prompt overlap** between `train` (Regime 2) and `eval_natural`. | |
| - **Strictly disjoint entity namespaces** (`tr` vs `ev`) between `train` (Regime 3) and `eval_aleatoric`. | |
| ## Configurations & Exact Split Row Counts | |
| ### `micro_pilot` (`seed=42`, `max_seq_len=192`, `train_depths=(2, 4)`, `eval_ood_depths=(6, 8)`) | |
| | Split | Rows | Regimes | Tasks | Depths | File Size | | |
| | :--- | ---: | :--- | :--- | :--- | ---: | | |
| | `train` | 600 | aleatoric: 60, algorithmic: 450, natural: 90 | aleatoric_cloze: 60, dag_planning: 150, modular_varbind: 150, natural_code_math: 90, python_trace: 150 | d=0: 150, d=2: 225, d=4: 225 | 85.64 KB | | |
| | `eval_id` | 48 | algorithmic: 48 | dag_planning: 16, modular_varbind: 16, python_trace: 16 | d=2: 24, d=4: 24 | 13.04 KB | | |
| | `eval_ood` | 48 | algorithmic: 48 | dag_planning: 16, modular_varbind: 16, python_trace: 16 | d=6: 24, d=8: 24 | 19.08 KB | | |
| | `eval_natural` | 48 | natural: 48 | natural_code_math: 48 | d=0: 48 | 12.12 KB | | |
| | `eval_aleatoric` | 48 | aleatoric: 48 | aleatoric_cloze: 48 | d=0: 48 | 8.49 KB | | |
| Total rows in `micro_pilot`: **792**. | |
| ### `stage1_benchmark` (`seed=42`, `max_seq_len=256`, `train_depths=(2, 4)`, `eval_ood_depths=(6, 8)`) | |
| | Split | Rows | Regimes | Tasks | Depths | File Size | | |
| | :--- | ---: | :--- | :--- | :--- | ---: | | |
| | `train` | 2,000 | aleatoric: 200, algorithmic: 1500, natural: 300 | aleatoric_cloze: 200, dag_planning: 500, modular_varbind: 500, natural_code_math: 300, python_trace: 500 | d=0: 500, d=2: 750, d=4: 750 | 268.17 KB | | |
| | `eval_id` | 300 | algorithmic: 300 | dag_planning: 100, modular_varbind: 100, python_trace: 100 | d=2: 150, d=4: 150 | 46.23 KB | | |
| | `eval_ood` | 300 | algorithmic: 300 | dag_planning: 100, modular_varbind: 100, python_trace: 100 | d=6: 150, d=8: 150 | 79.39 KB | | |
| | `eval_natural` | 300 | natural: 300 | natural_code_math: 300 | d=0: 300 | 37.99 KB | | |
| | `eval_aleatoric` | 300 | aleatoric: 300 | aleatoric_cloze: 300 | d=0: 300 | 24.60 KB | | |
| Total rows in `stage1_benchmark`: **3,200**. | |
| ## Schema | |
| | Column | Type | Description | | |
| | :--- | :--- | :--- | | |
| | `id` | `string` | Deterministic record identifier (`<config>_<split>_<index>`) | | |
| | `prompt` | `string` | Input prompt terminating in `<ans>` | | |
| | `target` | `string` | Ground-truth answer span | | |
| | `full_text` | `string` | Concatenated `prompt + target` | | |
| | `regime` | `string` | `algorithmic`, `natural`, or `aleatoric` | | |
| | `task` | `string` | `dag_planning`, `python_trace`, `modular_varbind`, `natural_code_math`, or `aleatoric_cloze` | | |
| | `depth` | `int32` | Exact compositional hop depth (`2, 4, 6, 8` for Regime 1; `0` for Regimes 2 & 3) | | |
| | `answer_span_start` | `int32` | Character offset where `target` begins in `full_text` | | |
| | `prompt_len_tokens` | `int32` | Prompt token length under `PilotTokenizer` (including `<bos>`) | | |
| | `target_len_tokens` | `int32` | Target token length under `PilotTokenizer` | | |
| | `seq_len_tokens` | `int32` | Total tokenized length (`<bos> + prompt + target + <eos>`) | | |
| | `input_ids` | `list<int32>` | Exact lossless `PilotTokenizer` (`vocab_size=512`) token IDs | | |
| | `target_ids` | `list<int32>` | Exact `PilotTokenizer` target token IDs | | |
| ## Usage | |
| ```python | |
| from datasets import load_dataset | |
| # Load exact micro-pilot splits (default config: "micro_pilot") | |
| ds = load_dataset("queelius/big-probs-phase1-data") | |
| print(ds["eval_ood"][0]) | |
| # Or load the larger canonical Stage 1 benchmark config: | |
| ds_bench = load_dataset("queelius/big-probs-phase1-data", "stage1_benchmark") | |
| ``` | |
| ## License | |
| Released under the MIT License. | |