/ Модель

Характеристики

Параметры
3,2 млрд
Размер весов
123 ГБ
Архитектура
MoE
Опубликована
17 ноя 2026

WeGen2

Генерация изображенийТекст → изображение
221скачиваний за 30 дней26лайковвеса обновлены2 дек 2026

Описание модели

Составлено на русском по карточке модели и метаданным Hugging Face

WeGen2 — модель на основе MoE для создания и последовательного редактирования изображений по тексту и референсам.

WeGen2 — модель генерации и редактирования изображений, представленная авторами из SJTU, MMLab @ SIAT и WeChat Vision компании Tencent. Она объединяет текст, референсные изображения и ранее созданные результаты в общем контексте, чтобы создавать изображения, менять их по инструкциям и комбинировать визуальные элементы. Модель работает непосредственно с RGB-пикселями: архитектуры A-MoT и A-MoE связывают понимание и генерацию, а патч-модули подают изображения в основную сеть без отдельного предварительно обученного визуального энкодера или латентного автоэнкодера на этапе инференса.

В карточке Hugging Face указаны 3,2 млрд параметров, архитектура MoE и формат safetensors; README описывает отдельный чекпойнт на 61 млрд параметров, из которых на токен генерации активируется около 7 млрд. Публичный комплект весов также включает BF16 Qwen3-VL-30B-A3B-Instruct для улучшения промптов и занимает около 186 ГБ. Указанные примеры охватывают последовательное редактирование изображения и композицию по нескольким референсам. Модель оценивается по 11 бенчмаркам, но точные детали, сложная компоновка и согласованность длинных цепочек правок остаются сложными; генерация сама по себе не подтверждает геометрические размеры или управление физическими устройствами. Текстовое декодирование и визуальные вопросы-ответы обозначены как экспериментальные. В README лицензия не указана.

Сценарии применения

  • создание изображения по текстовому описанию
  • замена или изменение объектов на изображении с сохранением остального содержимого
  • редактирование текста и элементов макета на изображении
  • композиция изображения по нескольким референсам
  • последовательное внесение правок в ранее созданное изображение

Ограничения

Точные детали, сложная компоновка и согласованность длинных последовательностей правок могут быть затруднены; визуальные результаты не являются проверенными реконструкциями с точными размерами или политиками физического управления. Текстовое декодирование и визуальные вопросы-ответы экспериментальны, а запуск требует значительных ресурсов памяти.

Публичные бенчмарки

Результаты из открытых лидербордов в сравнении с лидерами каталога

Публичных оценок пока нет

В подключённых источниках результатов этой модели не нашлось. Отсутствие оценки не значит, что модель хуже: её могли просто не проверять.

Источники: Hugging Face Leaderboards, Hugging Face Eval Results, Open LLM v2, MTEB, timm, Open ASR, EvalPlus, LLM Stats

Карточка модели

README от автора на Hugging Face, как он его опубликовал

Открыть на Hugging Face

WeGen2 unifies generation, editing and composition in native pixel space. Text, reference images and earlier outputs share one context. 61B total parameters · approximately 7B activated per generation token.

Visual tour · Architecture · Download · Authors

Visual tour

One shared context for a visual idea—and everything it becomes.

Open the full-resolution try-on

Generated input · Open full image

A stunning Art Nouveau theatre playbill, flat vertical print filling the frame, cobalt and gold. A single orange phoenix perches on a curving branch beneath a golden disc, its fiery feathers curling through white lilies. At the top a wide ivory cartouche bears the meticulously typeset dark headline "FIRE BIRD"; at the very bottom a narrow navy ribbon says "ACT I". Only these two inscriptions. Distinct, perfectly legible lettering, crisp rich handmade mosaic pieces and strong composition.

White peacock · Open full image

Replace the orange phoenix illustration with a white peacock with a long emerald train and a delicate white crest on the same branch. Keep the lilies, gold disc, artwork style, and both printed inscriptions FIRE BIRD and ACT I exactly as they are.

