Downloads · 30 days
0
caikybaldo999/ZYI-0.2
ZYI-0.2 is a text-to-image model from caikybaldo999. Use it when you need an image from a text prompt. The card lists the license as apache-2.0.
ZYI-0.2 is a lightweight text-to-image diffusion model (~67M parameters) designed to generate small images from natural language prompts.
Downloads · 30 days
0
Access
Public
Updated Mar 17, 2026
Repo size
1.1 GB
Likes
0
Public
Click a slice to open those files.
.pt1.1 GB · 100%
From the Hugging Face model README
ZYI-0.2 is a lightweight text-to-image diffusion model (~67M parameters) designed to generate small images from natural language prompts.
The model is optimized for educational use, experimentation, and running on low-VRAM GPUs.
It uses:
Image resolution:
128 × 128

.png)
.png)
.png)
.png)
Model name: ZYI-0.2 Parameters: ~67M Architecture: Text-conditioned UNet diffusion Text encoder: CLIP (ViT-B/32) Training dataset: COCO-style captions dataset Framework: PyTorch
Download the repository:
from huggingface_hub import snapshot_download
import sys
path = snapshot_download("caikybaldo999/ZYI-0.2")
sys.path.append(path)
Then generate an image:
from inference import generate
from IPython.display import display
img = generate("a group of people at the beach")
display(img)
Install dependencies:
pip install torch transformers numpy Pillow tqdm
Using DDIM sampling:
| Steps | Time |
|---|---|
| 1000 (DDPM) | slow |
| 30 (DDIM) | fast |
Typical generation time:
~1–3 seconds on GPU
ZYI-0.2/
│
├── model.pt
├── model.py
├── ddim_sampler.py
├── inference.py
├── requirements.txt
└── README.md
This model is mainly intended for learning and experimentation.
This project is released for research and educational use.
Created by:
Caiky Baldo
Hugging Face https://huggingface.co/caikybaldo999