Downloads · 30 days
516
5% of all-time downloads
open-world-agents/Generalist-IDM-1B
Generalist-IDM-1B is a image-text-to-text model from open-world-agents. Use it for the image-text-to-text task on the model card, and read the license before you ship it in a product. It is set up for transformers. The card lists the license as apache-2.0.
Generalist Inverse Dynamics Model for predicting keyboard and mouse actions from gameplay video.
Downloads · 30 days
516
5% of all-time downloads
All-time downloads
10.1K
Public
Parameters
939M
1.9 GB on disk
Likes
5
Public
Click a slice to open those files.
.safetensors1.9 GB · 99%
From the Hugging Face model README
Generalist Inverse Dynamics Model for predicting keyboard and mouse actions from gameplay video.
Project Page · Paper (arXiv) · GitHub · Demo
Generalist-IDM-1B is a vision-action model trained on the D2E dataset—267 hours of synchronized gameplay video and input events from 29 PC games. Given a trajectory of screen frames and actions, the model predicts the missing actions between observations (Inverse Dynamics Model).
The easiest way to run inference is using the standalone script from the D2E repository:
# Clone the repository
git clone https://github.com/worv-ai/D2E.git
cd D2E
# Run inference (dependencies auto-installed by uv)
uv run inference.py input_video.mp4 output.mcap
uv run inference.py input_video.mp4 output.mcap --device cuda # GPU inference (default)
uv run inference.py input_video.mp4 output.mcap --device cpu # CPU inference
uv run inference.py input_video.mp4 output.mcap --max-duration 30 # Limit to 30 seconds
⏱️ Inference Time: On H100, processing 1 second of video takes ~6 seconds. For a 1-minute video, expect ~6 minutes of inference time.
The output is an MCAP file containing predicted keyboard and mouse events with nanosecond timestamps synchronized to the input video. You can visualize the output using the Dataset Visualizer.
<img src="https://github.com/open-world-agents/owa-dataset-visualizer/blob/main/.github/assets/viewer.png?raw=true" alt="Dataset Visualizer Preview" width="600">import torch
from transformers import AutoModelForImageTextToText, AutoProcessor
model = AutoModelForImageTextToText.from_pretrained(
"open-world-agents/Generalist-IDM-1B",
device_map="cuda",
torch_dtype=torch.bfloat16,
trust_remote_code=True,
)
processor = AutoProcessor.from_pretrained(
"open-world-agents/Generalist-IDM-1B",
trust_remote_code=True,
)
For full inference pipeline with video preprocessing and MCAP output, see inference.py.
This model was trained on the D2E dataset:
| Dataset | Resolution | Description |
|---|---|---|
| D2E-480p | 480p 60fps | 267 hours from 29 PC games |
| D2E-Original | FHD/QHD | Original resolution recordings |
@article{choi2025d2e,
title={D2E: Scaling Vision-Action Pretraining on Desktop Data for Transfer to Embodied AI},
author={Choi, Suhwan and Jung, Jaeyoon and Seong, Haebin and Kim, Minchan and Kim, Minyeong and Cho, Yongjun and Kim, Yoonshik and Park, Yubeen and Yu, Youngjae and Lee, Yunsung},
journal={arXiv preprint arXiv:2510.05684},
year={2025}
}
Apache 2.0