Title and subtitle · Open full image

On the upper ivory cartouche replace FIRE BIRD with “THE JADE BIRD”. Set the subtitle “A BALLET IN TWO ACTS” on a smaller line immediately beneath the title. Keep the white peacock, emerald train, gilded border and ACT I footer.

Venue and time · Open full image

Make the bottom ACT I cartouche a two-line ivory ticket. Print “RIVER HALL” in small caps and “FRIDAY 18 JUNE AT 8 PM” below it. Keep the rest of the playbill exactly as printed.

Original prompts and full images · Explore the project page

Inside the model

A-MoT connects understanding and generation through joint attention, with image and timestep residual pathways inside generation. A-MoE combines shared and token-routed experts. Learned patch modules connect RGB images directly to the backbone, without a separate pretrained vision encoder or latent autoencoder at inference.

PropertyWeGen2
Parameters61B total; approximately 7B activated per generation token
RepresentationNative RGB pixels
ConditioningText, reference images and earlier outputs
Weight formatBF16 safetensors
Visual textChinese and English

Explore the architecture · Results across 11 benchmarks

Download and create

Checkpoint access. The weights are public and can be downloaded without requesting access or logging in. The download contains the WeGen2 image model and the BF16 Qwen3-VL-30B-A3B-Instruct prompt enhancer. WeGen2 reads its own checkpoint from the root directory and its prompt enhancer from prompt_enhancer/. The two sets of weights occupy about 186 GB on disk.

Use Python 3.10 or newer and an appropriate PyTorch build for your environment, then install the standalone inference package:

git clone https://github.com/WeChatCV/WeGen2.git
cd WeGen2
pip install -e .
hf download GrayShine/WeGen2 --local-dir ./weights/WeGen2

If you already have the WeGen2 image model, download the enhancer into the same directory:

hf download GrayShine/WeGen2 --include 'prompt_enhancer/*' --local-dir ./weights/WeGen2

The enhancer runs locally on CPU by default. To accelerate it, pass pe_device to from_pretrained or use the global CLI option --pe-device. Its BF16 weights require about 58 GiB of memory, plus working space.

Generate an image, then use it as the input to a new edit:

from wegen2 import WeGen2Pipeline

pipe = WeGen2Pipeline.from_pretrained(
    "./weights/WeGen2", devices="auto"
)
image = pipe.generate(
    "An intricate paper mountain city, a red train on a curved bridge, "
    "layered jade-green paper, warm studio light."
)
image.save("paper-world.png")

night = pipe.generate(
    "Change the scene to night. Light the windows.",
    images=[image],
)
night.save("paper-world-night.png")

For multiple references, pass an ordered list in images. For conversation-based creation, use session = pipe.session() and call session.generate(...) for each turn. The model uses its standalone inference package, rather than a Diffusers pipeline or Transformers auto class.

Inference guide · 中文使用说明

Release status

The project page and standalone inference code are public. The paper is available on arXiv, and the BF16 weights are public.

The accompanying report evaluates generation, editing and composition across 11 benchmarks. Selected gallery images demonstrate capabilities and do not replace aggregate evaluation.

Fine details, exact layouts and consistency across long edit sequences can remain challenging. Architectural outputs are visual concepts rather than dimensionally verified reconstructions. The featured sequence above uses successive image edits. Comic panels on the project page were generated sequentially and assembled; other multi-panel examples are generated as single images. Robot and driving examples are image edits, rather than physical task executions or validated control policies. Text decoding and visual question answering are experimental for the current image checkpoint; repeated punctuation can occur.

Memory requirements depend on image resolution, context length and runtime configuration.

Как запустить

На своей GPU в ailist. Цена — по текущим предложениям провайдеров

GPU в ailist

Универсальный рантайм

Нельзя запустить

Не удалось определить, чем загружать веса модели (нет library_name и architectures).

Ревизия весов
2801baa

0 моделей