Model card
Browse files
README.md
ADDED
|
@@ -0,0 +1,50 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: apache-2.0
|
| 3 |
+
library_name: diffsynth
|
| 4 |
+
pipeline_tag: image-to-video
|
| 5 |
+
base_model: Wan-AI/Wan2.2-TI2V-5B
|
| 6 |
+
tags:
|
| 7 |
+
- world-model
|
| 8 |
+
- game
|
| 9 |
+
- video-generation
|
| 10 |
+
- semantic-map
|
| 11 |
+
---
|
| 12 |
+
|
| 13 |
+
# MaLiang: Painting Playable Game Worlds from Numbers
|
| 14 |
+
|
| 15 |
+
Checkpoints for **MaLiang**. Code: https://github.com/YeyingLab/MaLiang
|
| 16 |
+
|
| 17 |
+
MaLiang renders a game world directly from the game state. The state is rasterised into a per-pixel `uint8`
|
| 18 |
+
integer class map and injected into a Wan2.2-TI2V-5B video diffusion transformer through a small class-pooling
|
| 19 |
+
encoder, with no rendered proxy video and no video-VAE encode of the state. A three-stage distillation pipeline
|
| 20 |
+
(teacher forcing → consistency distillation → DMD) turns the bidirectional teacher into a causal four-step
|
| 21 |
+
student for real-time streaming.
|
| 22 |
+
|
| 23 |
+
## Files
|
| 24 |
+
|
| 25 |
+
All checkpoints are bf16 safetensors, `vocab=parts_fx`, resolution 832×480.
|
| 26 |
+
|
| 27 |
+
| File | Role |
|
| 28 |
+
| --- | --- |
|
| 29 |
+
| `sft_fxcond_v1_step-10667.safetensors` | Bidirectional teacher (10,667 SFT steps) |
|
| 30 |
+
| `fxcond_v1_stage3_ema_step500.safetensors` | Deployed causal student, 4 steps (stage-3 DMD EMA 500) |
|
| 31 |
+
| `abl_color_vae_step-5000.safetensors` | Ablation ①: coloured video → Wan VAE |
|
| 32 |
+
| `abl_color_light_step-5000.safetensors` | Ablation ②: coloured video → light encoder |
|
| 33 |
+
| `abl_v3_ids_step-5000.safetensors` | Ablation ③/④: integer map (step-5000 snapshot of the teacher run) |
|
| 34 |
+
|
| 35 |
+
`models.sha256` lists the SHA-256 of every checkpoint.
|
| 36 |
+
|
| 37 |
+
## Download
|
| 38 |
+
|
| 39 |
+
```bash
|
| 40 |
+
pip install -U huggingface_hub
|
| 41 |
+
hf download 15y6u87/MaLiang --local-dir models
|
| 42 |
+
cd models && sha256sum -c models.sha256
|
| 43 |
+
```
|
| 44 |
+
|
| 45 |
+
Then follow the installation and inference instructions in the GitHub repository. The Wan2.2-TI2V-5B base
|
| 46 |
+
model is downloaded separately.
|
| 47 |
+
|
| 48 |
+
## License
|
| 49 |
+
|
| 50 |
+
Apache-2.0, same as the code repository.
|