Upload MiniHack ReMDM planner checkpoints
Browse files- README.md +3 -3
- checkpoints/offline/Minihack-OfflineDiffusion-BC-82M/model.safetensors +1 -1
- checkpoints/online/Minihack-Online-Diffusion-DAgger-100M/config.yaml +92 -0
- checkpoints/online/Minihack-Online-Diffusion-DAgger-100M/iter563.pth +3 -0
- checkpoints/online/Minihack-Online-Diffusion-DAgger-100M/model.safetensors +3 -0
- checkpoints/online/Minihack-Online-Diffusion-DAgger-100M/selection.json +27 -0
README.md
CHANGED
|
@@ -25,7 +25,7 @@ Code, configs and evaluation harness: https://github.com/mathisweil/minihack-ReM
|
|
| 25 |
| Path | Role | Architecture | Params | Trained to | Full state |
|
| 26 |
|---|---|---|---|---|---|
|
| 27 |
| `checkpoints/offline/Minihack-OfflineDiffusion-BC-82M` | Diffusion planner (offline BC) | 4L, d_model 256, 4 heads, horizon 64 | 5.2M | 40,000 gradient steps, 81,920,000 sample-equivalents | 80 MB |
|
| 28 |
-
| `checkpoints/online/Minihack-
|
| 29 |
|
| 30 |
Each directory holds three things: the original `.pth` training state (weights,
|
| 31 |
EMA shadow, optimiser, scheduler, and for the DAgger run the curriculum and RNG
|
|
@@ -56,11 +56,11 @@ repository.
|
|
| 56 |
from huggingface_hub import snapshot_download
|
| 57 |
|
| 58 |
# everything
|
| 59 |
-
snapshot_download(repo_id="
|
| 60 |
|
| 61 |
# inference weights only
|
| 62 |
snapshot_download(
|
| 63 |
-
repo_id="
|
| 64 |
local_dir=".",
|
| 65 |
allow_patterns=["**/model.safetensors", "**/config*.yaml"],
|
| 66 |
)
|
|
|
|
| 25 |
| Path | Role | Architecture | Params | Trained to | Full state |
|
| 26 |
|---|---|---|---|---|---|
|
| 27 |
| `checkpoints/offline/Minihack-OfflineDiffusion-BC-82M` | Diffusion planner (offline BC) | 4L, d_model 256, 4 heads, horizon 64 | 5.2M | 40,000 gradient steps, 81,920,000 sample-equivalents | 80 MB |
|
| 28 |
+
| `checkpoints/online/Minihack-Online-Diffusion-DAgger-100M` | Diffusion planner (online DAgger) | 4L, d_model 256, 4 heads, horizon 64 | 5.2M | DAgger iteration 563, 5,654,965 env steps | 80 MB |
|
| 29 |
|
| 30 |
Each directory holds three things: the original `.pth` training state (weights,
|
| 31 |
EMA shadow, optimiser, scheduler, and for the DAgger run the curriculum and RNG
|
|
|
|
| 56 |
from huggingface_hub import snapshot_download
|
| 57 |
|
| 58 |
# everything
|
| 59 |
+
snapshot_download(repo_id="mathisweil/remdm-minihack-checkpoints", local_dir=".")
|
| 60 |
|
| 61 |
# inference weights only
|
| 62 |
snapshot_download(
|
| 63 |
+
repo_id="mathisweil/remdm-minihack-checkpoints",
|
| 64 |
local_dir=".",
|
| 65 |
allow_patterns=["**/model.safetensors", "**/config*.yaml"],
|
| 66 |
)
|
checkpoints/offline/Minihack-OfflineDiffusion-BC-82M/model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 20974876
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:62f95eb01da61cd1a436f1dc07ec44a57b7624ce209d1be51e51b17642045eae
|
| 3 |
size 20974876
|
checkpoints/online/Minihack-Online-Diffusion-DAgger-100M/config.yaml
ADDED
|
@@ -0,0 +1,92 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
action_dim: 12
|
| 2 |
+
aux_loss_weight: 0.5
|
| 3 |
+
baselines_bc_batch_size: 256
|
| 4 |
+
baselines_bc_epochs: 50
|
| 5 |
+
baselines_bc_lr: 0.0003
|
| 6 |
+
baselines_bc_oracle_episodes_per_env: 5000
|
| 7 |
+
baselines_dqn_buffer_size: 100000
|
| 8 |
+
baselines_dt_batch_size: 256
|
| 9 |
+
baselines_dt_context_len: 64
|
| 10 |
+
baselines_dt_embed_dim: 256
|
| 11 |
+
baselines_dt_epochs: 50
|
| 12 |
+
baselines_dt_eval_max_steps: 200
|
| 13 |
+
baselines_dt_lr: 0.0003
|
| 14 |
+
baselines_dt_max_ep_len: 200
|
| 15 |
+
baselines_dt_n_heads: 4
|
| 16 |
+
baselines_dt_n_layers: 4
|
| 17 |
+
baselines_dt_oracle_episodes_per_env: 5000
|
| 18 |
+
baselines_eval_episodes_per_env: null
|
| 19 |
+
baselines_eval_freq_env_steps: 10000
|
| 20 |
+
baselines_n_envs_per_id: 2
|
| 21 |
+
baselines_output_dir: outputs/baselines
|
| 22 |
+
baselines_wandb_project: minihack-ReMDM-baselines
|
| 23 |
+
buffer_capacity: 10000
|
| 24 |
+
checkpoint_dir: online_s0/dagger_20260811_210823_ee39
|
| 25 |
+
checkpoint_eval_episodes: 50
|
| 26 |
+
checkpoint_every_timesteps: 940000
|
| 27 |
+
collect_episodes_per_env: 5000
|
| 28 |
+
collect_num_workers: 32
|
| 29 |
+
collect_output: data/oracle_bc_qmul.pt
|
| 30 |
+
crop_size: 9
|
| 31 |
+
curriculum_preseed: true
|
| 32 |
+
curriculum_queue_size: 100
|
| 33 |
+
dagger_batch_size: 2048
|
| 34 |
+
dagger_grad_clip: 1.0
|
| 35 |
+
dagger_lr: 3.0e-05
|
| 36 |
+
device: cuda
|
| 37 |
+
diffusion_steps_collect: 5
|
| 38 |
+
diffusion_steps_eval: 10
|
| 39 |
+
dropout: 0.0
|
| 40 |
+
efficiency_multiplier: 1.5
|
| 41 |
+
ema_decay: 0.999
|
| 42 |
+
episodes_per_iteration: 30
|
| 43 |
+
eta: 0.15
|
| 44 |
+
eval_episodes_per_env: 50
|
| 45 |
+
global_gate_init: -3.0
|
| 46 |
+
grad_steps_per_iteration: 100
|
| 47 |
+
id_envs:
|
| 48 |
+
- MiniHack-Room-Random-5x5-v0
|
| 49 |
+
- MiniHack-Room-Random-15x15-v0
|
| 50 |
+
- MiniHack-Corridor-R2-v0
|
| 51 |
+
- MiniHack-MazeWalk-9x9-v0
|
| 52 |
+
id_eval_every_timesteps: 470000
|
| 53 |
+
label_smoothing: 0.0
|
| 54 |
+
loss_weight_clip: 1000.0
|
| 55 |
+
map_h: 21
|
| 56 |
+
map_w: 79
|
| 57 |
+
mask_token: 12
|
| 58 |
+
n_embd: 256
|
| 59 |
+
n_global_tokens: 8
|
| 60 |
+
n_head: 4
|
| 61 |
+
n_layer: 4
|
| 62 |
+
noise_schedule: linear
|
| 63 |
+
num_collection_workers: 32
|
| 64 |
+
num_diffusion_steps: 100
|
| 65 |
+
offline_batch_size: 2048
|
| 66 |
+
offline_buffer_capacity: 1500000
|
| 67 |
+
offline_checkpoint_every_grad_steps: 10000
|
| 68 |
+
offline_eval_every_grad_steps: 5000
|
| 69 |
+
offline_grad_clip: 1.0
|
| 70 |
+
offline_log_every: 50
|
| 71 |
+
offline_lr: 0.0003
|
| 72 |
+
offline_total_grad_steps: 60000
|
| 73 |
+
ood_envs:
|
| 74 |
+
- MiniHack-Room-Dark-15x15-v0
|
| 75 |
+
- MiniHack-Corridor-R5-v0
|
| 76 |
+
- MiniHack-MazeWalk-45x19-v0
|
| 77 |
+
ood_eval_every_timesteps: 470000
|
| 78 |
+
pad_token: 13
|
| 79 |
+
physics_aware_sampling: false
|
| 80 |
+
remask_strategy: conf
|
| 81 |
+
replan_every: 16
|
| 82 |
+
save_policy: true
|
| 83 |
+
seed: 0
|
| 84 |
+
seq_len: 64
|
| 85 |
+
temperature: 0.5
|
| 86 |
+
top_p: 0.9
|
| 87 |
+
torch_compile: true
|
| 88 |
+
total_timesteps: 5650000
|
| 89 |
+
use_amp: true
|
| 90 |
+
use_global_stream: true
|
| 91 |
+
use_wandb: true
|
| 92 |
+
weight_decay: 0.0001
|
checkpoints/online/Minihack-Online-Diffusion-DAgger-100M/iter563.pth
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:04d10a4cd119dfe8273bfb06a57ba0e8aaaefa5816a7825f62581dad28144676
|
| 3 |
+
size 83995501
|
checkpoints/online/Minihack-Online-Diffusion-DAgger-100M/model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1a25616b8ebd7673982fea78ba33030a552cebd0356cbe9a6ff55c42380a3709
|
| 3 |
+
size 20974876
|
checkpoints/online/Minihack-Online-Diffusion-DAgger-100M/selection.json
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"policy": "best-of-N over periodic checkpoints",
|
| 3 |
+
"selected": {
|
| 4 |
+
"dagger_iteration": 563
|
| 5 |
+
},
|
| 6 |
+
"selection_metric": null,
|
| 7 |
+
"candidates": {
|
| 8 |
+
"unit": "dagger_iterations",
|
| 9 |
+
"every": null,
|
| 10 |
+
"configured_max": null
|
| 11 |
+
},
|
| 12 |
+
"eval_protocol": {
|
| 13 |
+
"episodes_per_env": 50,
|
| 14 |
+
"weights": "ema",
|
| 15 |
+
"id_envs": [
|
| 16 |
+
"MiniHack-Room-Random-5x5-v0",
|
| 17 |
+
"MiniHack-Room-Random-15x15-v0",
|
| 18 |
+
"MiniHack-Corridor-R2-v0",
|
| 19 |
+
"MiniHack-MazeWalk-9x9-v0"
|
| 20 |
+
],
|
| 21 |
+
"ood_envs": [
|
| 22 |
+
"MiniHack-Room-Dark-15x15-v0",
|
| 23 |
+
"MiniHack-Corridor-R5-v0",
|
| 24 |
+
"MiniHack-MazeWalk-45x19-v0"
|
| 25 |
+
]
|
| 26 |
+
}
|
| 27 |
+
}
|