peppaking8 commited on
Commit ·
8547679
0
Parent(s):
Publish MiniT2I Space card
Browse files- .gitattributes +35 -0
- .gitignore +5 -0
- README.md +38 -0
- index.html +79 -0
.gitattributes
ADDED
|
@@ -0,0 +1,35 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
*.7z filter=lfs diff=lfs merge=lfs -text
|
| 2 |
+
*.arrow filter=lfs diff=lfs merge=lfs -text
|
| 3 |
+
*.bin filter=lfs diff=lfs merge=lfs -text
|
| 4 |
+
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
| 5 |
+
*.ckpt filter=lfs diff=lfs merge=lfs -text
|
| 6 |
+
*.ftz filter=lfs diff=lfs merge=lfs -text
|
| 7 |
+
*.gz filter=lfs diff=lfs merge=lfs -text
|
| 8 |
+
*.h5 filter=lfs diff=lfs merge=lfs -text
|
| 9 |
+
*.joblib filter=lfs diff=lfs merge=lfs -text
|
| 10 |
+
*.lfs.* filter=lfs diff=lfs merge=lfs -text
|
| 11 |
+
*.mlmodel filter=lfs diff=lfs merge=lfs -text
|
| 12 |
+
*.model filter=lfs diff=lfs merge=lfs -text
|
| 13 |
+
*.msgpack filter=lfs diff=lfs merge=lfs -text
|
| 14 |
+
*.npy filter=lfs diff=lfs merge=lfs -text
|
| 15 |
+
*.npz filter=lfs diff=lfs merge=lfs -text
|
| 16 |
+
*.onnx filter=lfs diff=lfs merge=lfs -text
|
| 17 |
+
*.ot filter=lfs diff=lfs merge=lfs -text
|
| 18 |
+
*.parquet filter=lfs diff=lfs merge=lfs -text
|
| 19 |
+
*.pb filter=lfs diff=lfs merge=lfs -text
|
| 20 |
+
*.pickle filter=lfs diff=lfs merge=lfs -text
|
| 21 |
+
*.pkl filter=lfs diff=lfs merge=lfs -text
|
| 22 |
+
*.pt filter=lfs diff=lfs merge=lfs -text
|
| 23 |
+
*.pth filter=lfs diff=lfs merge=lfs -text
|
| 24 |
+
*.rar filter=lfs diff=lfs merge=lfs -text
|
| 25 |
+
*.safetensors filter=lfs diff=lfs merge=lfs -text
|
| 26 |
+
saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
| 27 |
+
*.tar.* filter=lfs diff=lfs merge=lfs -text
|
| 28 |
+
*.tar filter=lfs diff=lfs merge=lfs -text
|
| 29 |
+
*.tflite filter=lfs diff=lfs merge=lfs -text
|
| 30 |
+
*.tgz filter=lfs diff=lfs merge=lfs -text
|
| 31 |
+
*.wasm filter=lfs diff=lfs merge=lfs -text
|
| 32 |
+
*.xz filter=lfs diff=lfs merge=lfs -text
|
| 33 |
+
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
+
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
+
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
.gitignore
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
__pycache__/
|
| 2 |
+
*.pyc
|
| 3 |
+
.DS_Store
|
| 4 |
+
outputs/
|
| 5 |
+
.gradio/
|
README.md
ADDED
|
@@ -0,0 +1,38 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
title: MiniT2I
|
| 3 |
+
sdk: static
|
| 4 |
+
app_file: index.html
|
| 5 |
+
pinned: false
|
| 6 |
+
---
|
| 7 |
+
|
| 8 |
+
# MiniT2I
|
| 9 |
+
|
| 10 |
+
MiniT2I is a simple direct-RGB text-to-image generator built around a pixel-space MM-JiT denoiser, flow matching, and frozen FLAN-T5-Large text features. It avoids an image tokenizer, VAE decoder, post-hoc refiner, and auxiliary perceptual/adversarial/reward losses.
|
| 11 |
+
|
| 12 |
+
This Space is now a project card only. The earlier interactive inference demo has been removed; use the code repositories and checkpoints directly for local inference, evaluation, and adaptation.
|
| 13 |
+
|
| 14 |
+
## Links
|
| 15 |
+
|
| 16 |
+
- Blog: [Text-to-Image Generation Made Simple](https://peppaking8.github.io/#/post/text-to-image-generation-made-simple)
|
| 17 |
+
- PyTorch/Diffusers code: [Hope7Happiness/t2i-release](https://github.com/Hope7Happiness/t2i-release)
|
| 18 |
+
- JAX code: [PeppaKing8/minit2i-jax](https://github.com/PeppaKing8/minit2i-jax)
|
| 19 |
+
- PyTorch checkpoints: [MiniT2I/MiniT2I](https://huggingface.co/MiniT2I/MiniT2I)
|
| 20 |
+
- JAX checkpoints: [MiniT2I-B/16](https://huggingface.co/MiniT2I/MiniT2I-B-16-jax), [MiniT2I-L/16](https://huggingface.co/MiniT2I/MiniT2I-L-16-jax)
|
| 21 |
+
|
| 22 |
+
## Models
|
| 23 |
+
|
| 24 |
+
| Model | Params | Patch | GenEval | DPG-Bench |
|
| 25 |
+
| --- | ---: | ---: | ---: | ---: |
|
| 26 |
+
| MiniT2I-B/16 | 258M + 341M text encoder | 16 | 0.874 | 84.6 |
|
| 27 |
+
| MiniT2I-L/16 | 912M + 341M text encoder | 16 | 0.887 | 85.5 |
|
| 28 |
+
|
| 29 |
+
## Citation
|
| 30 |
+
|
| 31 |
+
```bibtex
|
| 32 |
+
@misc{minit2i2026,
|
| 33 |
+
title = {MiniT2I: Text-to-Image Generation Made Simple},
|
| 34 |
+
author = {Wang, Xianbang and Zhao, Hanhong and Lu, Yiyang and Zhou, Kangyang and Ma, Linrui},
|
| 35 |
+
year = {2026},
|
| 36 |
+
url = {https://peppaking8.github.io/#/post/text-to-image-generation-made-simple}
|
| 37 |
+
}
|
| 38 |
+
```
|
index.html
ADDED
|
@@ -0,0 +1,79 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<!doctype html>
|
| 2 |
+
<html lang="en">
|
| 3 |
+
<head>
|
| 4 |
+
<meta charset="utf-8" />
|
| 5 |
+
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
| 6 |
+
<title>MiniT2I</title>
|
| 7 |
+
<style>
|
| 8 |
+
:root {
|
| 9 |
+
color-scheme: light dark;
|
| 10 |
+
font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
|
| 11 |
+
}
|
| 12 |
+
|
| 13 |
+
body {
|
| 14 |
+
margin: 0;
|
| 15 |
+
min-height: 100vh;
|
| 16 |
+
display: grid;
|
| 17 |
+
place-items: center;
|
| 18 |
+
background: #f6f7f9;
|
| 19 |
+
color: #1f2937;
|
| 20 |
+
}
|
| 21 |
+
|
| 22 |
+
main {
|
| 23 |
+
width: min(760px, calc(100% - 48px));
|
| 24 |
+
padding: 48px 0;
|
| 25 |
+
}
|
| 26 |
+
|
| 27 |
+
h1 {
|
| 28 |
+
margin: 0 0 12px;
|
| 29 |
+
font-size: 40px;
|
| 30 |
+
line-height: 1.05;
|
| 31 |
+
}
|
| 32 |
+
|
| 33 |
+
p {
|
| 34 |
+
margin: 0 0 20px;
|
| 35 |
+
font-size: 17px;
|
| 36 |
+
line-height: 1.65;
|
| 37 |
+
}
|
| 38 |
+
|
| 39 |
+
a {
|
| 40 |
+
color: #4f46e5;
|
| 41 |
+
font-weight: 650;
|
| 42 |
+
text-decoration: none;
|
| 43 |
+
}
|
| 44 |
+
|
| 45 |
+
ul {
|
| 46 |
+
margin: 24px 0 0;
|
| 47 |
+
padding-left: 20px;
|
| 48 |
+
line-height: 1.9;
|
| 49 |
+
}
|
| 50 |
+
|
| 51 |
+
@media (prefers-color-scheme: dark) {
|
| 52 |
+
body {
|
| 53 |
+
background: #111827;
|
| 54 |
+
color: #e5e7eb;
|
| 55 |
+
}
|
| 56 |
+
|
| 57 |
+
a {
|
| 58 |
+
color: #a5b4fc;
|
| 59 |
+
}
|
| 60 |
+
}
|
| 61 |
+
</style>
|
| 62 |
+
</head>
|
| 63 |
+
<body>
|
| 64 |
+
<main>
|
| 65 |
+
<h1>MiniT2I</h1>
|
| 66 |
+
<p>
|
| 67 |
+
A simple direct-RGB text-to-image generator. The interactive demo has
|
| 68 |
+
been retired; use the project links below for the blog, code, and
|
| 69 |
+
checkpoints.
|
| 70 |
+
</p>
|
| 71 |
+
<ul>
|
| 72 |
+
<li><a href="https://peppaking8.github.io/#/post/text-to-image-generation-made-simple">Blog post</a></li>
|
| 73 |
+
<li><a href="https://github.com/Hope7Happiness/t2i-release">PyTorch/Diffusers code</a></li>
|
| 74 |
+
<li><a href="https://github.com/PeppaKing8/minit2i-jax">JAX code</a></li>
|
| 75 |
+
<li><a href="https://huggingface.co/MiniT2I/MiniT2I">PyTorch checkpoints</a></li>
|
| 76 |
+
</ul>
|
| 77 |
+
</main>
|
| 78 |
+
</body>
|
| 79 |
+
</html>
|