/ Модель

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

Контекст
262 144 токена
Размер весов
71,9 ГБ
Лицензия
Своя лицензия
Архитектура
qwen3_5_moe · dense
Базовая модель
Qwen3.5-35B-A3B
Библиотека
transformers
Опубликована
8 ноя 2026

ClinSeek-35B-A3B-armA-fullrecord-ep2

Генерация текстаТекст → текст3 профессии
188скачиваний за 30 дней0лайковвеса обновлены8 ноя 2026

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

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

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

ClinSeek-35B-A3B, arm A — full-record input without tools, epoch 2 — разработана авторами этой версии на основе Qwen/Qwen3.5-35B-A3B. Модель дообучена всеми параметрами на клинических задачах по электронным медицинским картам: записи пациента подаются одним сообщением, а модель формирует ответ без вызова инструментов. Архитектура — Qwen3.5 MoE; базовая модель мультимодальная, но эта версия обучалась на текстовых записях и рассчитана на текстовый ввод и вывод.

Модель предназначена для задач AgentEHR-Bench: прогнозирования диагнозов и процедур по CCS, лабораторных и микробиологических исследований, назначений и переводов пациентов. Во время обучения использовались 2 628 примеров и отдельная валидационная выборка из 53 примеров; записи ограничивались 45 000 токенами, а наиболее старые события удалялись первыми при превышении лимита. Обучающие примеры содержат reasoning-блок и блок ответа.

Чекпойнт не является агентом и не использует инструменты. Возможности за пределами перечисленных задач не установлены; модель не оценивалась, а 78 микробиологических примеров в обучении имели пустой блок ответа, что может снижать полноту ответов по этой задаче. Модель обучена на данных MIMIC-IV и распространяется для исследовательского использования по условиям соглашения PhysioNet о доступе к данным; она не предназначена для клинических решений. Базовая модель лицензирована Apache-2.0.

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

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

Ограничения

Модель обучена только на задачах AgentEHR-Bench, не оценивалась и может чаще выдавать пустые ответы на микробиологические вопросы. Она предназначена только для исследований и не должна использоваться для диагностики, лечения, сортировки или ведения пациентов.

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

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

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

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

Источники: 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

ClinSeek-35B-A3B, arm A: full-record input without tools, epoch 2

Qwen/Qwen3.5-35B-A3B with full-parameter fine-tuning on 2,628 full-record samples (53 more for validation). The patient's EHR record up to the prediction time is inlined in a single user prompt of at most 45,000 tokens; longer records are cut, oldest events first. The model reasons in its thinking block and then writes its answer in an <answer> block. It calls no tools.

This is arm A of a three-arm comparison of training data. Arm C (Letian2003/ClinSeek-35B-A3B-armC-multiround-ep2, multi-round ClinSeekAgent trajectories) and arm S (Letian2003/ClinSeek-35B-A3B-armS-singlepass-ep2, single-pass retrieval trajectories) retrieve the evidence with EHR tools. Arm A uses the same questions, split and teacher as arm C and the same training recipe; only the input mode differs. All arms re-run the SFT recipe of the ClinSeekAgent paper (arXiv 2605.20176) on 8 × H200. This is not the official UCSC-VLAA/ClinSeek-35B-A3B release.

ItemValue
Base modelQwen/Qwen3.5-35B-A3B
Training datafull-record samples, 2,628 train / 53 validation (not released)
Inputone user turn: the task instruction, the patient's record up to the prediction time (≤ 45K tokens) and the candidate answers where the task has them; no system message, no tools
Outputreasoning in the <think> block, then the answer in <answer> … </answer>, one per line
Checkpointend of epoch 2 of 3: global_step_164
ArchitectureQwen3_5MoeForConditionalGeneration, bf16
Trainingfull-parameter SFT, 8 × H200, ClinSeekAgent paper recipe
Evaluationnot evaluated in this release
Codehttps://github.com/UCSC-VLAA/ClinSeekAgent
Paperhttps://arxiv.org/abs/2605.20176

Training data

Full-record samples. The questions are the AgentEHR-Bench training split, the same 2,681 questions as arm C with arm C's split. They cover six task families: diagnoses (CCS), procedures (CCS), laboratory tests, microbiology tests, prescriptions and transfers. The teacher is GPT-5.6 Sol (reasoning effort high), as in arm C. Instead of calling EHR tools, the teacher reads the patient's record inlined in the prompt. The record holds every EHR table of the patient as CSV, cut to the prompt budget when it is longer (see the table). It is restricted by the same strict temporal policy as the agentic tools, so it shows only events up to the case's prediction time.

