/ Модель

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

Контекст
128 000 токенов
Параметры
7,1 млрд
Размер весов
16,6 ГБ
Лицензия
Apache 2.0
Архитектура
qwen2_5_vl · dense
Базовая модель
Qwen2.5-VL-7B-Instruct
Библиотека
transformers
Опубликована
31 авг 2026

Oculora

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

Oculora — дообученная мультимодальная модель для анализа офтальмологических изображений и генерации исследовательских клинических ответов и отчётов.

59скачиваний за 30 дней1лайквеса обновлены31 авг 2026

Бенчмарки

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

Тесты пользователейпока нет

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

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

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

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

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

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

    Модели ответят на каждую задачу, судья оценит ответы. Опубликованный результат появится на этой странице.

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

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

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

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

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

Oculora — мультимодальная модель для офтальмологии, разработанная на базе Qwen2.5-VL-7B-Instruct. Модель содержит 7,1 млрд параметров и дообучена в три этапа: на 1,33 млн пар изображение–текст, 360 тыс. офтальмологических инструкций и с помощью риск-ориентированной оптимизации DAPO. Она принимает изображения и текст, а ответы формирует в текстовом виде; заявленная длина контекста — 128 000 токенов.

Модель предназначена для исследований в области офтальмологических VLM, ретроспективной оценки на обезличенных данных, визуальных вопросов и ответов, подготовки офтальмологических отчётов и консультационных ответов по клиническому контексту и снимкам. Карточка сообщает об оценке на семи типах изображений и более чем 300 офтальмологических состояниях, а также о результатах на внутренних и внешних тестах. Лицензия — Apache-2.0.

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

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

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

Ограничения

Модель предназначена только для исследований и ретроспективной оценки на обезличенных данных; её нельзя использовать для диагностики, сортировки пациентов или выбора лечения, а клинические ответы должен проверять офтальмолог. Поведение вне оценённых данных, включая другие языки, популяции, модальности и качество изображений, не измерено; возможны смещения и ошибки на редких состояниях и недостаточно представленных группах.

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

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

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

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

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

Открыть на Hugging Face

Oculora

A unified ophthalmic VLM for understanding and clinical generation

1.33 M image–text pairs · 360 K ophthalmic instructions · 7 imaging modalities · 300+ ophthalmic conditions

⚠️ Research use only. Oculora is a research artifact — not a medical device. It is not cleared or approved by any regulatory body and must not be used for diagnosis, triage or treatment decisions for real patients. See Intended use and limitations.

Highlights

  • Ophthalmology specialist — Qwen2.5-VL-7B adapted through three stages: pretraining on 1.33 M image–text pairs, supervised fine-tuning on 360 K ophthalmic instructions, and risk-aware DAPO policy optimization.
  • Two evaluation axes — multimodal understanding (multiple-choice and short-answer questions) and open-ended clinical generation (report generation and medical consultation).
  • Broad coverage — a 22,000-sample internal test set plus four external benchmarks spanning seven imaging modalities and over 300 ophthalmic conditions.
  • Leads every free-text benchmark — first on every generation metric across OphthalVQA, FFA-IR and JAMA Challenge against Qwen3-VL, MedGemma and Lingshu (all P < 0.001).
  • Clinically reviewed — ranked highest overall for correctness and control of unsupported content in a 50-case blinded review, with 0.94 agreement (95% CI 0.90–0.97) between LLM-judge and ophthalmologist rankings.
  • Reproducible out of the box — the shipped generation_config.json and preprocessor_config.json reproduce the evaluated configuration exactly.

