Datasets:
Rewrite dataset card for default and dense-100m
Browse filesClarify configuration choice, pretraining/SFT/SDFT usage, dense schema, token scale, and integrity guarantees.
README.md
CHANGED
|
@@ -7,6 +7,7 @@ language:
|
|
| 7 |
tags:
|
| 8 |
- synthetic
|
| 9 |
- state-space-models
|
|
|
|
| 10 |
- pretraining
|
| 11 |
- sft
|
| 12 |
- sdft
|
|
@@ -31,77 +32,99 @@ configs:
|
|
| 31 |
|
| 32 |
# StateBench v1
|
| 33 |
|
| 34 |
-
###
|
| 35 |
|
| 36 |
-
|
| 37 |
|
| 38 |
</div>
|
| 39 |
|
| 40 |
-
|
| 41 |
-
|:--|:--|:--|:--|
|
| 42 |
-
| **10,000,000 rows** | **36 families · M1–M11** | **7.80 GiB · 41 Parquet shards** | **9,949,600 train · 50,400 validation** |
|
| 43 |
|
| 44 |
-
|
|
| 45 |
|:--|:--|:--|:--|
|
| 46 |
-
| **
|
|
|
|
| 47 |
|
| 48 |
-
|
| 49 |
|
| 50 |
-
## Load
|
| 51 |
|
| 52 |
from datasets import load_dataset
|
| 53 |
|
| 54 |
-
|
| 55 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 56 |
|
| 57 |
-
|
| 58 |
-
|
| 59 |
-
|
|
|
|
| 60 |
|
| 61 |
-
|
| 62 |
-
redundant physical column; derive it from prompt and completion when using causal pretraining.
|
| 63 |
|
| 64 |
-
##
|
| 65 |
|
| 66 |
-
|
| 67 |
-
|:--|:--|:--|
|
| 68 |
-
| Pretraining | text | Complete causal document |
|
| 69 |
-
| SFT | prompt | completion |
|
| 70 |
-
| SDFT | prompt | privileged_context, visible only to the teacher |
|
| 71 |
|
| 72 |
-
|
| 73 |
|
| 74 |
-
|
| 75 |
|
| 76 |
-
|
| 77 |
-
|
| 78 |
-
|
| 79 |
-
|
| 80 |
-
|
| 81 |
-
|
| 82 |
-
|
|
|
|
|
|
|
|
|
|
| 83 |
|
| 84 |
-
|
| 85 |
|
| 86 |
-
##
|
| 87 |
|
| 88 |
-
|
|
| 89 |
|:--|:--|
|
| 90 |
-
|
|
| 91 |
-
|
|
| 92 |
-
|
|
| 93 |
-
|
|
| 94 |
-
|
|
| 95 |
-
|
|
| 96 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 97 |
|
| 98 |
-
|
| 99 |
|
| 100 |
-
|
| 101 |
-
- Programs are deduplicated by semantic fingerprint.
|
| 102 |
-
- dataset_manifest.json records generation parameters, distributions, shard sizes, and SHA-256 checksums.
|
| 103 |
-
- The public corpus is training data, not the private StateBench evaluation split.
|
| 104 |
|
| 105 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 106 |
|
| 107 |
-
|
|
|
|
| 7 |
tags:
|
| 8 |
- synthetic
|
| 9 |
- state-space-models
|
| 10 |
+
- recurrent-models
|
| 11 |
- pretraining
|
| 12 |
- sft
|
| 13 |
- sdft
|
|
|
|
| 32 |
|
| 33 |
# StateBench v1
|
| 34 |
|
| 35 |
+
### 110 million verified state episodes for pretraining, SFT, and on-policy SDFT
|
| 36 |
|
| 37 |
+
Train models to **retain**, **edit**, **address**, and **transform** state across long execution traces.
|
| 38 |
|
| 39 |
</div>
|
| 40 |
|
| 41 |
+
## Choose a configuration
|
|
|
|
|
|
|
| 42 |
|
| 43 |
+
| Configuration | Best for | Scale | Representation |
|
| 44 |
|:--|:--|:--|:--|
|
| 45 |
+
| **default** | Broad behavioral coverage and varied surfaces | 10,000,000 programs · 7.80 GiB | 36 families across M1–M11 |
|
| 46 |
+
| **dense-100m** | High-throughput state-intensive training | 100M episodes · 94.78 GiB | 4 episodes/row · compact shared VM |
|
| 47 |
|
| 48 |
+
Both configurations contain structured prompt, completion, and teacher-only privileged context. Every target is computed by an executable reference machine, never authored by a teacher model.
|
| 49 |
|
| 50 |
+
## Load
|
| 51 |
|
| 52 |
from datasets import load_dataset
|
| 53 |
|
| 54 |
+
default = load_dataset(
|
| 55 |
+
"aabbdev/StateBench-v1", "default", split="train", streaming=True
|
| 56 |
+
)
|
| 57 |
+
dense = load_dataset(
|
| 58 |
+
"aabbdev/StateBench-v1", "dense-100m", split="train", streaming=True
|
| 59 |
+
)
|
| 60 |
|
| 61 |
+
| Split | default | dense-100m |
|
| 62 |
+
|:--|--:|--:|
|
| 63 |
+
| Train | 9,949,600 rows | 24,875,000 rows / 99.5M episodes |
|
| 64 |
+
| Validation | 50,400 rows | 125,000 rows / 0.5M episodes |
|
| 65 |
|
| 66 |
+
## Train three ways
|
|
|
|
| 67 |
|
| 68 |
+
### SFT
|
| 69 |
|
| 70 |
+
sft = dense.select_columns(["prompt", "completion"])
|
|
|
|
|
|
|
|
|
|
|
|
|
| 71 |
|
| 72 |
+
### On-policy SDFT with TRL
|
| 73 |
|
| 74 |
+
sdft = dense.select_columns(["prompt", "privileged_context"])
|
| 75 |
|
| 76 |
+
privileged_context is visible only to the teacher. Never concatenate it into the student prompt. It contains the verified rendered target expected by TRL SDFTTrainer.
|
| 77 |
+
|
| 78 |
+
### Causal pretraining
|
| 79 |
+
|
| 80 |
+
The default configuration includes a ready-to-use text column. dense-100m avoids storing a duplicate ~95 GiB text view; derive it while streaming:
|
| 81 |
+
|
| 82 |
+
def to_text(row):
|
| 83 |
+
prompt = row["prompt"][0]["content"]
|
| 84 |
+
answer = row["completion"][0]["content"]
|
| 85 |
+
return {"text": f"User:\n{prompt}\n\nAssistant:\n{answer}"}
|
| 86 |
|
| 87 |
+
dense_pretrain = dense.map(to_text)
|
| 88 |
|
| 89 |
+
## What models practice
|
| 90 |
|
| 91 |
+
| Capability | Examples |
|
| 92 |
|:--|:--|
|
| 93 |
+
| Retention and capacity | Delayed recall, bounded buffers, long-lived registers |
|
| 94 |
+
| Addressing and editing | Multi-query recall, collisions, overwrite, erase/reuse |
|
| 95 |
+
| Selection and interference | Gated writes, scoped memory, proactive and retroactive interference |
|
| 96 |
+
| State dynamics | Automata, counters, permutations, monoids, finite groups |
|
| 97 |
+
| Online adaptation | One-shot binding, remapping, rule switching |
|
| 98 |
+
| Long execution stability | Active recurrence, checkpoints, read and generation pollution |
|
| 99 |
+
|
| 100 |
+
default implements 36 explicit behavioral families. dense-100m maps the same curriculum labels onto a compact shared register VM for maximum state-transition density; it is a dense training curriculum, not a byte-for-byte replica of default prompts.
|
| 101 |
+
|
| 102 |
+
## Data contract
|
| 103 |
+
|
| 104 |
+
| Field | default | dense-100m | Purpose |
|
| 105 |
+
|:--|:--:|:--:|:--|
|
| 106 |
+
| prompt | yes | yes | Student-visible conversational input |
|
| 107 |
+
| completion | yes | yes | Verified SFT target |
|
| 108 |
+
| privileged_context | yes | yes | Teacher-only SDFT context |
|
| 109 |
+
| text | yes | derived | Causal pretraining view |
|
| 110 |
+
| semantic identity | one fingerprint | four fingerprints | Deduplication and audit |
|
| 111 |
+
| family / macro / level | scalar | four-item lists | Curriculum filtering |
|
| 112 |
+
| density_units_per_1k_chars | no | yes | Semantic density control |
|
| 113 |
+
|
| 114 |
+
## dense-100m at a glance
|
| 115 |
+
|
| 116 |
+
| Episodes | Physical rows | Density | Token estimate | Generator |
|
| 117 |
+
|--:|--:|--:|--:|:--|
|
| 118 |
+
| 100,000,000 | 25,000,000 | 162.01 units / 1k chars | 107–120B tokens | C++20 + Arrow |
|
| 119 |
|
| 120 |
+
The token range was measured on 1,000 real packed rows with GPT-2 and Qwen3 tokenizers. Actual training cost depends on chat templates, truncation, packing, and the SDFT generation policy.
|
| 121 |
|
| 122 |
+
## Integrity
|
|
|
|
|
|
|
|
|
|
| 123 |
|
| 124 |
+
- 110M semantic identities are unique across their respective releases.
|
| 125 |
+
- Required fields, roles, answer JSON, and SDFT isolation passed full-corpus audits.
|
| 126 |
+
- No benchmark name, family label, or privileged answer appears in model-visible prompts.
|
| 127 |
+
- SHA-256 checksums cover every Parquet shard.
|
| 128 |
+
- The public training corpus is separate from private StateBench evaluation material.
|
| 129 |
|
| 130 |
+
Release manifests: dataset_manifest.json for default and dense-100m-manifest.json for dense-100m.
|