Spaces:
Running
on
Zero
Running
on
Zero
update README and add metadata
Browse files
README.md
CHANGED
@@ -1,40 +1,18 @@
|
|
1 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
|
3 |
-
|
4 |
-
Modified from [here](https://github.com/1x-technologies/1xgpt)
|
5 |
|
6 |
-
|
7 |
-
We require `Python 3.10` or later. This code was tested with `Python 3.10.12`.
|
8 |
|
9 |
-
|
10 |
-
# Install dependencies and download data
|
11 |
-
./build.sh
|
12 |
-
|
13 |
-
# Source the Python environment
|
14 |
-
source venv/bin/activate
|
15 |
-
```
|
16 |
-
|
17 |
-
## File Structures
|
18 |
-
```angular2html
|
19 |
-
βββ ...
|
20 |
-
βββ HPT-Video
|
21 |
-
| |ββ data # cached token datasets and model checkpoints
|
22 |
-
| |ββ genie # main modeling code
|
23 |
-
| | |ββ diffusion # diffusion loss related
|
24 |
-
| | |ββ evaluate.py # evaluate a trained model
|
25 |
-
| | |ββ st_mar.py # spatial time MAR
|
26 |
-
| | |ββ generate.py # generate tokens from trained model
|
27 |
-
| | |ββ st_maskgit.py # spatial-time maskgit
|
28 |
-
| |ββ magvit # magvit code
|
29 |
-
| |ββ sim # simulation related codebase
|
30 |
-
| |ββ experiments
|
31 |
-
| | |ββ cmd # handy commands
|
32 |
-
| | |ββ datasplit # dataset split
|
33 |
-
| | |ββ scripts # ablation and training scripts.
|
34 |
-
| |ββ common # common utility and plot scripts
|
35 |
-
| |ββ train.py # train using magvit
|
36 |
-
| |ββ train_diffusion.py # train using mar
|
37 |
-
| |ββ train_multi.py # train on multiple datasets jointly
|
38 |
-
| |ββ visualize.py # visualize generated tokens
|
39 |
-
βββ ...
|
40 |
-
```
|
|
|
1 |
+
---
|
2 |
+
title: HMA
|
3 |
+
emoji: π
|
4 |
+
colorFrom: purple
|
5 |
+
colorTo: indigo
|
6 |
+
sdk: gradio
|
7 |
+
python_version: 3.9.13
|
8 |
+
sdk_version: 3.41.2
|
9 |
+
app_file: app.py
|
10 |
+
pinned: false
|
11 |
+
license: apache-2.0
|
12 |
+
---
|
13 |
|
14 |
+
# Generative Simulation Interactive Demo
|
|
|
15 |
|
16 |
+
This demo is from the project:
|
|
|
17 |
|
18 |
+
**HMA**
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|