/ Модель

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

Лицензия
Gemma
Архитектура
paligemma · dense
Базовая модель
paligemma-3b-mix-224
Библиотека
transformers
Опубликована
27 июн 2026

paligemma-blind-assist-lora-merged-v1

Изображение и текст → текст3 профессии
88скачиваний за 30 дней0лайковвеса обновлены10 ноя 2026

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

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

Дообученная PaliGemma 3B для ответов на вопросы об изображениях и описания сцен в помощь незрячим и слабовидящим пользователям.

Модель lamao-ab/paligemma-blind-assist-lora-merged-v1 разработана как адаптация PaliGemma 3B Mix 224 для задач визуальной доступности. Это плотная мультимодальная модель Google PaliGemma с 2,92 млрд параметров: LoRA-адаптер ранга 8 обучен на данных VizWiz и объединён с базовыми весами в самостоятельный чекпойнт bf16. Модель принимает изображение и текстовый запрос и генерирует текстовый ответ; предназначена для визуальных вопросов и описания сцен для незрячих и слабовидящих пользователей.

В README приведены результаты на VizWiz: точность VQA выросла с 73,95 до 75,80, а CIDEr-D для описаний изображений — с 55,31 до 98,08. На общих наборах VQAv2 и COCO-Caps наблюдалось небольшое снижение отдельных метрик. Для хранения модели требуется около 5,45 ГБ памяти. Лицензия Gemma; применяются условия лицензии Google Gemma.

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

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

Ограничения

Модель ориентирована на изображения и сценарии VizWiz; качество может отличаться на других типах изображений и задачах. README сообщает о небольшом снижении результатов на общих наборах VQAv2 и COCO-Caps по сравнению с базовой моделью.

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

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

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

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

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

Бенчмарки пользователейпока нет

Никто ещё не опубликовал тест этой модели. Соберите бенчмарк из своих задач — результат появится здесь рядом с другими моделями теста

  1. Добавьте модель в бенчмарк

    Вместе с другими моделями категории «Изображение → текст» — сравнение идёт внутри одной категории.

  2. Опишите свои задачи

    Напишите запросы, при необходимости приложите файлы и эталонные ответы.

  3. Запустите и опубликуйте

    Модели ответят на каждую задачу, судья оценит ответы по шкале 0–100.

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

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

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

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

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

Открыть на Hugging Face

👁️ PaliGemma-BlindAssist: A parameter-efficient vision-language model adapter for blind assistance VQA & Captioning using LoRA

Model Adapter Dataset License


🎯 Model Overview

A full-precision (bfloat16) adaptation of google/paligemma-3b-mix-224 for accessibility vision-language tasks, trained with LoRA on the VizWiz datasets and merged into a standalone checkpoint (seed 123). It performs visual question answering and scene captioning for blind and low-vision users.

It is the full-precision counterpart of the 4-bit QLoRA variant, which is the variant intended for on-device deployment: this bfloat16 model does not fit on the 8 GB Jetson Orin Nano (out-of-memory error at load). LoRA and QLoRA are two practical training recipes that differ in more than weight precision (optimizer, k-bit preparation and loading path). Compared with the QLoRA recipe, the three-seed means differ by 0.09 points on VizWiz-VQA (95% paired interval −0.38 to +0.19) and by 1.35 CIDEr-D on the VizWiz-Captions test images (QLoRA lower in every seed).

Adaptation improves the target task. On the VizWiz-Captions test images, CIDEr-D rises from 60.17 (base model, generic prompt) to 104.37 (three-seed mean; 105.37 for this checkpoint) and the mean caption length from 5.00 to 10.19 words, matching the dataset's more descriptive reference style. VizWiz-VQA accuracy rises from 73.95 (generic prompt) or 74.83 (accessibility prompt) to 75.80, a gain of +0.97 points over the better base setting. General-domain performance declines modestly, by 0.50 points on VQAv2 and by 5% relative on COCO-Caps; COCO is a retention measure and not a held-out test (75.3% of COCO val2014 are restval images that the base model's card lists as COCO training data).

🔧 Specifications

  • Base: google/paligemma-3b-mix-224 (bfloat16)
  • Adapter: LoRA, rank 8, alpha 16, dropout 0.05 · 11,298,816 trainable params (0.385 %)
  • Target modules: applied to the language model (q/k/v/o_proj, gate/up/down_proj; 126 modules, 9,805,824 parameters) and to the vision encoder (SigLIP q/k/v projections; 81 modules, 1,492,992 parameters)
  • Data: 137,678 train / 27,569 val · seed 123
  • Schedule: 3 epochs (3,228 steps) · effective batch 128 (16 × 8 grad-accum) · max seq 512 · checkpoint-2152 (end of epoch 2) selected by validation loss
  • Optimiser: adamw_torch_fused · LR 2e-4, cosine (warmup 0.03)
  • Parameters: 2.92 B (adapter merged into the base weights)
  • Precision: bf16 (merged, standalone)
  • Size: 5.85 GB on disk · 5.45 GB in memory after loading
  • Training peak VRAM: 53.1 GB

