Dataset Preview
Duplicate
The full dataset viewer is not available (click to read why). Only showing a preview of the rows.
Job manager crashed while running this job (missing heartbeats).
Error code:   JobManagerCrashedError

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.

actions
array 3D
actions_onehot
array 3D
avail_actions
array 3D
filled
array 2D
obs
array 3D
reward
array 2D
state
array 2D
terminated
array 2D
[[[4],[3],[1],[2],[12],[2],[3],[2],[3],[1]],[[4],[12],[12],[4],[5],[4],[4],[3],[5],[2]],[[3],[2],[12(...TRUNCATED)
[[[0.0,0.0,0.0,0.0,1.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0],[0.0,0.0,0.0,1.0,0.0,0.0,0.0,0.0(...TRUNCATED)
[[[0,1,1,1,1,1,0,0,0,0,0,0,1,1,0,0],[0,1,1,1,1,1,0,0,0,0,0,0,1,1,0,0],[0,1,1,1,1,1,0,0,0,0,0,0,1,1,0(...TRUNCATED)
[[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1](...TRUNCATED)
[[[1.0,1.0,1.0,1.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0(...TRUNCATED)
[[0.17486338317394257],[0.0],[0.284153014421463],[0.0],[0.17486338317394257],[0.13114753365516663],[(...TRUNCATED)
[[1.0,0.0,-0.0446428582072258,-0.0446428582072258,1.0,1.0,0.0,0.0,1.0,0.0,-0.0446428582072258,0.0446(...TRUNCATED)
[[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0](...TRUNCATED)
[[[3],[2],[13],[10],[5],[3],[1],[3],[3],[2]],[[5],[3],[12],[11],[13],[5],[4],[1],[2],[4]],[[2],[5],[(...TRUNCATED)
[[[0.0,0.0,0.0,1.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0],[0.0,0.0,1.0,0.0,0.0,0.0,0.0,0.0(...TRUNCATED)
[[[0,1,1,1,1,1,0,0,0,0,0,1,0,0,0,0],[0,1,1,1,1,1,0,0,0,0,0,1,0,1,0,0],[0,1,1,1,1,1,0,0,0,0,1,1,1,1,0(...TRUNCATED)
[[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1](...TRUNCATED)
[[[1.0,1.0,1.0,1.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0(...TRUNCATED)
[[0.0],[0.33879780769348145],[0.19672131538391113],[0.0],[0.1420765072107315],[0.33879780769348145],(...TRUNCATED)
[[1.0,0.0,-0.0424455925822258,0.0,1.0,1.0,0.0,0.0,1.0,0.0,0.0,0.0,1.0,1.0,0.0,0.0,1.0,0.0,0.02232142(...TRUNCATED)
[[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0](...TRUNCATED)
[[[1],[1],[1],[1],[2],[15],[2],[1],[1],[4]],[[1],[5],[2],[9],[1],[15],[1],[1],[2],[3]],[[1],[4],[3],(...TRUNCATED)
[[[0.0,1.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0],[0.0,1.0,0.0,0.0,0.0,0.0,0.0,0.0(...TRUNCATED)
[[[0,1,0,1,1,0,0,0,0,0,0,0,0,0,0,0],[0,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0],[0,1,1,1,1,1,0,0,0,0,0,0,0,0,0(...TRUNCATED)
[[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1](...TRUNCATED)
[[[0.0,1.0,1.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0(...TRUNCATED)
[[0.0],[0.19672131538391113],[0.19672131538391113],[0.0],[0.19672131538391113],[0.0],[0.0],[0.196721(...TRUNCATED)
[[1.0,0.0,-0.484375,0.4776698648929596,1.0,1.0,0.0,0.0,1.0,0.0,-0.3381521999835968,-0.39835029840469(...TRUNCATED)
[[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0](...TRUNCATED)
[[[5],[5],[4],[3],[1],[1],[5],[5],[2],[5]],[[5],[2],[3],[2],[4],[3],[1],[3],[5],[5]],[[2],[2],[3],[3(...TRUNCATED)
[[[0.0,0.0,0.0,0.0,0.0,1.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0],[0.0,0.0,0.0,0.0,0.0,1.0,0.0,0.0(...TRUNCATED)
[[[0,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0],[0,1,1,1,1,1,0,0,0,0,0,0,0,0,1,0],[0,1,1,1,1,1,0,0,0,0,0,0,0,0,0(...TRUNCATED)
[[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1](...TRUNCATED)
[[[1.0,1.0,1.0,1.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0(...TRUNCATED)
[[0.0],[0.0],[0.0],[0.32786884903907776],[0.5027322173118591],[0.0],[0.0],[0.10928961634635925],[0.5(...TRUNCATED)
[[1.0,0.0,-0.2264142781496048,0.3298078179359436,1.0,0.0,0.0,1.0,1.0,0.0,-0.0984845831990242,-0.3111(...TRUNCATED)
[[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0](...TRUNCATED)
[[[15],[6],[3],[13],[8],[1],[6],[5],[3],[3]],[[9],[13],[2],[2],[5],[5],[5],[6],[4],[5]],[[5],[12],[9(...TRUNCATED)
[[[0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,1.0],[0.0,0.0,0.0,0.0,0.0,0.0,1.0,0.0(...TRUNCATED)
[[[0,1,1,1,1,1,1,1,1,1,0,0,0,1,0,1],[0,1,1,1,1,1,1,1,1,1,1,0,1,1,0,1],[0,1,1,1,1,1,1,0,0,1,0,0,0,0,0(...TRUNCATED)
[[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1](...TRUNCATED)
[[[1.0,1.0,1.0,1.0,1.0,0.380035936832428,0.2691894471645355,-0.26826173067092896,1.0,1.0,0.0,1.0,0.0(...TRUNCATED)
[[0.688524603843689],[0.8633880019187927],[0.1420765072107315],[0.1420765072107315],[1.2896175384521(...TRUNCATED)
[[1.0,0.0,0.0,0.0,1.0,0.0,0.0,1.0,1.0,0.0,-0.0446428582072258,-0.0446428582072258,1.0,1.0,0.0,0.0,1.(...TRUNCATED)
[[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0](...TRUNCATED)
[[[7],[9],[14],[5],[12],[12],[1],[2],[4],[4]],[[15],[2],[13],[3],[2],[4],[3],[3],[2],[1]],[[7],[10],(...TRUNCATED)
[[[0.0,0.0,0.0,0.0,0.0,0.0,0.0,1.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0],[0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0(...TRUNCATED)
[[[0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[0,1,1,1,1,1,0,1,1,1,1,1,1,1,1,0],[0,1,1,1,1,1,0,1,1,1,1,1,1,1,1(...TRUNCATED)
[[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1](...TRUNCATED)
[[[1.0,1.0,1.0,1.0,1.0,0.6376832127571106,-0.40153807401657104,-0.4953857362270355,1.0,1.0,0.0,1.0,0(...TRUNCATED)
[[0.26229506731033325],[1.049180269241333],[0.0],[0.08743169158697128],[0.49180328845977783],[0.4262(...TRUNCATED)
[[1.0,0.0,0.0,0.0,1.0,0.0,0.0,1.0,1.0,0.0,0.0379813052713871,0.0,1.0,1.0,0.0,0.0,1.0,0.0,0.044642858(...TRUNCATED)
[[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0](...TRUNCATED)
[[[5],[11],[5],[3],[3],[1],[2],[5],[5],[4]],[[12],[5],[4],[3],[3],[1],[1],[5],[2],[5]],[[5],[7],[10](...TRUNCATED)
[[[0.0,0.0,0.0,0.0,0.0,1.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0],[0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0(...TRUNCATED)
[[[0,1,1,1,1,1,0,1,0,0,1,1,1,0,0,0],[0,1,1,1,1,1,0,0,0,0,1,1,1,0,0,0],[0,1,1,1,1,1,0,1,0,0,1,1,1,0,0(...TRUNCATED)
[[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1](...TRUNCATED)
[[[1.0,1.0,1.0,1.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0(...TRUNCATED)
[[0.0],[0.6338797807693481],[0.10928961634635925],[0.3169398903846741],[0.48087432980537415],[0.1639(...TRUNCATED)
[[1.0,0.0,0.0,0.0,1.0,0.0,0.0,1.0,1.0,0.0,0.0379813052713871,0.0,1.0,1.0,0.0,0.0,1.0,0.0,0.044642858(...TRUNCATED)
[[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0](...TRUNCATED)
[[[3],[1],[4],[2],[5],[2],[2],[3],[1],[3]],[[4],[4],[2],[4],[5],[3],[5],[3],[1],[5]],[[5],[4],[3],[5(...TRUNCATED)
[[[0.0,0.0,0.0,1.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0],[0.0,1.0,0.0,0.0,0.0,0.0,0.0,0.0(...TRUNCATED)
[[[0,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0],[0,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0],[0,1,1,1,1,1,0,0,0,0,0,0,0,0,0(...TRUNCATED)
[[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1](...TRUNCATED)
[[[1.0,1.0,1.0,1.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0(...TRUNCATED)
[[0.32786884903907776],[0.10928961634635925],[0.0],[0.0],[0.32786884903907776],[0.3060109317302704],(...TRUNCATED)
[[1.0,0.0,0.0,0.0,1.0,0.0,0.0,1.0,1.0,0.0,-0.0446428582072258,-0.0446428582072258,1.0,1.0,0.0,0.0,1.(...TRUNCATED)
[[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0](...TRUNCATED)
[[[13],[8],[3],[14],[12],[9],[14],[5],[5],[3]],[[14],[12],[3],[4],[4],[11],[9],[4],[4],[4]],[[9],[4](...TRUNCATED)
[[[0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,1.0,0.0,0.0],[0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0(...TRUNCATED)
[[[0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[0,1,1,1,1,1,0,1,0,1,1,1,1,1,1(...TRUNCATED)
[[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1](...TRUNCATED)
[[[1.0,1.0,1.0,1.0,1.0,0.5490027070045471,-0.32421875,0.44304198026657104,1.0,1.0,1.0,0.0,0.0,1.0,0.(...TRUNCATED)
[[0.0],[1.4754098653793335],[0.0],[0.17486338317394257],[0.8633880019187927],[0.19672131538391113],[(...TRUNCATED)
[[1.0,0.0,0.0,0.0,1.0,0.0,0.0,1.0,1.0,0.0,-0.0446428582072258,0.0223214291036129,1.0,1.0,0.0,0.0,1.0(...TRUNCATED)
[[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0](...TRUNCATED)
[[[5],[11],[3],[11],[4],[3],[4],[5],[1],[2]],[[2],[5],[11],[1],[3],[3],[4],[2],[5],[4]],[[4],[12],[5(...TRUNCATED)
[[[0.0,0.0,0.0,0.0,0.0,1.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0],[0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0(...TRUNCATED)
[[[0,1,1,1,1,1,0,0,0,0,0,1,1,0,0,0],[0,1,1,1,1,1,0,0,0,0,0,1,1,0,0,0],[0,1,1,1,1,1,0,0,0,0,0,1,1,0,0(...TRUNCATED)
[[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1],[1](...TRUNCATED)
[[[1.0,1.0,1.0,1.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0(...TRUNCATED)
[[0.0],[0.46994534134864807],[0.7650273442268372],[0.17486338317394257],[0.0],[0.2185792326927185],[(...TRUNCATED)
[[1.0,0.0,0.0,-0.0692313089966774,1.0,0.0,0.0,1.0,1.0,0.0,0.0,0.0,1.0,0.0,0.0,1.0,1.0,0.0,-0.0424455(...TRUNCATED)
[[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0](...TRUNCATED)
End of preview.

SMACv2 Offline Multi-Agent RL Datasets

Offline reinforcement-learning datasets collected on the SMACv2 (StarCraft Multi-Agent Challenge v2) benchmark. Trajectories were generated by QMIX policies and stored as episode batches in HDF5 format, suitable for offline MARL research.

Scenarios

Three races × three team sizes:

Race Team sizes
Protoss 3v3, 5v5, 10v10
Terran 3v3, 5v5, 10v10
Zerg 3v3, 5v5, 10v10

For each scenario two dataset qualities are provided:

  • medium — trajectories from a mid-level (partially trained) policy.
  • medium-replay — the replay buffer accumulated while training up to the medium level (a mixture of behaviors of varying quality).

Directory layout

<race>_<n>_vs_<n>/
  medium/<run>/part_*.h5
  medium-replay/<run>/part_*.h5

File format

Each .h5 file holds a batch of episodes with the following datasets, shaped (n_episodes, max_seq_len, n_agents, ...):

Key Shape (example, 3v3) dtype Description
obs (2000, 201, 3, 56) float32 Per-agent local observations
state (2000, 201, 72) float32 Global state
actions (2000, 201, 3, 1) int64 Chosen action indices
actions_onehot (2000, 201, 3, 9) float32 One-hot encoded actions
avail_actions (2000, 201, 3, 9) int32 Available-action mask
reward (2000, 201, 1) float32 Shared team reward
terminated (2000, 201, 1) uint8 Episode-termination flag
filled (2000, 201, 1) int64 Valid-timestep mask (padding indicator)

Observation/state/action dimensions and agent counts vary by scenario.

Usage

import h5py
from huggingface_hub import hf_hub_download

path = hf_hub_download(
    repo_id="jwjeonn/smacv2-offline",
    filename="protoss_3_vs_3/medium/qmix_2025-11-14_13-14-58/part_0.h5",
    repo_type="dataset",
)

with h5py.File(path, "r") as f:
    obs = f["obs"][:]          # (n_episodes, max_seq_len, n_agents, obs_dim)
    reward = f["reward"][:]
    print(obs.shape, reward.shape)

To pull the whole dataset:

from huggingface_hub import snapshot_download
snapshot_download(repo_id="jwjeonn/smacv2-offline", repo_type="dataset")

License

Released under CC-BY-4.0. The underlying SMACv2 environment is maintained by the WhiRL group; please also cite SMACv2 if you use these datasets.

Downloads last month
67