/ Модель

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

Лицензия
Apache 2.0
Базовая модель
laya
Библиотека
devision
Опубликована
3 окт 2026

devision

Вопросы по изображениюИзображение, текст → текст

deVision — англоязычная модель для ответов на вопросы о изображениях с выбором из вариантов и откалиброванными вероятностями, способная работать на CPU.

32скачиваний за 30 дней0лайковвеса обновлены7 окт 2026

Бенчмарки

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

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

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

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

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

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

deVision v0.2 — визуально-языковая модель проекта deVision, объединяющая замороженный энкодер изображений SigLIP2-B/16 и инициализированную весами Laya модель принятия решений ModernBERT-large. Она принимает одно изображение и вопрос на английском языке, оценивает варианты ответа для вопросов да/нет и вопросов с выбором и возвращает структурированные ответы с откалиброванными вероятностями вместо свободной генерации текста. Для одного изображения можно кодировать его один раз и задавать несколько вопросов; модель рассчитана на работу на CPU.

Модель содержит около 518 млн параметров, использует входное изображение размером 256 × 256 и выдаёт 64 визуальных токена. Обучение включало выравнивание проектора на подписях COCO и обучение решающей части с RLCD на наборах вопросов по изображениям. В оценках проекта показаны результаты на VQAv2 и наборах вопросов об объектах; это тесты на подвыборках проекта, а не официальные результаты лидерборда.

Модель предназначена для ответов на визуальные вопросы с выбором из заданных вариантов и оценки наличия объектов. Она хуже справляется с пространственными отношениями, сравнением двух частей изображения и мелким текстом; склонна чаще отвечать «да» на вопросы о наличии объектов. Калибровка вероятностей может не переноситься на другие данные. Распространяется по лицензии Apache-2.0.

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

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

Ограничения

Слабо справляется с вопросами о сравнении двух областей изображения и относительном расположении объектов, а также может чаще отвечать «да» при проверке наличия объекта. Разрешение 256 × 256 не подходит для мелкого текста, а калибровка может не переноситься на другие данные.

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

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

Открыть на Hugging Face

deVision v0.2

Image + English questions → structured answers with calibrated probabilities. deVision pairs a SigLIP2 vision encoder with Laya's ModernBERT decision model. It scores the options of yes/no (noul) and multiple-choice (choice) questions instead of generating text, follows the Jev answer format, and runs without a GPU. Several questions about one image share a single image encoding.

Usage

pip install devision
import devision

model = devision.load("lukbit/devision")   # latest release; revision="v0.2" pins this one; device defaults to auto
result = model.predict(
    image="photo.jpg",   # a path, an http(s) URL, a data URI, base64, bytes or a PIL image
    state="",            # text context; "" when there is none
    questions={
        "has_fork": {"type": "noul", "instructions": "Is there a fork in the image?"},
        "room": {"type": "choice", "instructions": "Which room is this?",
                 "criteria": {"kitchen": None, "bathroom": None, "bedroom": None}},
    },
)
print(result["answers"]["has_fork"]["noul"])        # probability of yes
print(result["answers"]["room"]["probabilities"])   # one probability per option, summing to 1

HTTP server with a browser demo at http://127.0.0.1:8000:

devision-serve --checkpoint lukbit/devision --port 8000
curl -s http://127.0.0.1:8000/v1/systemone -H 'Content-Type: application/json' \
  -d '{"image": "https://example.com/photo.jpg", "state": "", "questions": {"has_fork": {"type": "noul", "instructions": "Is there a fork in the image?"}}}'

Over HTTP, image is an http(s) URL, a data URI or base64; the server never reads its own files. Responses follow Jev; confidence for choice is (n * p_max - 1) / (n - 1). Invalid requests return 422 (devision.InvalidRequest in Python).

Good for: whether something is present and how many (ask counts as a choice), what kind of thing or scene, colours and materials, up/down and left/right in photos (as a choice). Not for: comparing two places on a diagram, chart or map; relative-position yes/no questions; small text; other languages or several images. Use the probabilities as thresholds and send uncertain cases to a person or a stronger model, after checking the thresholds on your own data.

