/ Модель

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

Контекст
4 096 токенов
Параметры
3,7 млрд
Размер весов
7,8 ГБ
Архитектура
phi3_dino · dense
Библиотека
transformers
Опубликована
7 ноя 2025

chexfract-maira2

Генерация текстаТекст → текст3 профессии

Специализированная медицинская VLM AIRI для выявления и текстового описания переломов на рентгенограммах грудной клетки.

193скачиваний за 30 дней0лайковвеса обновлены17 дек 2025

Бенчмарки

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

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

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

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

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

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

ChexFract-MAIRA-2 — разработанная Институтом AIRI специализированная медицинская модель «изображение—текст» для выявления переломов на рентгенограммах грудной клетки и генерации их описаний. Это дообученная версия с визуальным энкодером Rad-DINO из MAIRA-2 и языковой частью Phi-3.5 Vision Instruct; параметры энкодера разморожены при обучении на наборе ChexFract с использованием шаблонного текста. В метаданных указаны архитектура phi3_dino, 3,7 млрд параметров, библиотека Transformers и контекст 4096 токенов.

Модель предназначена для анализа рентгеновских снимков грудной клетки и подготовки текстового описания возможных переломов. В README для неё приведены ROC-AUC 0,713, F1 0,629 и точность 0,748. Это экспериментальная исследовательская разработка: авторы прямо предупреждают, что модель не предназначена для самостоятельной диагностики и не должна применяться клинически без надлежащей валидации и регуляторного одобрения. Лицензия в предоставленных сведениях не указана.

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

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

Ограничения

Модель предназначена для исследований и не подходит для самостоятельной клинической диагностики; клиническое применение требует надлежащей валидации и регуляторного одобрения. В README приведены ограниченные метрики для fracture-specific задач, а сведения о лицензии отсутствуют.

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

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

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

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

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

Открыть на Hugging Face

ChexFract: Specialized Vision-Language Models for Fracture Detection in Chest X-rays

This repository contains the pre-trained models from our paper "ChexFract: From General to Specialized - Enhancing Fracture Description Generation in Medical AI".

📋 Overview

ChexFract models are specialized vision-language models fine-tuned for accurate fracture detection and description in chest X-ray images. These models significantly outperform general-purpose radiology report generation systems on fracture-specific tasks.

🏆 Model Performance

Released Models

We release two best-performing models, each optimized for their respective encoder architecture:

  1. ChexFract-MAIRA-2 (Best F1-Score with MAIRA-2 encoder)

    • Configuration: Templated text + Fine-tuned encoder (unfrozen)
    • ROC-AUC: 0.713
    • F1-Score: 0.629
    • Accuracy: 0.748
    • Precision: 0.682
    • Recall: 0.584
  2. ChexFract-CheXagent (Best F1-Score with CheXagent encoder)

    • Configuration: Templated text + Fine-tuned encoder (unfrozen)
    • ROC-AUC: 0.697
    • F1-Score: 0.591
    • Accuracy: 0.752
    • Precision: 0.750
    • Recall: 0.487

🚀 Quick Start

Installation

pip install torch torchvision transformers pillow

Basic Usage

Using MAIRA-2 encoder model:

from transformers import AutoModelForCausalLM, AutoProcessor
from PIL import Image

# Load model and processor
model = AutoModelForCausalLM.from_pretrained("AIRI-Institute/chexfract-maira2", trust_remote_code=True)
processor = AutoProcessor.from_pretrained("AIRI-Institute/chexfract-maira2", trust_remote_code=True)


messages = [{"role": "user", "content": "<|image_1|>\nDescribe bones on this chest X-ray"}]

# Load chest X-ray image
image = Image.open("chest_xray.png")
prompt = processor.tokenizer.apply_chat_template(messages, tokenize=False, add_generation_prompt=True)

# Generate fracture description
inputs = processor(prompt, image, return_tensors="pt")
outputs = model.generate(**inputs, eos_token_id=processor.tokenizer.eos_token_id, max_new_tokens=1024)
description = processor.decode(outputs[0, inputs['input_ids'].shape[1]:], skip_special_tokens=True)

print(f"Fracture description: {description}")

📈 Performance Comparison

ModelROC-AUCF1-ScoreAccuracyPrecisionRecall
General MAIRA-2 (baseline)0.5180.0850.6450.7770.045
ChexFract-MAIRA-20.7130.6290.7480.6820.584
General CheXagent (baseline)0.6040.3760.7000.7910.246
ChexFract-CheXagent0.6970.5910.7520.7500.487

🔬 Model Architecture

Both models share the same architecture but use different visual encoders:

⚠️ Limitations and Clinical Use

Important: These models are designed for research purposes. They are NOT intended for standalone diagnostic use.

📝 Citation

If you use these models in your research, please cite:

@article{chexfract2025,
  title={ChexFract: From General to Specialized - Enhancing Fracture Description Generation in Medical AI},
  author={Nechaev, Nikolay and Przhezdzetskaia, Evgeniia and Umerenkov, Dmitry and Dylov, Dmitry V.},
  journal={arXiv preprint arXiv:XXXX.XXXXX},
  year={2025},
  institution={Artificial Intelligence Research Institute (AIRI)}
}

📄 License

Model License

Important: These models are derivative works based on multiple pre-trained models. The license for these models is subject to the most restrictive terms among the base model licenses.

Effective License: These models are provided under terms compatible with the most restrictive license among the base model licenses. Users must comply with ALL applicable base model licenses.

Base Model Licenses:

⚠️ IMPORTANT - Commercial Use Restrictions:

  • CheXagent-2-3b uses CC-BY-NC-4.0, which PROHIBITS commercial use without explicit permission
  • Rad-DINO (MAIRA-2) uses MSRLA, which typically has restrictions on commercial use without permission
  • Phi-3.5 uses MIT License, which allows commercial use

The most restrictive license applies: These models are NOT licensed for commercial use due to CC-BY-NC-4.0 and MSRLA restrictions. For commercial use, you must obtain appropriate licenses from the original model owners.

Before using these models, you must:

  1. Review the license terms of all base models in their original repositories
  2. Ensure your use case complies with all applicable licenses (especially for commercial purposes)
  3. Include appropriate attribution and copyright notices as required by each license
  4. Obtain commercial licenses if needed from model owners (Microsoft for MAIRA-2, Stanford for CheXagent)

Additional License Information

The fine-tuning code and modifications specific to this work may be subject to additional licensing terms. Please review all applicable licenses before commercial use.

👥 Authors

  • Nikolay Nechaev - Artificial Intelligence Research Institute (AIRI)
  • Evgeniia Przhezdzetskaia - Artificial Intelligence Research Institute (AIRI)
  • Dmitry Umerenkov - Artificial Intelligence Research Institute (AIRI)
  • Dmitry V. Dylov - Artificial Intelligence Research Institute (AIRI)

🔗 Related Resources

🙏 Acknowledgments

We thank the contributors to the MIMIC-CXR, PadChest, BIMCV-COVID19, CheXpert, and OpenI datasets for making their data publicly available. We also acknowledge the computational resources provided for this research.

📧 Contact

For questions or issues, please contact:

  • Email: nechaev@airi.net
  • Institution: Artificial Intelligence Research Institute (AIRI), Moscow, Russia

Disclaimer: These models are provided for research purposes only. They are not intended for clinical use without proper validation and regulatory approval.

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

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

GPU в ailist

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

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

Модели нужен код из репозитория; автор пока не в списке доверенных организаций.

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

0 моделей