anaksor-ocr
Sokheng · Kit
Reads Khmer and English text from documents, receipts and photos of signs, using a detector for text lines and a recogniser for each line. Suits developers who…
Research weights from ByteDance-Seed for image generators whose VAE and prior are trained together. They cover class-conditional and text-to-image sampling, for non-commercial research use.
GenFirst is a kit in the Research category, listed by Mindket. It is free. This is version 1, last updated on . Download it on this page, a zip of its files. Nothing in it runs by itself.
pip install -U huggingface_hub hf download ByteDance-Seed/GenFirst
GenFirst is a ByteDance-Seed research release about training a latent VAE together with a generative prior while avoiding latent collapse, which tends to make joint training unstable. Training runs in two phases: the first lets the prior shape the latent space, and the second cuts both weights tenfold so the decoder can recover detail. The release holds weights for class-conditional and text-to-image generation.
It suits researchers and engineers who work on image generation or latent diffusion and want to study or reproduce the method under non-commercial terms.
| Industry | Who uses it | How they use it | Example |
|---|---|---|---|
| Academic research | Image-generation researchers | Study joint training of a VAE and a prior | Reproduce the class-conditional results at 256x256 |
| Machine learning engineering | Teams exploring latent diffusion | Try the released SiT-XL and MMDiT-XL priors | Sample 512x512 images from a text prompt |
| Benchmarking | Evaluators | Compare scores across the released checkpoints | The 800 epoch checkpoint reaches a gFID of 1.45 at 256x256 |
You can skip it if you need a model for commercial work, or a ready diffusers pipeline.
| Use case | Who | What they get back |
|---|---|---|
| Class-conditional generation | Researchers | An image for one integer label between 0 and 999 |
| Text-to-image generation | Researchers | A 512x512 image from a prompt read by a frozen CLIP-L encoder |
| Comparing results | Evaluators | Published scores such as GenEval 0.8987 for variant A |
You need Python, PyTorch and the project's inference code, because these are raw checkpoints.
pip install -U huggingface_hub hf download ByteDance-Seed/GenFirst
Load a prior and its VAE through the project's inference code, since the files are raw .pt checkpoints and not diffusers pipelines. For the class-conditional models, pass a single integer label. For text-to-image, give a prompt. The frozen text encoder reads it.
| Tool | What it does |
|---|---|
| End-to-end VAEs | Encoder and decoder from the end-to-end stage, each with its latent normalization statistics |
| SiT-XL priors | Class-conditional generation from one integer label |
| MMDiT-XL priors | Text-to-image generation with a frozen CLIP-L text encoder |
You choose the 800 epoch checkpoint at 256x256 and pass the integer label for one ImageNet class. The prior samples a latent for that class, and the paired VAE decodes it into an image. The card lists a gFID of 1.45 for this checkpoint without guidance.
Think of it as research code and weights, not an app. There is no text box to type in. A first small step is to download the files, read the card, and pick the 256x256 class-conditional checkpoint.
The VAE and the prior are trained at once. In phase 1 the prior shapes the latents. In phase 2 both weights drop tenfold so the decoder recovers detail. The priors are SiT-XL and MMDiT-XL, with 28 blocks, width 1152, 16 attention heads and about 675M parameters, each trained on a frozen VAE. Only the EiT diffusion-prior version is released, not the autoregressive EAR one. The 512 models reuse the frozen 256 f16d32 VAE and train only the prior.
The class-conditional priors were scored on ImageNet at 256x256, with and without guidance.
| Checkpoint | gFID | IS | gFID (guided) | IS (guided) |
|---|---|---|---|---|
| EiT, 80 epochs | 2.79 | 175.4 | 1.38 | 271.3 |
| EiT, 480 epochs | 1.60 | 216.8 | 0.988 | 270.7 |
| EiT, 800 epochs | 1.45 | 226.7 | 0.969 | 283.4 |
Research weights from ByteDance-Seed for image generators whose VAE and prior are trained together. They cover class-conditional and text-to-image sampling, for non-commercial research use.
Made by ByteDance-Seed on Hugging Face. These notes are Mindket's, written from its model page and model card; the model's own files and license are on Hugging Face.
What it is: GenFirst is a ByteDance-Seed research release about training a latent VAE together with a generative prior while avoiding latent collapse, which tends to make joint training unstable. Training runs in two phases: the first lets the prior shape the latent space, and the second cuts both weights tenfold so the decoder can recover detail. The release holds weights for class-conditional and text-to-image generation.
Who it suits: It suits researchers and engineers who work on image generation or latent diffusion and want to study or reproduce the method under non-commercial terms.
Industry | Who uses it | How they use it | Example
Academic research | Image-generation researchers | Study joint training of a VAE and a prior | Reproduce the class-conditional results at 256x256
Machine learning engineering | Teams exploring latent diffusion | Try the released SiT-XL and MMDiT-XL priors | Sample 512x512 images from a text prompt
Benchmarking | Evaluators | Compare scores across the released checkpoints | The 800 epoch checkpoint reaches a gFID of 1.45 at 256x256
You can skip it if you need a model for commercial work, or a ready diffusers pipeline.
Where to use it:
Use case | Who | What they get back
Class-conditional generation | Researchers | An image for one integer label between 0 and 999
Text-to-image generation | Researchers | A 512x512 image from a prompt read by a frozen CLIP-L encoder
Comparing results | Evaluators | Published scores such as GenEval 0.8987 for variant A
How to set it up: You need Python, PyTorch and the project's inference code, because these are raw checkpoints.
pip install -U huggingface_hub
hf download ByteDance-Seed/GenFirst
How to use it: Load a prior and its VAE through the project's inference code, since the files are raw .pt checkpoints and not diffusers pipelines. For the class-conditional models, pass a single integer label. For text-to-image, give a prompt. The frozen text encoder reads it.
Tool | What it does
End-to-end VAEs | Encoder and decoder from the end-to-end stage, each with its latent normalization statistics
SiT-XL priors | Class-conditional generation from one integer label
MMDiT-XL priors | Text-to-image generation with a frozen CLIP-L text encoder
Example: You choose the 800 epoch checkpoint at 256x256 and pass the integer label for one ImageNet class. The prior samples a latent for that class, and the paired VAE decodes it into an image. The card lists a gFID of 1.45 for this checkpoint without guidance.
For newcomers and experts: Think of it as research code and weights, not an app. There is no text box to type in. A first small step is to download the files, read the card, and pick the 256x256 class-conditional checkpoint.
The VAE and the prior are trained at once. In phase 1 the prior shapes the latents. In phase 2 both weights drop tenfold so the decoder recovers detail. The priors are SiT-XL and MMDiT-XL, with 28 blocks, width 1152, 16 attention heads and about 675M parameters, each trained on a frozen VAE. Only the EiT diffusion-prior version is released, not the autoregressive EAR one. The 512 models reuse the frozen 256 f16d32 VAE and train only the prior.
Phase 1: the prior shapes the latent space
Phase 2: drop both weights tenfold
The decoder recovers detail
Freeze the VAE and train a prior on it
Sample with the prior, decode with the VAE
Good to know: The class-conditional priors were scored on ImageNet at 256x256, with and without guidance.
Title: Class-conditional results at 256x256
Checkpoint | gFID | IS | gFID (guided) | IS (guided)
EiT, 80 epochs | 2.79 | 175.4 | 1.38 | 271.3
EiT, 480 epochs | 1.60 | 216.8 | 0.988 | 270.7
EiT, 800 epochs | 1.45 | 226.7 | 0.969 | 283.4
Title: GenEval score at 512x512, no prompt rewriting
Variant A: 0.8987
Variant B: 0.8920
Download its files with Hugging Face's command line:
pip install -U huggingface_hub
hf download ByteDance-Seed/GenFirst
Then follow the usage in its model card. Nothing in this kit runs by itself.
README.md 6 KB
Listed Hugging Face models in the same category that share the most tags with this one.
| Product | Downloads, last 30 days | Likes | Parameters | License | Last change |
|---|---|---|---|---|---|
| GenFirst This page | 0 | 7 | — | cc-by-nc-4.0 | |
| Cola DLMShares latent-diffusion · diffusion · pytorch | 93 | 51 | — | apache-2.0 | |
| pjit-21kShares text-to-image · diffusion · safetensors | 623 | 73 | 2.2B | apache-2.0 | |
| Hy-NomasShares diffusers · pytorch · safetensors | 90,896 | 153 | — | apache-2.0 | |
| Qwen-Image-BenchShares text-to-image · safetensors | 20,875 | 116 | 27.4B | apache-2.0 | |
| RFD4-Proteina-DiffusersShares diffusers · safetensors | 403 | 5 | 178M | bsd-3-clause |
Sokheng · Kit
Reads Khmer and English text from documents, receipts and photos of signs, using a detector for text lines and a recogniser for each line. Suits developers who…
Qwen · Kit
Qwen2.5-7B-Instruct as GGUF files in eight quantization sizes, to chat with locally through llama.cpp. For people who want a capable 7.6B model on their own co…
ACE-Step · Kit
Generates music from text with a 4B diffusion decoder, 50 steps and guidance control, aiming for higher audio quality than the base. For creators with a GPU of…
AbdomenAtlas · Kit
Detects and outlines tumors in 9 organs on CT scans, trained with the R-Super method that learns from radiology reports. A research model for medical imaging g…
dBenf · Kit
Answers typed questions about satellite image patches from all 12 Sentinel-2 bands, returning a probability for each option without writing text. A Qwen3.5-0.8…
zimmerk4 · Kit
Plays the full game Getting Over It from the bottom to the end with a small trained policy network that learned inside a JAX physics simulator. For reinforceme…