Evaluation

Accuracy through decide with the fitted temperatures. Mismatched: the same questions with every picture swapped for an unrelated one. Test sets use held-out pictures; they are project subsets, not official leaderboard scores.

SetQuestionsAccuracyMismatchedECE
COCO object presence1,1200.9380.4930.020
VQAv2 multiple choice1,4200.8980.3990.026
COCO size1,1000.8600.5040.036
POPE, project filtered set8,6760.8510.5270.058
GQA val subset9920.7840.5320.042
COCO position1,2740.8720.4930.025
VQAv2 yes/no subset1,0000.7100.5180.022
COCO relative position1,9500.7110.4840.047
VSR, project held-out split9040.6790.4810.048
Visual7W, project held-out split1,0000.7210.4220.030
Fresh counting test (unseen pictures)6000.7400.5070.065

Against Laya Vision 201M on the same questions (its published per-question predictions; difference in points, 95% interval from paired resampling by picture):

SetQuestionsLaya VisiondeVisionDifference
VQAv2 yes/no4,8870.7170.725+0.8 [-0.9, +2.3]
A-OKVQA1,1380.5980.626+2.7 [-0.6, +6.0]
ScienceQA with images2,0970.8240.766-5.8 [-7.9, -3.6]
ScienceQA natural science, needs the picture3230.7000.455-24.5 [-31.6, -17.6]

On the full POPE random / popular / adversarial sets (3,000 questions each) deVision scores 0.891 / 0.868 / 0.791, against Laya Vision's published 0.836 / 0.819 / 0.777 (aggregate scores only, not paired).

CPU latency: P50 148 ms, P95 161 ms (Darwin arm64, 4 threads, FP32, one question per request, warm-up excluded).

Model

VisionFrozen SigLIP2-B/16, 256 × 256 letterboxed input, 64 visual tokens after a 2 × 2 merge and an MLP projector
DecisionLaya-initialised ModernBERT-large and Laya's decision head; each option is scored at its [MASK], then a temperature-scaled softmax
SizeAbout 518M parameters, FP32, 2.07 GB (LoRA merged)

Training: the projector is first aligned on COCO captions, then the decision is trained with Laya's RLCD objective on yes/no and multiple-choice questions (projector, decision head and a LoRA on ModernBERT), round after round. This release continued for one pass over 353,830 questions, 315,342 of them from thirteen public datasets (Objects365, TallyQA, CLEVR, CLEVR-Math, Super-CLEVR, FigureQA, MapQA, IconQA, SNLI-VE, Vision-Flan, VisOnlyQA, SpatialSense, PixMo-Count) and the rest replaying earlier data (VQAv2, GQA, A-OKVQA, ScienceQA, VSR, Visual7W, COCO-derived questions). Temperatures are fitted per question type and option count. Details: the training log.

Limitations

  • Comparing two places named in the question (two magnet poles, two chart series, two map regions) stays near chance; on the ScienceQA questions that need the picture it is about 24 points behind Laya Vision.
  • Relative-position yes/no questions are weak: right on both a picture and its mirror for only 19% of pairs (65% for relative-position choice questions).
  • Presence leans towards "yes": it says an absent object is there more often than the previous release (POPE adversarial 0.791).
  • English only, one image, noul and choice only; 256 × 256 input, so no small text.
  • Calibration was fitted on this project's data and may not hold on yours.

Licence

Weights and code: Apache-2.0, like the three base models (Laya, SigLIP2, ModernBERT). The training datasets (listed in this card's metadata) have their own terms, some non-commercial (e.g. ScienceQA, CC BY-NC-SA 4.0); check them against your use.

Links

Code and training records (this release: tag model-v0.2) · evaluation details · provenance · Laya Vision

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

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

GPU в ailist

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

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

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

Ревизия весов
b971e2b

0 моделей