/ Модель

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

Контекст
32 768 токенов
Параметры
3 млрд
Размер весов
19,4 ГБ
Лицензия
Apache 2.0
Архитектура
zaya1_vl · MoE
Базовая модель
ZAYA1-base
Библиотека
transformers
Опубликована
20 апр 2026

ZAYA1-VL-8B

Изображение и текст → текст12 профессий

Открытая vision-language модель Zyphra для диалога, анализа изображений и ответов на вопросы по визуальному содержимому.

155 тыс.скачиваний за 30 дней42лайкавеса обновлены17 мая 2026

Бенчмарки

Как модель справилась с задачами пользователей ailist и что о ней публикуют открытые лидерборды

Публичные оценки

Из открытых лидербордов. Сравнивайте результаты одного теста при одинаковых условиях — отсутствие оценки не значит, что модель хуже.

В подключённых источниках результатов для этой модели пока нет.

Что умеет модель

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

ZAYA1-VL-8B — открытая vision-language модель Zyphra для диалога и ответов на вопросы по изображениям. Она использует ZAYA1-8B как текстовый декодер и визуальный энкодер Qwen2.5-VL; архитектура включает специализированные LoRA-параметры для обработки зрительных токенов и двунаправленное внимание к токенам изображения. В карточке указано 3 млрд параметров, контекст до 32 768 токенов и поддержка изображений и текста.

Модель предназначена для анализа изображений, диаграмм и документов, а также визуальных вопросов и ответов. В README приведены результаты на наборах AI2D, ChartQA и DocVQA. Для запуска требуется форк Transformers с веткой zaya1-vl и дополнительные зависимости, включая qwen-vl-utils и flash_attn. Модель распространяется по лицензии Apache 2.0.

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

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

Ограничения

Для запуска требуются форк Transformers с веткой zaya1-vl и дополнительные зависимости. В README результаты оценки приведены на ограниченном наборе визуальных бенчмарков, поэтому они не гарантируют качество во всех сценариях.

Для каких профессий подходит12

Разделы каталога профессий, в задачах которых используется эта модель

Все профессии

Также подходит для

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

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

Открыть на Hugging Face

ZAYA1-VL-8B

ZAYA1-VL-8B is a vision-language model (VLM) built upon Zyphra's ZAYA1-8B LLM. It has state-of-the-art performance among VLMs for its size and inference efficiency.

ZAYA1-VL-8B is open-sourced under the Apache 2.0 license.

Model Architecture

Screenshot 2026-05-08 at 3.28.56 PM

ZAYA1-VL-8B builds upon and uses our ZAYA1-8B LLM as its base text decoder. We also use the Qwen2.5-VL vision encoder for the ViT. ZAYA1-VL-8B introduces two novel architectural innovations:

  • Vision-specific LoRA parameters: ZAYA1-VL-8B utilizes specialized LoRA parameters on its MLPs and CCA weights which are only activated on vision tokens. We find that adding vision-specific parameters substantially improves model performance since the model has the option to devote specific parameters solely to visual processing. We train these LoRA parameters alongside the main model parameters during training.

  • Bidirectional Attention for image tokens: ZAYA1-VL-8B processes all image token inputs with a bidirectional attention mask, meaning attention is not causal across an image. We find that this improves performance by not imposing an arbitrary causal order to image tokens which are naturally non-causal.

ZAYA1-VL-8B is trained only upon open data. Detailed dataset descriptions can be found in the accompanying technical report.

Performance

zyphra_active_param_scatter_ylabels

ZAYA1-VL-8B performs extremely strongly against models of a comparable size and inference flops including outperforming several strong larger models.

EvalZAYA1-VL-8B(0.7B / 8B)MolmoE(1.2B / 8B)Qwen3.5-2BInternVL3.5-20B(20B / 4B)Molmo2-4BQwen3.5-4B
AI2D (test)87.582.586.785.593.893.4
ChartQA (test)82.277.978.487.086.182.4
DocVQA (test)92.577.7--92.987.8--
InfoVQA (test)74.053.9--78.178.6--
TextVQA (val)74.478.179.078.583.181.1
OCRBench79.855.083.186.762.085.3
VQA v2.0 (val)80.082.878.378.485.380.4
MathVista (mini)64.039.152.973.556.582.3
MMMU (val)46.0--49.272.648.856.9
SEED (image)72.768.775.876.878.076.6
Blink (val)45.9--61.058.963.556.8
RealWorldQA65.060.469.071.273.874.2
CountBenchQA88.177.484.282.191.284.8
PixMoCount (test)83.145.265.547.387.084.2
Point-Bench (avg)58.058.040.6--68.564.4
RefCOCO (avg)84.3--80.189.1--87.7

All numbers are run on the Zyphra evaluation harness (based on VLMEvalKit). Models are ordered by total parameter count. Bold indicates the best score in each row, while underlined values indicate the lowest score.

Quick start

Prerequisites

To use ZAYA1-VL, install zaya1-vl branch from our fork of transformers library, which is based on the v4.57.1 of transformers:

pip install "transformers @ git+https://github.com/Zyphra/transformers.git@zaya1-vl"
pip install qwen-vl-utils==0.0.2
pip install flash_attn

The command above relies on requirements for transformers v4.57.1 being installed in your environment. If you're installing in a fresh Python environment, you might want to specify a specific extra, like [dev-torch], to install all the dependencies:

pip install "transformers[dev-torch] @ git+https://github.com/Zyphra/transformers.git@zaya1-vl"

For the fastest setup, ensure your environment matches an existing flash_attn wheel, otherwise the installation will build from source.

Inference

from transformers import Zaya1VLForConditionalGeneration, Zaya1VLProcessor
import torch
from PIL import Image
from qwen_vl_utils import process_vision_info
import requests

device = "cuda"
processor = Zaya1VLProcessor.from_pretrained("Zyphra/ZAYA1-VL-8B", temporal_patch_size=1)
model = Zaya1VLForConditionalGeneration.from_pretrained("Zyphra/ZAYA1-VL-8B", device_map=device, torch_dtype=torch.bfloat16, attn_implementation="flash_attention_2")

url = "http://images.cocodataset.org/val2017/000000039769.jpg"
image = Image.open(requests.get(url, stream=True).raw)
question = "What do you see in the image? Give us some detail."
num_img_tokens = 8000

conversation = [
    {"role": "user", "content": [
        {"type": "image", "image": image, "max_pixels" : num_img_tokens * 28 * 28, "min_pixels" : 10 * 28 * 28},
        {"type": "text", "text": question},
      ]
    },
]
prompt = processor.apply_chat_template(conversation, add_generation_prompt=True)
images, _ = process_vision_info(conversation)
inputs = processor(text=prompt, images=images, add_special_tokens=True, return_tensors="pt")
inputs = {key: value.to(device) for key, value in inputs.items()}

outputs = model.generate(**inputs, max_new_tokens=100)
print(processor.tokenizer.decode(outputs[0][inputs["input_ids"].shape[-1]:]))

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

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

GPU в ailist

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

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

Архитектура zaya1_vl неизвестна transformers в образе рантайма.

Класс архитектуры
Zaya1VLForConditionalGeneration
Ревизия весов
2967258

0 моделей