Previous ophthalmic vision–language model (VLM) studies have commonly evaluated visual question answering and report generation, with limited evidence for medical consultation. Medical consultation requires models to synthesize clinical context and imaging findings into diagnostic and management-oriented responses without predefined answers or explicit diagnostic cues. Here we developed Oculora, a 7B-scale ophthalmic VLM trained on 1.33 million image–text pairs and 360,000 ophthalmic instructions through staged pretraining, supervised fine-tuning and risk-aware policy optimization. We assessed multimodal understanding with multiple-choice and short-answer questions and open-ended clinical generation with report generation and medical consultation on a 22,000-sample internal test set and four benchmarks spanning seven modalities and over 300 ophthalmic conditions. Evaluation combined prespecified task-specific metrics with five-point clinical-quality ratings from large language model judges and senior ophthalmologists. Multiple-choice accuracy was 0.820 internally and 0.674 on JSIEC. Oculora led all generation metrics across three external free-text benchmarks (all P < 0.001). On JAMA Challenge, ROUGE-L was 0.500 versus 0.311 and BERTScore-F1 was 0.927 versus 0.893 for Qwen3-VL-8B. In a 50-case blinded review, Oculora ranked highest overall for correctness and control of unsupported content; LLM and ophthalmologist rankings agreed (0.94, 95% CI 0.90–0.97). These findings show that a specialized ophthalmic VLM can support both multimodal understanding and open-ended clinical generation.

Quickstart

Requires transformers >= 4.57.1. Greedy decoding and max_pixels = 262144 are already the shipped defaults, so loading the model as-is reproduces the reported configuration — no extra flags required.

import torch
from transformers import Qwen2_5_VLForConditionalGeneration, AutoProcessor

model = Qwen2_5_VLForConditionalGeneration.from_pretrained(
    "pxiaoyu/Oculora",
    dtype=torch.bfloat16,
    device_map="auto",
)

# max_pixels = 262144 is already the shipped default
processor = AutoProcessor.from_pretrained("pxiaoyu/Oculora")

messages = [{
    "role": "user",
    "content": [
        {"type": "image", "url": "https://example.com/fundus.jpg"},
        {"type": "text", "text": "Describe the fundus findings and give the most likely diagnosis."},
    ],
}]

inputs = processor.apply_chat_template(
    messages,
    add_generation_prompt=True,
    tokenize=True,
    return_dict=True,
    return_tensors="pt",
).to(model.device)

# greedy decoding is already the shipped default
out = model.generate(**inputs, max_new_tokens=1000)
print(processor.decode(out[0][inputs["input_ids"].shape[1]:], skip_special_tokens=True))
python -m vllm.entrypoints.openai.api_server \
  --model pxiaoyu/Oculora \
  --served-model-name oculora \
  --host 127.0.0.1 --port 8002 \
  --dtype bfloat16 \
  --max-model-len 8192 \
  --gpu-memory-utilization 0.75 \
  --max-num-seqs 8 \
  --limit-mm-per-prompt '{"image":4}' \
  --trust-remote-code

Query it as any chat-completions endpoint with image_url content parts. vLLM reads generation_config.json from the repo, so "temperature": 0 is already the default.

Hardware — bfloat16 weights are ~17 GB plus KV cache; a single 40 GB A100 or 48 GB L40S is comfortable at --max-model-len 8192.

Evaluation

Multiple-choice and short-answer questions assess multimodal understanding; report generation and medical consultation assess open-ended clinical generation. Every model below was evaluated under an identical protocol on the same test sets.

Multimodal understandingOculoraQwen3-VLMedGemmaLingshu
Internal MCQ · Accuracy0.81970.32300.34700.2993
Internal MCQ · F10.83030.33930.35050.3020
JSIEC · Accuracy0.67400.16100.14100.0650
JSIEC · F10.72590.26760.21750.1651
Internal short answer · Unigram F10.48690.20530.15010.2114
Internal short answer · ROUGE-L0.43760.17580.11200.1862
Internal short answer · METEOR0.42230.14660.15500.1695
Internal short answer · BERTScore-F10.83520.75930.71160.7179
OphthalVQA · Unigram F10.31890.14870.14510.0664
OphthalVQA · ROUGE-L0.27490.10510.10160.0560
OphthalVQA · METEOR0.27190.18180.16370.0434
OphthalVQA · BERTScore-F10.79680.69450.70720.6741
Open-ended clinical generationOculoraQwen3-VLMedGemmaLingshu
FFA-IR · BLEU-20.14850.09170.05790.0110
FFA-IR · ROUGE-L0.22220.16390.10400.0829
FFA-IR · METEOR0.23930.17420.19620.0581
FFA-IR · BERTScore-F10.88700.86730.83240.8492
JAMA Challenge · BLEU-20.44660.29720.07030.0183
JAMA Challenge · ROUGE-L0.50020.31060.10720.0305
JAMA Challenge · METEOR0.50990.36130.29300.0422
JAMA Challenge · BERTScore-F10.92650.89250.85630.8194

