15y6u87 commited on
Commit
44fc2d8
·
verified ·
1 Parent(s): 539e298

Model card: teaser, badges, highlights, figures

Browse files
Files changed (1) hide show
  1. README.md +25 -10
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: weights and data
17
 
18
- **MaLiang: Painting Playable Game Worlds from Numbers**
 
19
 
20
- [Project page](https://yeyinglab.github.io/MaLiang/) · [Code](https://github.com/YeyingLab/MaLiang) · [Training data](https://huggingface.co/datasets/15y6u87/MaLiang-Data)
21
 
22
- A game hands a video model one integer per pixel, and the model paints the world, live. MaLiang renders a game
23
- world directly from the game state: the state is rasterised into a per-pixel `uint8` **integer class map**
24
- (terrain, buildings, vegetation, the player's and the boss's body parts, attack effects) and added to a
25
- Wan2.2-TI2V-5B video diffusion transformer through a 9.4M-parameter class-pooling encoder. There is no rendered
26
- proxy video and no visual encoder of the state, so game rules edit the map and the model paints the result.
27
- A three-stage distillation (teacher forcing → consistency distillation → DMD) turns the bidirectional teacher
28
- into a causal four-step student that streams at 22 frames per second on one GPU.
 
 
 
 
 
 
 
 
 
 
 
 
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
+ [![Project Page](https://img.shields.io/badge/Project%20Page-MaLiang-blue)](https://sylvana20.github.io/maliang/)
26
+ [![GitHub](https://img.shields.io/badge/GitHub-Code-black?logo=github)](https://github.com/YeyingLab/MaLiang)
27
+ [![Data](https://img.shields.io/badge/%F0%9F%A4%97-Training%20data-ffcc4d)](https://huggingface.co/datasets/15y6u87/MaLiang-Data)
28
+ [![License](https://img.shields.io/badge/License-Apache%202.0-green)](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