Downloads · 30 days
0
adimunot/latent-lab
latent-lab is a reinforcement learning model from adimunot. Use it for the reinforcement learning task on the model card, and read the license before you ship it in a product. It is set up for onnx. The card lists the license as apache-2.0.
Action-conditioned JEPA world models trained on a "Two Rooms" navigation environment, exported to ONNX for in-browser inference (onnxruntime-web, WebGPU/WASM). Part of latent-lab, an interactive playground for underst…
Downloads · 30 days
0
Access
Public
Updated Jul 6, 2026
Repo size
22.6 MB
Likes
0
Public
Click a slice to open those files.
.onnx21.1 MB · 93%
From the Hugging Face model README
Action-conditioned JEPA world models trained on a "Two Rooms" navigation environment, exported to ONNX for in-browser inference (onnxruntime-web, WebGPU/WASM). Part of latent-lab, an interactive playground for understanding JEPA world models and latent planning.
▶ Live demo (these exact weights, running in your browser): https://adimunot21.github.io/latent-lab/
models/<id>/encoder.onnx — CNN encoder: 64x64 grayscale frame -> 128-d latent (0.91M params)models/<id>/predictor.onnx — residual MLP: (latent, action) -> next latent (0.13M params)models/<id>/*.int8.onnx — weight-only dynamic-int8 variantslookup/{states,latents}.bin — latent<->state lookup table (float32 LE) for decoder-free visualizationmanifest.json — normalization stats, env config, PCA projection, per-file sha256Checkpoints: healthy (MSE + SIGReg, 97% planning success), healthy_early
(epoch 1), collapsed (lambda_reg = 0 — deliberate representation collapse,
a demo feature), collapsed_early.
Joint-embedding predictive architecture with NO EMA target and NO stop-gradient; collapse is prevented solely by SIGReg (Epps-Pulley characteristic-function statistic on random 1-D projections of the latent batch, pushing toward an isotropic Gaussian). Next-embedding MSE + SIGReg, AdamW, AMP, 15 epochs on 60k transitions from a scripted mixed random/goal-directed policy. Trained on a single GTX 1650 (peak VRAM 0.41 GB).
Recorded metrics (held-out): healthy linear position probe R^2 = 0.9997;
CEM planning success 97% (N=100). Collapsed: latent std 0.001 (vs 1.16
healthy), planning 44%. fp32 ONNX parity vs PyTorch < 2e-6 max abs diff;
int8 errors recorded in manifest.json.
Fetch from a pinned revision (see the latent-lab site config for the
current pin), verify sha256 against manifest.json, run with onnxruntime.
Input normalization: (uint8_frame / 255 - frame_mean) / frame_std with the
stats in manifest.json.