Questionsthe 2,681 questions of arm C, one sample each
Answersevery sample has a reasoning block and an <answer> block. In 79 train samples (78 microbiology, 1 prescriptions) the answer block is empty; they are kept unchanged
Split2,628 train / 53 validation, arm C's split
Tasks (train)diagnoses (CCS) 461, transfers 466, microbiology 456, procedures (CCS) 439, labs 406, prescriptions 400
Prompt budget≤ 45,000 tokens (Qwen3.5 tokenizer); 34.9 % of the records were truncated to fit, oldest events first
Lengthmedian 27.4K, max 45.7K tokens per sample (Qwen3.5 chat template); all ≤ 52K
Reasoningmedian 658 characters per sample

Formatting for training.

  • Each sample is one user turn and one assistant turn. There is no system message and there are no tools.
  • The user turn holds the AgentEHR-Bench task instruction (verbatim, so it still names the agent's tools), the patient information with the current time, the record, the candidate answers where the task has them, and a closing paragraph. That paragraph asks for the final answer inside an <answer> … </answer> block, one answer per line.
  • During distillation the teacher wrote its reasoning in a separate block before its answer. That text becomes the native <think> … </think> block of the assistant turn. The extra instruction that asked the teacher for it is not part of the training prompt. Provider reasoning summaries are discarded.
  • The loss is computed on assistant tokens only: the think block and the answer block.

The samples are not released. Every prompt contains records from MIMIC-IV, which is PhysioNet credentialed-access data.

Evaluation overlap. No training question was excluded, as in the paper. The AgentEHR-Bench training split is not fully disjoint from the benchmark's evaluation splits. Counted over all 3,000 training questions, before the length filter:

  • common: 10 shared question ids, 58 shared patients;
  • rare: 10 shared question ids, 47 shared patients;
  • sample: no shared question ids and no shared patients.

Arm A uses arm C's questions, so these counts apply to it too. The trained subset can contain fewer of them. Check for overlap before evaluating on common or rare.

Training recipe

This is the ClinSeekAgent paper recipe (scripts/train_sft.sh in the repository), with the same settings as arms C and S. The one change from the paper is the hardware layout: 8 GPUs instead of 2. The global batch and the schedule are unchanged. The training data is arm A's own, described above.

ComponentConfiguration
Methodfull-parameter supervised fine-tuning, verl + Megatron-core 0.16.1 + mbridge
Hardware1 node, 8 × H200
Parallelismtensor 2, expert 8 (expert-tensor 1), pipeline 1, context 1 → data parallel 4
Batchglobal 32 sequences per optimizer step, micro batch 1 per GPU, no padding
Steps82 per epoch (drop_last), 246 total over 3 epochs
Maximum sequence length52,000 tokens (the data is pre-filtered to ≤ 52K)
OptimizerAdam (β1 = 0.9, β2 = 0.999), fp32 master weights and states kept on the GPU (the paper's 2-GPU run offloads them to the CPU)
Learning rate2e-5, 10 warmup steps, cosine decay to 2e-6
Weight decay / gradient clipping0.1 / 1.0
Precisionbfloat16 parameters and activations, bf16 gradient reduction
MoE lossesaux-loss coefficient 0.01 and z-loss 0.001 as configured; with this mbridge version the router's load-balancing type is none, so only the z-loss is active (same code as the paper)
Activation recomputationfull, uniform, 1 layer
Lossassistant tokens only
Validationevery 25 steps and at the last step
Seed42
Softwaretorch 2.10.0 (CUDA 13.0), transformers 5.4.0, Transformer Engine 2.12, flash-attn 2.8.3, mbridge 4cfd6f5

Training metrics

From the training log of run armA_B_r1 (one node, 8 × H200). The run finished all 246 steps.

train loss is the mean token-level cross-entropy of that step's 32 sequences, on assistant tokens only. It is noisy from step to step. val loss is the mean over 32 samples drawn from the validation split. verl evaluates every 25 steps and at the last step.

For arm A these 32 samples are the first 32 rows of its validation file, which is sorted by task. They cover four of the six task families: diagnoses (CCS) 7, labs 12, microbiology 6 and prescriptions 7. Procedures (CCS) and transfers are not included. Arm A's val loss is therefore not comparable with the val loss of arms C and S, which is computed on other rows and other sequences.

stepepochtrain lossval lossnote
250.300.79200.6615
500.610.70300.6055
750.910.64210.5709
1001.220.34400.5997
1251.520.33420.5920
1501.830.38150.5632
1642.000.3292–released checkpoint (end of epoch 2)
1752.130.11390.6256after the released checkpoint
2002.440.12570.6309after the released checkpoint
2252.740.10910.6369after the released checkpoint
2463.000.09500.6347after the released checkpoint; end of epoch 3
  • Mean train loss per epoch (unweighted mean over steps): epoch 1: 0.7664, epoch 2: 0.3525, epoch 3: 0.1128.
  • Tokens processed up to the released checkpoint: 0.146 B.
  • Median step time: 62 s.
  • Wall time of the whole run, including model load, validation and 3 saves: 4.46 h.

Checkpoint

This is the end of epoch 2 of 3, global_step_164 (82 steps per epoch). The paper's released model is also its end-of-epoch-2 checkpoint.

  • Architecture: Qwen3_5MoeForConditionalGeneration, unchanged. The tensor names, shapes and dtypes are identical to Qwen/Qwen3.5-35B-A3B: bfloat16, plus the base's fp32 A_log / linear_attn.norm tensors. 14 safetensors shards, 71.9 GB.
  • Weights: the trainer's own Hugging Face export of the language model and vision tower (mbridge).
  • MTP head: the multi-token-prediction head (mtp.*) was not built or trained by this training stack. It is copied unchanged from the base model. It can still be used for speculative decoding, possibly with a lower acceptance rate.
  • Vision tower: training was text-only, so the vision tower is effectively the base's.
  • Verification before upload: 38/38 required checks passed. They cover index ↔ shard consistency, tensor names / shapes / dtypes against the base, that every tensor is finite, the change relative to the base, the MTP head being equal to the base, and a transformers load plus a greedy generation on a training prompt that reasons in the <think> block, closes it, writes a closed <answer> block and ends the turn, without any tool call. Relative L2 change of the 693 language-model tensors versus the base: median 0.0121, max 0.0590.

Usage

This model is not an agent. It expects the patient's record in the prompt and calls no tools. Use one user message in the training format, without a system message:

  • the task instruction;
  • the patient information with the current time;
  • the patient's record: every EHR table as CSV, with the events up to the prediction time, within 45,000 tokens (drop the oldest events first when it is longer);
  • the candidate answers, if the task has them;
  • a closing request to put the final answer inside an <answer> … </answer> block, one answer per line.

The model writes its reasoning in its thinking block and then the answer block. Read the answer from the <answer> block.

Serving with vLLM:

vllm serve Letian2003/ClinSeek-35B-A3B-armA-fullrecord-ep2 \
  --reasoning-parser qwen3

No tool parser and no automatic tool choice are needed, because the model was trained without tools. The reasoning parser moves the thinking block into reasoning_content; the <answer> block stays in the message content. Training sequences were at most 52,000 tokens. Set --max-model-len so that it covers the prompt plus the thinking and answer tokens.

For AgentEHR-Bench, the ClinSeekAgent repository provides the benchmark runners and scoring.

Loading with transformers:

import torch
from transformers import AutoModelForImageTextToText, AutoTokenizer

model_id = "Letian2003/ClinSeek-35B-A3B-armA-fullrecord-ep2"
tokenizer = AutoTokenizer.from_pretrained(model_id)
model = AutoModelForImageTextToText.from_pretrained(model_id, dtype=torch.bfloat16, device_map="auto")

Limitations and data use

  • License and data use. The model was trained on MIMIC-IV patient records, which were inlined in its training prompts. MIMIC-IV is PhysioNet credentialed-access data. The weights are therefore treated as a derivative of MIMIC-IV and are released for research use under the terms of the PhysioNet credentialed health data use agreement (license: other, physionet-credentialed-derivative). Do not try to extract or reconstruct patient-level information from the model. The base model Qwen/Qwen3.5-35B-A3B is licensed under Apache-2.0. The base model's LICENSE file is included.
  • It was trained on AgentEHR-Bench task families only. Performance on other clinical tasks is not established, and this checkpoint has not been evaluated.
  • 78 of the 456 microbiology training samples (17.1 %) have an empty answer block, kept as in the data. The model may return an empty answer to microbiology questions more often than it should, so expect a lower recall on that task.
  • It was trained without a system message. Prompts with a system message are outside its training format.
  • It is a research model, not a medical device. Its outputs must not be used for clinical diagnosis, treatment, triage or patient management.

Citation

@misc{wu2026clinseekagent,
  title         = {ClinSeekAgent: Automating Multimodal Evidence Seeking for Agentic Clinical Reasoning},
  author        = {Wu, Juncheng and Zhang, Letian and Wang, Yuhan and Tu, Haoqin and Chen, Hardy and Wang, Zijun and Xie, Cihang and He, Yufan and Zhao, Can and Xu, Daguang and Tang, Yucheng and Zhou, Yuyin},
  year          = {2026},
  eprint        = {2605.20176},
  archivePrefix = {arXiv},
  primaryClass  = {cs.CL},
  url           = {https://arxiv.org/abs/2605.20176}
}

Please also cite AgentEHR-Bench, MIMIC-IV and Qwen3.5 where applicable.

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

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

GPU в ailist

vLLM

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

Подбираем GPU…

Класс архитектуры
Qwen3_5MoeForConditionalGeneration
Ревизия весов
53dbd59

0 моделей