--- license: apache-2.0 datasets: - mlfoundations/datacomp_1b pipeline_tag: unconditional-image-generation library_name: transformers tags: - imagegen - unconditional-image - custom_code - zero-tinyimage-0.6m --- # Zero-TinyImage-0.6M Zero-TinyImage-0.6M is a small, fast unconditional image generation model. It features a total of 639k parameters and was trained on 50k images from DataComp for 15 epochs. While image models aren't our primary focus at FromZero, we decided to create our very first one. ## Architecture Zero-TinyImage-0.6M uses a custom architecture inspired by our text-to-text models, featuring mHC, Hadamard FFNs with SwiGLU intervals, 2D Axial RoPE, and a continuous diffusion objective. - Hidden Size: `96` - Hidden Layers: `6` - Patch Size: `2×2` - Attention Heads: `4` - KV Heads: `2` (Grouped-Query Attention) - Intermediate Size (for SwiGLU): `160` - SwiGLU Interval: `3` (every 3rd layer) - Number of Lanes: `4` - RoPE Theta: `2500.0` This architecture allows Zero-TinyImage-0.6M to remain fast and parameter-efficient while still providing the effective depth and width of a much larger model. ## Training As stated above, we trained Zero-TinyImage-0.6M on 50k images from DataComp for 15 epochs. - Final Loss: `0.2119` ## Hardware - Ryzen 5 2600 ## Generated Sample (x6 image grid)