Best score per row in bold. Test sets: JSIEC n = 1,000 · OphthalVQA n = 600 · FFA-IR n = 766 · JAMA Challenge n = 177, plus a 22,000-sample internal test set. Baselines are open-weight vision–language models at a comparable parameter scale, run under an identical protocol on the same test sets: Qwen3-VL-8B, MedGemma-4B and Lingshu-7B. Bootstrap 95% confidence intervals for every value are reported in the paper.

Blinded clinical review

Design50 cases, blinded, ranked by LLM judges and senior ophthalmologists
OutcomeOculora ranked highest overall for correctness and for control of unsupported content
Rater agreement0.94 (95% CI 0.90 – 0.97) between LLM and ophthalmologist rankings

Training

Three stages, all on the Qwen2.5-VL-7B backbone.

StageDataConfiguration
1 · Pretraining (PT)1.33 M image–text pairsLoRA, rank 64, α = 128
2 · Supervised fine-tuning (SFT)360 K ophthalmic instructionsLoRA, rank 64, α = 128; vision encoder and multimodal projector frozen
3 · Risk-aware policy optimization—Risk-aware DAPO objective in the VERL framework

Risk-aware DAPO

SettingValue
Responses sampled per promptn = 8
Global mini-batch per update128 prompts → 1,024 responses
Risk maskingtop-K highest-risk generations (K = 0.1) masked globally across the whole mini-batch, before group-relative advantage computation
Reward — keyword0.5
Reward — LLM-assessed0.4
Reward — format0.1

Masking the riskiest decile globally rather than within each group is what stabilizes the gradients: the advantage baseline is never computed over generations the risk model has already flagged.

Inference settings used for all reported results

SettingValue
Decodinggreedy
Temperature0
Max image pixels262,144

These are the shipped defaults. preprocessor_config.json sets max_pixels = 262144 and generation_config.json sets do_sample = false, so loading the model as-is reproduces the reported configuration — no extra flags required.

Architecture

ClassQwen2_5_VLForConditionalGeneration
Total parameters8.29 B
Language model28 layers · hidden 3584 · 28 heads · 4 KV heads (GQA) · SwiGLU · RMSNorm
Vision encoder32 layers · hidden 1280 → 3584 · 16 heads · patch 14 · spatial merge 2 · window 112
Vocabulary152,064
Context128 K positions · sliding window 32,768
Position encodingM-RoPE, mrope_section = [16, 24, 24], θ = 1,000,000
Precisionbfloat16
Chat templateChatML (<|im_start|> / <|im_end|>)
Weights6 safetensors shards · 16.6 GB
Requirestransformers >= 4.57.1

Intended use and limitations

Oculora is a research artifact, intended for research on ophthalmic vision–language modelling and for retrospective evaluation on de-identified data.

  • Not a medical device. Not cleared or approved by any regulatory body. It must not be used for diagnosis, triage or treatment decisions for real patients.
  • Outputs can be fluent and confident while being wrong. Every clinical statement requires review by a qualified ophthalmologist.
  • Performance is characterised on the benchmarks above — seven imaging modalities and 300+ conditions. Behaviour outside that distribution (other modalities, populations, languages, or image quality) is unmeasured.
  • Training data inherits the demographic and disease-prevalence biases of its sources; the model may underperform on rare conditions and underrepresented groups.
  • Do not send protected health information to any hosted inference endpoint.

License

Apache 2.0, inheriting the license of the Qwen2.5-VL base model. Users remain responsible for complying with the terms of the underlying base model and of every dataset used for evaluation.

Citation

The paper describing Oculora is currently under review; a full citation will be added here upon publication. Until then, please cite this repository: pxiaoyu/Oculora.

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

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

GPU в ailist

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

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

Подбираем GPU…

Класс архитектуры
Qwen2_5_VLForConditionalGeneration
Ревизия весов
84ceb14

0 моделей