Beers: ERNIE's 4.5B VLM Draws Images Without a VAE
Beers is an open-weights 4.5B model from the ERNIE research team that generates and edits images inside a Qwen3-VL backbone, with no VAE and no separate diffusion model.
Three checkpoints are on Hugging Face, one per training stage, and the paper (arXiv 2612.03216) is dated 2026-12-02. The small generation head is the only new part: the vision encoder and language backbone stay as they were.
The noisy image goes through the same vision encoder at every denoising step, and the pixel head turns backbone features into 16 × 16 RGB patches.
What it does
Text-to-image and instruction editing in one model, at up to 2048 × 2048 from the CPT and SFT checkpoints (the base checkpoint stops at 1024²). Multi-reference and multi-turn editing arrive in the same stages.
The authors also report that multi-turn editing appeared before it was trained: Stage 3 checkpoints, trained on single-turn edits only, already carry a constraint such as "all subsequent edits are yellow" into the next turn.
Top: a text constraint carried across turns. Bottom: referring back to an earlier image, before any multi-turn data entered training.
Benchmarks
Beers is 4.5B in total and competes with unified models two to four times larger, though it trails a dedicated 20B editing model.
| Model | Size | Qwen-Image-Bench ZH | Qwen-Image-Bench EN | OneIG EN | LongText EN |
|---|---|---|---|---|---|
| Qwen-Image (gen only) | 20B | 49.23 | 48.48 | 0.539 | 0.943 |
| Beers | 4B + 0.5B | 48.97 | 48.58 | 0.545 | 0.963 |
| SenseNova-U1 | 8B + 8B | 45.99 | 48.28 | 0.549 | 0.979 |
| UniSpace | 8B + 8B | 46.05 | 47.05 | 0.561 | – |
| BAGEL | 7B + 7B | 42.15 | 43.45 | 0.361 | 0.373 |
On editing it scores 3.66 on ImgEdit, behind Qwen-Image-Edit-2511 (20B, 4.51) but ahead of BAGEL and InternVL-U. Understanding is mostly kept from the Qwen3-VL backbone, with one clear loss: MMMU drops from 67.4 to 53.7, while MathVista rises slightly (73.7 → 74.6).
The three checkpoints
| Checkpoint | Training stage | Resolution | Adds |
|---|---|---|---|
| Beers-base | End of high-resolution pretraining | 1024² | T2I and single-turn editing, a starting point for your own training |
| Beers-CPT | End of capability expansion | 2048² | Multi-turn and multi-reference editing, harder tasks |
| Beers-SFT | Supervised fine-tuning | 2048² | Image quality, instruction following, output consistency |
Running it
The repository ships its own model code and a single-file inference script. It needs a CUDA build of PyTorch and about 10 GB of bf16 weights.
python run.py --model-path /path/to/Beers-SFT \
--mode generate --prompt "A white cat lying on the grass under warm afternoon light" \
--height 128 --width 128 --steps 75 --shift 3.0 --cfg-scale 4.0 --kappa 0.35 --seed 42--height and --width are grid sizes, not pixels: each unit is 16 px, so 128 × 128 gives a 2048 × 2048 image. The same script handles editing and image understanding through model.generate_image and the chat interface.
Availability
There is no ComfyUI node or Comfy-Org repackage yet, and the GitHub repository linked from the project page was not public when this was written, so the Hugging Face repositories are the only way to run it: transformers with trust_remote_code=True, or the bundled run.py. Outputs are uneven at this stage, and the first community reactions already call the quality below closed models.
Text-to-image output from the project gallery, 2048 × 2048.
Comments
Sign in with GitHub to join the discussion.