Download README.md from Emergent-Knowledge/halide-preview: direct link, hf CLI and curl.
- Browser
- Download file 5.99 kB
-
https://huggingface.co/Emergent-Knowledge/halide-preview/resolve/main/README.md
- Command line
-
hf download hf://Emergent-Knowledge/halide-preview/README.md
-
curl -L -o README.md https://huggingface.co/Emergent-Knowledge/halide-preview/resolve/main/README.md
license: apache-2.0
language:
- en
pipeline_tag: text-to-image
library_name: pytorch
tags:
- halide
- text-to-image
- flow-matching
- fcdm
- convnext
- perceiver
- 768px
- preview
Halide Preview is a small, experimental 194M-parameter English text-to-image flow-matching model trained from scratch at 768×768 resolution. It is our first working research preview from the Halide image-generation family, built to test whether a recurrent Perceiver "thinker" paired with a pure-ConvNeXt V2 renderer can produce coherent high-resolution imagery at a fraction of the parameter count of standard diffusion Transformers.
It is still early. Trained to step 291,000 (~4.66M image-caption samples seen), Halide Preview is not meant to rival large billion-parameter image models yet, it is a transparent, self-contained checkpoint and a starting point for what comes next.
Sample Gallery
All samples below were generated directly from the released EMA weights at 768×768 (50 Euler steps, CFG 4.0, resolution shift 2.5, uncurated single seed per prompt):
| Sample | Prompt |
|---|---|
01_alpine_sunrise |
A breathtaking sunrise over snow-capped Swiss Alpine peaks, warm golden sunlight catching jagged ridges, a crystal-clear turquoise glacial lake in the foreground reflecting the pink and amber sky, pine trees along the rocky shore, crisp mountain air, ultra-detailed landscape photography |
02_iceland_aurora |
Vibrant emerald and violet northern lights dancing across a starry night sky over a black-sand beach in Iceland, jagged basalt sea stacks rising from calm dark ocean water reflecting the glowing aurora, thin mist near the horizon, long-exposure landscape photography |
03_kyoto_autumn |
A tranquil Japanese hillside garden in peak autumn, fiery crimson maple trees arching over a moss-covered stone bridge and a quiet koi pond, a wooden pavilion nestled among golden ginkgo trees, soft morning mist filtering warm sunlight through the canopy |
04_redwood_mist |
Towering ancient coastal redwood trees in northern California shrouded in cool morning fog, dramatic shafts of golden sunlight streaming diagonally through the dense canopy onto lush green ferns and a winding dirt trail, atmospheric nature photography |
05_sahara_dunes |
Sweeping golden sand dunes of the Sahara Desert at late afternoon sunset, sharp wind-carved S-curve ridges casting long deep indigo shadows across rippled sand, warm orange and lavender desert sky, minimalist fine-art landscape photography |
06_amalfi_coast |
Sunlit cliffs of the Amalfi Coast overlooking a deep sapphire Mediterranean Sea, pastel-colored terraced villages cascading down steep rocky slopes surrounded by lemon groves and cypress trees, small white sailboats gliding across sparkling coastal waters at golden hour |
07_scottish_highlands |
Dramatic moody clouds parting over the Scottish Highlands, rolling heather-covered moorland in rich purples and rust tones, a winding silver river cutting through a wide glaciated valley, a single beam of afternoon sunlight illuminating distant rugged peaks |
08_patagonia_lake |
Granite spires of Patagonia towering behind an electric-blue alpine lake dotted with drifting icebergs, windswept tussock grass in the foreground, dramatic lenticular clouds glowing coral pink at dusk, wide-angle wilderness photography |
09_canyon_river |
Aerial overlook of a sweeping horseshoe bend carved into towering red sandstone canyon walls in the American Southwest, an emerald-green river winding far below, warm sunset light illuminating layered terracotta rock cliffs under a clear twilight sky |
10_lavender_provence |
Endless rows of blooming purple lavender stretching across rolling hills in Provence toward a distant limestone mountain range, a weathered stone farmhouse framed by dark green cypress trees on the ridge, warm golden sunset light and soft pastel clouds |
Architecture & Training
Halide Preview separates global semantic planning from local spatial rendering in plain PyTorch (halide_modeling.py, no custom CUDA extensions required):
- Parameters: 194,328,196 total (
192,230,532generator +2,097,664text adapter, released as EMA weightsdecay = 0.9995) - Thinker (Global Planner): Perceiver-style Transformer operating on a 24×24 spatial plan grid + 16 global tokens (
p_dim = 256,dim = 640, 4 perceiver blocks, 3 prelude + 3 recurrent core × 4 loops + 2 coda blocks, 2D RoPE, QK-RMSNorm, multi-resolution ConvRead branch) - Renderer (Local Denoiser): Pure-ConvNeXt V2 SpatialMod U-Net with GRN (
widths = [288, 832, 1664],depths = [4, 6, 2], expansion3, low-rank steering[128, 256, 256], guidedPlanUpupsampler, andCoordIncoordinate injection) - Latent Space & VAE: 768×768 output via frozen
stabilityai/sd-vae-ft-mse(96×96×4latent grid, scale0.18215) - Text Conditioning: Frozen
LifuWang/DistillT5(withgoogle-t5/t5-basetokenizer) mapped into 512-dim context via a learnedctx_projlinear adapter - Training Recipe: Rectified flow-matching (
t = 0noise →t = 1data, velocity prediction) trained to 291,000 steps (4,656,000 samples seen, EMA flow loss0.679)
Acknowledgements & License
Halide Preview builds on open research and open weights from the community — including FCDM (arXiv:2603.09408), Agate Thinker-Renderer architectures, LifuWang/DistillT5, google-t5/t5-base, and stabilityai/sd-vae-ft-mse.
Released under the Apache-2.0 license.
