Datasets:
Dataset Viewer
The dataset could not be loaded because the splits use different data file formats, which is not supported. Read more about the splits configuration. Click for more details.
Couldn't infer the same data file format for all splits. Got {NamedSplit('train'): ('text', {}), NamedSplit('validation'): (None, {}), NamedSplit('test'): ('text', {})}
Error code: FileFormatMismatchBetweenSplitsError
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.
WorldModelForMazeWithX
Maze pathfinding sequences for training/probing sequence models (Transformer, Mamba, GRU, Gated-DeltaNet, ...). Task C1: relative-turn navigation on a fixed 10×10 directed grid. Includes a special x terminator marking wall-hit (illegal) paths, used to study a model's ability to recognize its own errors.
Maze
- 10×10 grid, 100 nodes (
0–99). Directed edges (down/right, both directions added), edge probability 0.6. - Graph:
maze_graph_C1_RWs.graphml(node ids are strings'0'..'99').
Sequence format (Task C1)
C <src> <tgt> : <turn tokens...>
- Agent starts facing East. Each turn token both rotates and advances one cell:
Fforward,Lleft,Rright,Tturn-around.
- Nodes
0–99are single tokens;:separates the prompt from the path. x: wall-hit terminator. A "wrong" path is a correct path with one turn corrupted into a wall direction, thenxappended. Only the finalxis supervised during training.
Files (under data/)
| file | rows | wrong (x) ratio |
note |
|---|---|---|---|
train_C1_RWs_5M.txt / .bin |
5,000,000 | 0.0 | all-correct paths |
train_C1_RWs_8M.txt / .bin |
8,000,000 | 0.0 | all-correct paths |
train_C1_RWs_10M.txt / .bin |
12,000,000 | 0.2 | 2M wall-hit paths ending in x |
test_C1_RWs_10K.txt |
~10K | — | held-out test prompts |
val_C1_RWs_10K.bin |
— | — | tokenized validation |
meta_C1_RWs.pkl |
— | — | vocab/stoi/itos (vocab size 132, x id 131) |
maze_graph_C1_RWs.graphml |
— | — | the maze graph |
.txt: human-readable sequences..bin:uint16token stream (read withnumpy.memmap)..bincan be regenerated from.txtviaprepare_multitask_minigpt.py.- Only the 10M set contains wrong paths; 5M / 8M never expose
x(models trained on them never emitx).
Loading
import pickle, numpy as np
meta = pickle.load(open("data/meta_C1_RWs.pkl", "rb"))
itos = meta["itos"] # x token id = 131
ids = np.memmap("data/train_C1_RWs_10M.bin", dtype=np.uint16, mode="r")
print(" ".join(itos[i] for i in ids[:60]))
Citation
Generated with data/maze/create_multitask_maze.py (--tasks C1 --path_type RWs, --wrong_ratio 0.2 for 10M, 0.0 for 5M/8M).
- Downloads last month
- -