Aller au contenu
ModelPrésentéExterne
Télécharger

World Models Breakout

This is a World Models implementation from Ha & Schmidhuber (2018) trained on Atari Breakout environment.

TypeOtherVersionRevision 5216407BClasse

Source du modèle

Type
Other
Taille du fichier
31,2 MB
Version
vRevision 5216407
Mis à jour
9 oct. 2026
Téléchargements
12
Source
Hugging Face

Description de la source

World Models - Atari Agent

This is a World Models implementation from Ha & Schmidhuber (2018) trained on Atari Breakout environment.

Model Description

The World Models architecture consists of three main components:

  1. VAE (Variational Autoencoder): Compresses 64x64 RGB images into a 64-dimensional latent space
  2. RNN (Memory-Augmented Recurrent Neural Network - MDRNN): Predicts the next latent representation given current latent state and action
  3. Controller: A linear controller optimized using CMA-ES to maximize cumulative reward

Model Details

  • Latent Size: 64
  • Hidden Size: 256 (MDRNN)
  • Action Space: 4 (Atari discrete actions)
  • Architecture: Convolutional encoder/decoder for VAE, LSTM-based RNN
  • Optimization: CMA-ES for controller training

Usage

import torch
from pathlib import Path

# Load checkpoint
checkpoint = torch.load('pytorch_model.bin')

# Access components
vae_state = checkpoint['vae_state_dict']
rnn_state = checkpoint['rnn_state_dict']
controller_state = checkpoint['controller_state_dict']

# Reconstruct models (see auto_train.py for architecture definitions)
# and load states into them

Training Details

  • Environment: Atari Breakout
  • Harvest Episodes: 100
  • VAE Epochs: 20
  • RNN Epochs: 20
  • CMA-ES Generations: 25
  • Population Size: 32
  • Framework: PyTorch
  • Training Script: auto_train.py

References

License

MIT License

Sources

1 source
Hugging FacePrincipalVersion 5216407e3322fde9802da1cf7a1d3deb3d009a33
huggingface.co/Basem1166/world-models-Breakout/tree/5216407e3322fde9802da1cf7a1d3deb3d009a33

Vérifié 9 oct.

Artefacts du modèle

1 artefact

pytorch_model.bin

bin · 31,2 MB · SHA-256 5e4139a4a780…3f5f · Hugging Face

Download file

Extraits de sources

3 extraits

--- tags: - reinforcement-learning - world-models - atari - vae - rnn - cma-es - pytorch license: mit --- # World Models - Atari Agent This is a World Models implementation from Ha & Schmidhuber (2018) trained on Atari Breakout environment. ## Model Description The World Models architecture consists of three main components: 1. **VAE (Variational Autoencoder)**: Compresses 64x64 RGB images into a 64-dimensional latent space 2. **RNN (Memory-Augmented Recurrent Neural Network - MDRNN)**: Predicts the next latent representation given current latent state and action 3. **Controller**: A linear controller optimized using CMA-ES to maximize cumulative reward ## Model Details - **Latent Size**: 64 - **Hidden Size**: 256 (MDRNN) - **Action Space**: 4 (Atari discrete actions) - **Architecture**: Convolutional encoder/decoder for VAE, LSTM-based RNN - **Optimization**: CMA-ES for controller training ## Usage ```python import torch from pathlib import Path # Load checkpoint checkpoint = torch.load('pytorch_model.bin') # Access components vae_state = checkpoint['vae_state_dict'] rnn_state = checkpoint['rnn_state_dict'] controller_state = checkpoint['controller_state_dict'] # Reconstruct models (see auto_train.py for architecture definitions) # and load states into them ``` ## Training Details - **Environment**: Atari Breakout - **Harvest Episodes**: 100 - **VAE Epochs**: 20 - **RNN Epochs**: 20 - **CMA-ES Generations**: 25 - **Population Size**: 32 - **Framework**: PyTorch - **Training Script**: auto_train.py ## References - Ha, D., & Schmidhuber, J. (2018). World Models. arXiv preprint arXiv:1803.10122. - Original paper: https://worldmodels.github.io/ ## License MIT License

Source context: 12 downloads · 0 likes · Pipeline reinforcement-learning · Repo Basem1166/world-models-Breakout

Source context: 4 downloads · 0 likes · Pipeline reinforcement-learning · Repo Basem1166/world-models-Breakout