Dataset Viewer
Duplicate
The dataset viewer is not available for this split.
Cannot load the dataset split (in streaming mode) to extract the first rows.
Error code:   StreamingRowsError
Exception:    ValueError
Message:      Expected object or value
Traceback:    Traceback (most recent call last):
                File "/usr/local/lib/python3.12/site-packages/datasets/packaged_modules/json/json.py", line 246, in _generate_tables
                  pa_table = paj.read_json(
                             ^^^^^^^^^^^^^^
                File "pyarrow/_json.pyx", line 342, in pyarrow._json.read_json
                File "pyarrow/error.pxi", line 155, in pyarrow.lib.pyarrow_internal_check_status
                File "pyarrow/error.pxi", line 92, in pyarrow.lib.check_status
              pyarrow.lib.ArrowInvalid: JSON parse error: Column() changed from object to string in row 0
              
              During handling of the above exception, another exception occurred:
              
              Traceback (most recent call last):
                File "/src/services/worker/src/worker/utils.py", line 99, in get_rows_or_raise
                  return get_rows(
                         ^^^^^^^^^
                File "/src/libs/libcommon/src/libcommon/utils.py", line 272, in decorator
                  return func(*args, **kwargs)
                         ^^^^^^^^^^^^^^^^^^^^^
                File "/src/services/worker/src/worker/utils.py", line 77, in get_rows
                  rows_plus_one = list(itertools.islice(ds, rows_max_number + 1))
                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/iterable_dataset.py", line 2690, in __iter__
                  for key, example in ex_iterable:
                                      ^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/iterable_dataset.py", line 2227, in __iter__
                  for key, pa_table in self._iter_arrow():
                                       ^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/iterable_dataset.py", line 2251, in _iter_arrow
                  for key, pa_table in self.ex_iterable._iter_arrow():
                                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/iterable_dataset.py", line 494, in _iter_arrow
                  for key, pa_table in iterator:
                                       ^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/iterable_dataset.py", line 384, in _iter_arrow
                  for key, pa_table in self.generate_tables_fn(**gen_kwags):
                                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/packaged_modules/json/json.py", line 260, in _generate_tables
                  batch = json_encode_fields_in_json_lines(original_batch, json_field_paths)
                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/utils/json.py", line 106, in json_encode_fields_in_json_lines
                  examples = [ujson_loads(line) for line in original_batch.splitlines()]
                              ^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/utils/json.py", line 20, in ujson_loads
                  return pd.io.json.ujson_loads(*args, **kwargs)
                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
              ValueError: Expected object or value

Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.

Grokking Diagnostics Runs

Per-run training records and aggregate fits backing:

Weight Decay Regimes in Grokking Transformers: Cheap Online Diagnostics Lucky Verma. Independent Researcher. 2026.

Companion code and paper PDF: https://github.com/lucky-verma/grokking-diagnostics

Contents

The paper provenance indexes 1,792 paper-run records: 1,442 records from the main paper-integrated run tree plus 350 cross-architecture scope-probe records. This dataset repository also includes convenience subset mirrors, so the repository contains more JSON files than unique paper-run records.

Subset Path JSON files Description
Main paper-run mirror transformer/ 1,442 Paper-integrated modular-arithmetic runs, including the MLP scope-probe records used in the manuscript provenance.
LSTM scope probe cross-arch/lstm/ 70 E14 4L LSTM h=512 mod_add probe, 7 weight-decay values x 10 seeds at 10K epochs.
Mamba scope probes cross-arch/mamba/ 210 E15 Mamba grids: expand-4 mod_add, expand-2 mod_add, and expand-4 mod_mul.
Canonical convenience view canonical/ 50 Canonical 4L8H d=128 mod_add lambda=1.0 runs used for the two-phase trajectory.
Multi-task convenience view e9-multitask-transformer/ 280 Horizon-matched four-operation replication.
Causal-intervention view e12-interventions/ 60 Head re-initialization and weight-clipping paired intervention records.
Long-horizon checkpoint views e13-crossseed-checkpoints/, e13-canonical-checkpoints/ 5 Cross-seed and canonical long-horizon checkpoint traces.
Aggregate fits and provenance aggregates/ 10 JSON + 1 markdown Rich aggregate fits, claim-to-data map, and coverage dashboard.

Per-run JSON schema

Each per-run JSON contains a configuration block, a training-history list, final train/test metrics, elapsed time, parameter count, grokking epoch if present, and status metadata. Cross-architecture probes include architecture-specific configuration fields such as arch, n_layers, d_model, expand, and d_state where applicable.

Example fields:

{
  "config": {
    "p": 97,
    "wd": 0.05,
    "lr": 0.001,
    "epochs": 10000,
    "batch_size": 512,
    "seed": 42,
    "task": "mod_add",
    "arch": "Mamba",
    "label": "..."
  },
  "history": [
    {
      "epoch": 10000,
      "train_acc": 1.0,
      "test_acc": 0.99,
      "train_loss": 0.0,
      "test_loss": 0.0,
      "weight_norm": 0.0
    }
  ],
  "grok_epoch": 3000,
  "final_train_acc": 1.0,
  "final_test_acc": 0.99,
  "elapsed_sec": 0.0,
  "n_params": 957952,
  "status": "done"
}

Transformer records include attention-derived diagnostics where available: mean pairwise head cosine similarity, entropy standard deviation across heads, and related logged quantities.

Provenance

Every figure and table cell in the paper traces to an aggregate JSON through aggregates/paper_sources.json. The coverage dashboard aggregates/COVERAGE.{md,json} reports:

verified: 57
mismatch: 0
pending: 0
missing: 0
unknown: 0

Quick start

from huggingface_hub import snapshot_download

snapshot_download(
    repo_id="lucky-verma/grokking-diagnostics-runs",
    repo_type="dataset",
    local_dir="./data/raw_jsons",
)

For code, verification scripts, figures, and Lean 4 proofs, use the companion repository:

git clone https://github.com/lucky-verma/grokking-diagnostics.git
cd grokking-diagnostics
python scripts/download_dataset.py
python scripts/verify_numerical_claims.py

Citation

@article{verma2026grokking,
  title  = {Weight Decay Regimes in Grokking Transformers: Cheap Online Diagnostics},
  author = {Verma, Lucky},
  year   = {2026}
}

Use the companion repository's CITATION.cff for machine-readable citation metadata. The citation can be updated with a public preprint identifier or DOI after one is assigned.

License

Dataset: CC-BY-4.0. Companion code: Apache-2.0.

Contact

Open an issue at https://github.com/lucky-verma/grokking-diagnostics/issues or email luckyv1@umbc.edu.

Downloads last month
1,215