j0no12 commited on
Commit
a2ddc8f
·
verified ·
1 Parent(s): 8b2c7f9

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +3 -42
README.md CHANGED
@@ -15,11 +15,11 @@ tags:
15
  - preview
16
  ---
17
 
18
- # Halide Preview
19
 
20
- **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.
21
 
22
- 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.
23
 
24
  ---
25
 
@@ -57,45 +57,6 @@ Halide Preview separates global semantic planning from local spatial rendering i
57
 
58
  ---
59
 
60
- ## Quick Start
61
-
62
- ```python
63
- import torch
64
- from diffusers import AutoencoderKL
65
- from huggingface_hub import hf_hub_download
66
- from safetensors.torch import load_file
67
- from halide_modeling import DistillT5TextEncoder, HalideConfig, HalideGenerator, VAE_REPO, sample_halide
68
-
69
- repo_id = "Emergent-Knowledge/halide-preview"
70
- device = "cuda" if torch.cuda.is_available() else "cpu"
71
-
72
- model = HalideGenerator(HalideConfig())
73
- model.load_state_dict(load_file(hf_hub_download(repo_id, "generator.safetensors")), strict=True)
74
- model = model.to(device).eval()
75
-
76
- text_enc = DistillT5TextEncoder(device=device).load()
77
- text_enc.ctx_proj.load_state_dict(load_file(hf_hub_download(repo_id, "ctx_proj.safetensors")), strict=True)
78
-
79
- vae = AutoencoderKL.from_pretrained(VAE_REPO, torch_dtype=torch.bfloat16 if device == "cuda" else torch.float32).to(device).eval()
80
-
81
- images = sample_halide(
82
- model, text_enc, vae,
83
- prompts=["A breathtaking sunrise over snow-capped Alpine peaks reflected in a calm turquoise glacial lake"],
84
- steps=50, cfg=4.0, shift=2.5, resolution=768, seed=42, device=device,
85
- )
86
- images[0].save("halide_sample.png")
87
- ```
88
-
89
- ---
90
-
91
- ## Limitations
92
-
93
- - **Research preview:** Trained on ~4.66M samples at 194M parameters, so fine anatomy, hands, dense text rendering, and complex multi-object counts can still break down.
94
- - **Square 768×768 native:** Tuned for square 768×768 generation; arbitrary aspect ratios are not yet supported.
95
- - **English prompts:** Text conditioning is trained on English captions via DistillT5.
96
-
97
- ---
98
-
99
  ## Acknowledgements & License
100
 
101
  Halide Preview builds on open research and open weights from the community — including FCDM (`arXiv:2603.09408`), Agate Thinker-Renderer architectures, [`LifuWang/DistillT5`](https://huggingface.co/LifuWang/DistillT5), [`google-t5/t5-base`](https://huggingface.co/google-t5/t5-base), and [`stabilityai/sd-vae-ft-mse`](https://huggingface.co/stabilityai/sd-vae-ft-mse).
 
15
  - preview
16
  ---
17
 
18
+ <img src="banner.png" alt="Halide Preview" width="100%">
19
 
20
+ **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.
21
 
22
+ 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.
23
 
24
  ---
25
 
 
57
 
58
  ---
59
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
60
  ## Acknowledgements & License
61
 
62
  Halide Preview builds on open research and open weights from the community — including FCDM (`arXiv:2603.09408`), Agate Thinker-Renderer architectures, [`LifuWang/DistillT5`](https://huggingface.co/LifuWang/DistillT5), [`google-t5/t5-base`](https://huggingface.co/google-t5/t5-base), and [`stabilityai/sd-vae-ft-mse`](https://huggingface.co/stabilityai/sd-vae-ft-mse).