📊 Measured Performance

VizWiz-Captions results on the test images are the main captioning results. The VizWiz-Captions validation images contributed to checkpoint, rank and mixing-ratio selection through the validation loss; the test images were not used for selection. LoRA/QLoRA rows are mean ± std over 3 adapter seeds (42, 123, 7); this checkpoint is the seed-123 run (see "This checkpoint"). Adapted models are evaluated with the accessibility prompt; the base model is shown under its generic prompt and, for VizWiz, also under the accessibility prompt.

Blind-domain (target task) — VizWiz

VizWiz-VQA (test)

ModelOverallYes/NoNumberOtherUnans.
Base (generic prompt)73.9588.7166.1066.1091.67
Base (accessibility prompt)74.8387.1664.6366.4094.52
LoRA75.80 ±0.2186.5567.5666.5497.73

VizWiz-Captions (test)

ModelCIDEr-DBLEU-4METEORROUGE-LLen.
Base (generic prompt)60.1712.5314.2229.405.00
Base (accessibility prompt)25.010.487.0015.671.83
LoRA104.37 ±1.3631.70 ±0.2023.82 ±0.3150.63 ±0.4110.19

VizWiz-Captions (validation)

ModelCIDEr-DBLEU-4METEORROUGE-LLen.
Base (generic prompt)55.3112.0714.0828.765.03
LoRA98.08 ±1.5130.77 ±0.3623.45 ±0.3149.54 ±0.4710.30

This checkpoint (seed 123, merged bfloat16)

VizWiz-VQA testCaptions test CIDEr-DCaptions val CIDEr-D
This checkpoint76.05105.3799.16
Unmerged seed-123 adapter75.91105.6599.05

On this checkpoint: VizWiz-VQA yes/no 85.44, number 65.77, other 66.89, unanswerable 98.05; VizWiz-Captions test BLEU-4 31.80, METEOR 24.09, ROUGE-L 50.93, 10.31 words per caption.

General-domain (control) — VQAv2 / COCO-Caps (generic prompt)

VQAv2 (test-standard)

ModelOverallYes/NoNumberOther
Base81.6594.7467.5373.49
LoRA81.15 ±0.0494.5766.3872.85

COCO-Caps (val2014; a retention measure, not a held-out test)

ModelCIDEr-DBLEU-4METEORROUGE-LLen.
Base131.2131.9630.6259.1712.40
LoRA124.54 ±1.3634.58 ±0.3930.63 ±0.0658.62 ±0.1911.20

🧪 Evaluation protocol

  • Prompts (accessibility): VQA <image>Assist a blind person: {question}; captioning <image>Describe this scene for a blind person.
  • Decoding: greedy, at most 64 new tokens, batch size 128.
  • VizWiz-VQA metric: the official consensus score, i.e. the average over the ten leave-one-out annotator subsets of min(1, matches/3). It is not a binary indicator.
  • VizWiz-Captions test: the officially released evaluation captions, matched to the test images by the authors (the file provides 7,983 caption sets for the 8,000 test images, 9 of which match no image, so 7,974 images are evaluated).
  • Reproducibility: predictions, scorers, per-run score files and an evaluation manifest are in the code repository. Every reported score is recomputed exactly from the released predictions. Greedy generation can differ slightly between hardware and batch compositions, so differences below about 0.15 points should not be interpreted.
  • Revision: the paper cites revision 0545d03 of this repository. Editing this card does not change the weights; use the full commit hash from the commit history to pin that revision.

⚠️ Scope and limitations

These figures characterize model-level behaviour on benchmarks. The model has not been evaluated with blind or visually impaired users and is not a validated assistive product. It can give confident wrong answers and should not be relied on for safety-critical decisions such as medication, expiry dates or street crossing.

🚀 Usage

from transformers import PaliGemmaForConditionalGeneration, PaliGemmaProcessor
from PIL import Image
import torch

repo = "lamao-ab/paligemma-blind-assist-lora-merged-v1"
model = PaliGemmaForConditionalGeneration.from_pretrained(
    repo, torch_dtype=torch.bfloat16, device_map="auto"
)
processor = PaliGemmaProcessor.from_pretrained(repo)

image = Image.open("example.jpg").convert("RGB")
prompt = "<image>Describe this scene for a blind person."   # VQA: "<image>Assist a blind person: <question>"
inputs = processor(text=prompt, images=image, return_tensors="pt").to(model.device)
out = model.generate(**inputs, max_new_tokens=64, do_sample=False)
print(processor.decode(out[0][inputs["input_ids"].shape[-1]:], skip_special_tokens=True))

📄 License

Inherits the Gemma license from the base model.

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

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

GPU в ailist

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

Можно запустить

Подбираем GPU…

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

0 моделей