/ Модель

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

Контекст
8 192 токена
Параметры
395 млн
Лицензия
AGPL 3.0
Архитектура
modernbert · dense
Базовая модель
BioClinical-ModernBERT-large
Библиотека
transformers
Опубликована
14 июл 2026

VTE-ModernBERT-DeID

Классификация текстаТекст → label3 профессии

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

12скачиваний за 30 дней0лайковвеса обновлены18 авг 2026

Бенчмарки

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

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

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

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

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

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

VTE-ModernBERT-DeID — модель Omid Jafari, разработанная при участии Ang Li Lab, для классификации клинических текстов на фенотипы венозной тромбоэмболии. Она дообучена на BioClinical-ModernBERT-large и использует архитектуру ModernBertForSequenceClassification с 394,7 млн параметров и шестью метками. Модель рассчитана на англоязычные клинические записи; архитектура поддерживает контекст до 8192 токенов, но при дообучении использовалась длина последовательности до 1024 токенов.

Модель предназначена для исследовательской ретроспективной фенотипизации VTE в клинических нарративах, в том числе с использованием более длинного контекста, чем у обычных BERT-моделей на 512 токенов. Для обучения применялся обезличенный текст, однако модель сама не выполняет обезличивание. Данные обучения и оценки в репозитории отсутствуют, а численные результаты оценки в карточке не приведены. Модель не валидирована для диагностики, выбора лечения или автономного скрининга; качество может меняться в зависимости от учреждения, популяции, типа записей и предобработки. Лицензия — AGPL-3.0.

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

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

Ограничения

Модель не выполняет обезличивание и не валидирована для диагностики, выбора лечения или автономного скрининга. Численные результаты оценки не приведены; качество может зависеть от клинической среды, типа записей и предобработки.

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

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

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

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

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

Открыть на Hugging Face

VTE-ModernBERT-DeID

VTE-ModernBERT-DeID is a BioClinical ModernBERT-based sequence-classification model for identifying venous thromboembolism (VTE) phenotypes in English clinical narratives. It was fine-tuned on de-identified clinical text and evaluated on the corresponding original clinical text.

Important: “DeID” indicates that de-identified text was used for model fine-tuning. This model classifies VTE phenotypes; it does not perform de-identification.

This checkpoint uses the same underlying annotated dataset, label definitions, and train/test split described for VTE-BERT. The original publication describes the study cohort, clinical annotation process, label development, and validation design.

Model details

  • Developed by: Omid Jafari
  • Research affiliation and acknowledgement: Ang Li Lab
  • Base model: BioClinical ModernBERT large
  • Architecture: ModernBertForSequenceClassification
  • Task: Single-label text classification
  • Language: English
  • Architecture context capacity: 8,192 tokens
  • Fine-tuning sequence length: 1,024 tokens
  • Number of labels: 6
  • Release status: Public research release

Although the underlying architecture supports sequences of up to 8,192 tokens, this checkpoint was fine-tuned with a maximum sequence length of 1,024 tokens.

Labels

IDLabel
0LE-DVT+
1PE+
2UE-DVT
3atypical
4history
5none

Operational definitions for these labels and the annotation procedures are provided in the VTE-BERT publication.

Data preparation and study design

The underlying clinical data and predefined train/test split are the same as those used in the original VTE-BERT study.

  • Fine-tuning inputs: Clinical text de-identified with Health-DeID and then prepared for modeling with NLPMed-Engine.
  • Test inputs: The corresponding original, non-de-identified clinical text from the held-out test set, prepared with the same NLPMed-Engine preprocessing workflow.
  • Distributed data: No training or evaluation data is included in this repository.

Fine-tuning

ParameterValue
Training text fieldfinal_deidentified_text
Maximum training sequence length1,024
Architecture context capacity8,192
Learning rate2e-5
Weight decay0.01
Maximum training epochs15
Early-stopping patience20
Training batch size8
Evaluation batch size8
Gradient accumulation steps1
Model-selection metriceval_pos_f1
Mixed-precision trainingbfloat16

The checkpoint was exported and tested with Transformers 5.10.1.

Evaluation

Numerical evaluation results are not included in this model card at this time.

Usage

from transformers import AutoModelForSequenceClassification, AutoTokenizer, pipeline

model_name = "omid-jf/VTE-ModernBERT-DeID"

tokenizer = AutoTokenizer.from_pretrained(model_name)
model = AutoModelForSequenceClassification.from_pretrained(model_name)

classifier = pipeline(
    "text-classification",
    model=model,
    tokenizer=tokenizer,
)

result = classifier(
    "Your clinical text here.",
    truncation=True,
    max_length=1024,
)

print(result)

For an end-to-end preprocessing and inference workflow, use NLPMed-Engine. Its MLInference component can load Hugging Face sequence-classification checkpoints such as this model.

Intended use and limitations

This model is intended for research involving retrospective VTE phenotyping in clinical narratives, including use cases that may benefit from more context than conventional 512-token BERT models.

It has not been validated for diagnosis, treatment selection, autonomous patient screening, or other clinical decision-making. Performance may vary across institutions, patient populations, note types, documentation practices, preprocessing configurations, and clinical settings. Users are responsible for obtaining appropriate institutional approvals and implementing applicable privacy and security controls.

License

This model is licensed under the GNU Affero General Public License v3.0. The research-use and clinical-safety statements in this model card describe the intended use and known limitations; they do not replace or add restrictions to the AGPLv3 license.

Related resources

Citation

For the dataset, annotation process, label definitions, and original VTE-BERT study, please cite:

@article{jafaridevelopment,
  title={Development and Validation of VTE-BERT Natural Language Processing Model for Venous Thromboembolism},
  author={Jafari, Omid and Ma, Shengling and Lam, Barbara D and Jiang, Jun Y and Zhou, Emily and Ranjan, Mrinal and Ryu, Justine and Bandyo, Raka and Maghsoudi, Arash and Peng, Bo and others},
  journal={Journal of Thrombosis and Haemostasis},
  publisher={Elsevier},
  year={2025},
  doi={10.1016/j.jtha.2025.07.021}
}

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

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

GPU в ailist

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

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

Подбираем GPU…

Класс архитектуры
ModernBertForSequenceClassification
Ревизия весов
41e2239

0 моделей