Instructions to use YuxinJ/O2LaF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Wan2.2
How to use YuxinJ/O2LaF with Wan2.2:
# No code snippets available yet for this library. # To use this model, check the repository files and the library's documentation. # Want to help? PRs adding snippets are welcome at: # https://github.com/huggingface/huggingface.js
- Notebooks
- Google Colab
- Kaggle
Add repository card listing the released models
Browse files
README.md
CHANGED
|
@@ -1,3 +1,63 @@
|
|
| 1 |
---
|
| 2 |
license: apache-2.0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
license: apache-2.0
|
| 3 |
+
base_model: Wan-AI/Wan2.2-TI2V-5B-Diffusers
|
| 4 |
+
pipeline_tag: image-to-video
|
| 5 |
+
tags:
|
| 6 |
+
- world-model
|
| 7 |
+
- latent-action
|
| 8 |
+
- video-generation
|
| 9 |
+
- wan2.2
|
| 10 |
---
|
| 11 |
+
|
| 12 |
+
# O虏LaF: One Prior, Two Dynamics
|
| 13 |
+
|
| 14 |
+
Models for **One Prior, Two Dynamics: Repurposing Video Diffusion Transformers
|
| 15 |
+
for Self-Supervised Latent Action Learning** 路
|
| 16 |
+
[Paper](https://arxiv.org/abs/2611.26617) 路 [Project page](https://showlab.github.io/o2laf/) 路
|
| 17 |
+
[Code](https://github.com/showlab/o2laf) 路 [Video](https://youtu.be/AYWevG1Nhpc)
|
| 18 |
+
|
| 19 |
+
O虏LaF learns latent actions from unlabelled video. One pretrained video
|
| 20 |
+
diffusion transformer, Wan 2.2 TI2V-5B, is the prior for both dynamics: an
|
| 21 |
+
**action encoder** infers a latent action for every transition of a video, and a
|
| 22 |
+
**world model** generates video from a first frame and a sequence of those
|
| 23 |
+
actions. No action labels are used.
|
| 24 |
+
|
| 25 |
+
## Models
|
| 26 |
+
|
| 27 |
+
Each model lives in its own folder. Pass the folder as the model name.
|
| 28 |
+
|
| 29 |
+
| Model | Training data | Action encoder |
|
| 30 |
+
|---|---|---|
|
| 31 |
+
| [`o2laf_dit_mixed`](https://huggingface.co/YuxinJ/O2LaF/tree/main/o2laf_dit_mixed) | MiraData + EgoDexMix | Wan DiT |
|
| 32 |
+
|
| 33 |
+
Other action encoders (V-JEPA 2, spatio-temporal transformer) and single-dataset
|
| 34 |
+
models are to be released.
|
| 35 |
+
|
| 36 |
+
## Usage
|
| 37 |
+
|
| 38 |
+
Install the code from the [O虏LaF repository](https://github.com/showlab/o2laf), then:
|
| 39 |
+
|
| 40 |
+
```bash
|
| 41 |
+
o2laf-transfer --model YuxinJ/O2LaF/o2laf_dit_mixed \
|
| 42 |
+
--source-video source.mp4 --first-frame frame.png --output out.mp4
|
| 43 |
+
```
|
| 44 |
+
|
| 45 |
+
```python
|
| 46 |
+
from o2laf import LatentActionPipeline
|
| 47 |
+
|
| 48 |
+
pipe = LatentActionPipeline.from_pretrained("YuxinJ/O2LaF/o2laf_dit_mixed", mode="bidirectional")
|
| 49 |
+
```
|
| 50 |
+
|
| 51 |
+
Only the files a run needs are downloaded. See each model's own card for its
|
| 52 |
+
contents, modes and training details.
|
| 53 |
+
|
| 54 |
+
## Citation
|
| 55 |
+
|
| 56 |
+
```bibtex
|
| 57 |
+
@article{jiang2026o2laf,
|
| 58 |
+
title = {One Prior, Two Dynamics: Repurposing Video Diffusion Transformers for Self-Supervised Latent Action Learning},
|
| 59 |
+
author = {Jiang, Yuxin and Sun, Wenqiang and Li, Jiaqi and Gu, Yuchao and Zhang, Lvmin and Tsang, Ivor and Shou, Mike Zheng},
|
| 60 |
+
journal = {arXiv preprint arXiv:2611.26617},
|
| 61 |
+
year = {2026}
|
| 62 |
+
}
|
| 63 |
+
```
|