Hierarchical Reasoning Model
Paper β’ 2506.21734 β’ Published β’ 54
pad_id int64 0 0 | ignore_label_id int64 0 0 | blank_identifier_id int64 0 0 | vocab_size int64 6 11 | seq_len int64 81 900 | num_puzzle_identifiers int64 1 1 | total_groups int64 1k 1k | mean_puzzle_examples float64 1 1 | sets listlengths 1 1 |
|---|---|---|---|---|---|---|---|---|
0 | 0 | 0 | 6 | 900 | 1 | 1,000 | 1 | [
"all"
] |
0 | 0 | 0 | 11 | 81 | 1 | 1,000 | 1 | [
"all"
] |
Preprocessed datasets used for reproducing the Hierarchical Reasoning Model (HRM) paper on the Sudoku-Extreme and Maze-Hard benchmarks.
| Dataset | Description | Train Examples | Test Examples |
|---|---|---|---|
sudoku-extreme-1k-aug-1000 |
Vanilla Sudoku-Extreme (1000 puzzles, 1000x augmented) | 1,001,000 | 422,786 |
maze-30x30-hard-1k |
Maze-Hard, 30x30 grids (1000 puzzles, no augmentation) | 1,000 | 1,000 |
Each dataset contains train/ and test/ directories with:
all__inputs.npy β Puzzle inputs, shape (N, seq_len)all__labels.npy β Solution labels, shape (N, seq_len)all__puzzle_indices.npy β Cumulative indices marking puzzle boundariesall__puzzle_identifiers.npy β Puzzle type IDsall__group_indices.npy β Cumulative group boundary indicesdataset.json β Metadata| Dataset | seq_len |
vocab_size |
pad_id |
|---|---|---|---|
sudoku-extreme-1k-aug-1000 |
81 | 11 | 0 |
maze-30x30-hard-1k |
900 | 6 | 0 |
# Sudoku-Extreme
python dataset/build_sudoku_dataset.py --output-dir data/sudoku-extreme-1k-aug-1000 --subsample-size 1000 --num-aug 1000
# Maze-Hard
python dataset/build_maze_dataset.py