Model card: teaser, badges, highlights, figures
Browse files
README.md
CHANGED
|
@@ -1,5 +1,7 @@
|
|
| 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
|
|
@@ -13,19 +15,32 @@ tags:
|
|
| 13 |
- real-time
|
| 14 |
---
|
| 15 |
|
| 16 |
-
# MaLiang:
|
| 17 |
|
| 18 |
-
|
|
|
|
| 19 |
|
| 20 |
-
|
| 21 |
|
| 22 |
-
|
| 23 |
-
|
| 24 |
-
(
|
| 25 |
-
|
| 26 |
-
|
| 27 |
-
|
| 28 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 29 |
|
| 30 |
## What is here
|
| 31 |
|
|
|
|
| 1 |
---
|
| 2 |
license: apache-2.0
|
| 3 |
+
language:
|
| 4 |
+
- en
|
| 5 |
library_name: diffsynth
|
| 6 |
pipeline_tag: image-to-video
|
| 7 |
base_model: Wan-AI/Wan2.2-TI2V-5B
|
|
|
|
| 15 |
- real-time
|
| 16 |
---
|
| 17 |
|
| 18 |
+
# <span style="color:rgb(59,46,143)">**MaLiang**</span>: <span style="color:rgb(63,106,166)">Painting</span> <span style="color:rgb(46,125,74)">Playable</span> <span style="color:rgb(165,86,58)">Game Worlds</span> from <span style="color:rgb(224,138,0)">Numbers</span>
|
| 19 |
|
| 20 |
+
<div align="center">
|
| 21 |
+
<img src="assets/teaser.jpg" alt="MaLiang teaser" width="95%">
|
| 22 |
|
| 23 |
+
<p><b>MaLiang</b> renders a playable game world from the game state: the game hands a video model one integer per pixel, and the model paints the world, live.</p>
|
| 24 |
|
| 25 |
+
[](https://sylvana20.github.io/maliang/)
|
| 26 |
+
[](https://github.com/YeyingLab/MaLiang)
|
| 27 |
+
[](https://huggingface.co/datasets/15y6u87/MaLiang-Data)
|
| 28 |
+
[](https://github.com/YeyingLab/MaLiang/blob/main/LICENSE)
|
| 29 |
+
|
| 30 |
+
</div>
|
| 31 |
+
|
| 32 |
+
## Highlights
|
| 33 |
+
|
| 34 |
+
- **Numerical proxy** — the game rasterises its state (terrain, buildings, vegetation, the player's and the boss's body parts, attack effects) into one `uint8` class id per pixel. No render pass and no visual encoder.
|
| 35 |
+
- **Native numerical conditioning** — a 9.4M-parameter class-pooling encoder turns each 4×4 block into class shares that are added to the patch embedding of Wan2.2-TI2V-5B.
|
| 36 |
+
- **Real time** — a three-stage distillation (teacher forcing → consistency distillation → DMD) gives a causal four-step student that streams at 22 frames per second on one GPU.
|
| 37 |
+
- **Numerical canvas** — anything a game rule writes into the map is painted in the next step, and one map can be replayed from any first frame to give a new world.
|
| 38 |
+
|
| 39 |
+
<div align="center"><img src="assets/overview.jpg" width="95%"><br><em>A visual proxy and a colour-coded map against MaLiang's numerical proxy (all images are real).</em></div>
|
| 40 |
+
|
| 41 |
+
## Model overview
|
| 42 |
+
|
| 43 |
+
<div align="center"><img src="assets/architecture.jpg" width="95%"><br><em>The four-layer closed loop of MaLiang.</em></div>
|
| 44 |
|
| 45 |
## What is here
|
| 46 |
|