/ Модель

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

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

ClinSeek-35B-A3B-armS-singlepass-ep2

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

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

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

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

ClinSeek-35B-A3B, arm S — контрольная точка epoch 2 — это агентная модель Letian2003, полученная полнопараметрической донастройкой Qwen/Qwen3.5-35B-A3B. Она обучена на 2 472 траекториях single-pass retrieval для вопросов по электронным медицинским картам: модель рассуждает, выполняет один пакет вызовов EHR-инструментов, затем анализирует результаты и формирует ответ. Поддерживается интерфейс вызова инструментов; для работы нужны инструменты ClinSeekAgent и цикл взаимодействия с ними.

Модель предназначена для задач AgentEHR-Bench: поиска диагнозов и процедур по CCS, лабораторных и микробиологических тестов, назначений и переводов пациентов. Обучающие траектории основаны на данных MIMIC-IV и не опубликованы. Чекпойнт завершает вторую эпоху из трёх; авторы указывают, что он не оценивался и его качество на других клинических задачах не установлено. Это исследовательская модель, не медицинское изделие; её выводы нельзя использовать для диагностики, лечения, сортировки пациентов или управления их лечением. Лицензия указана как other: веса распространяются для исследований на условиях соглашения PhysioNet о доступе к медицинским данным; базовая модель включает лицензию Apache-2.0.

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

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

Ограничения

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

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

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

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

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

Источники: 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 S: single-pass retrieval trajectories, epoch 2

Qwen/Qwen3.5-35B-A3B with full-parameter fine-tuning on 2,472 single-pass retrieval trajectories (49 more for validation). The agent reasons, issues one batch of EHR tool calls, reasons again over the results and then answers.

This is arm S of a two-arm comparison of training data. Arm C (Letian2003/ClinSeek-35B-A3B-armC-multiround-ep2) uses the same questions, teacher, tools, system prompt and training recipe but a different retrieval protocol. Both 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 datasingle-pass retrieval trajectories, 2,472 train / 49 validation (not released)
Checkpointend of epoch 2 of 3: global_step_154
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

Single-pass retrieval trajectories. The questions, teacher, tools, system prompt and training recipe are the same as in arm C. Only the retrieval protocol is different. The teacher issues one batch of parallel EHR tool calls and then submits its answer with ehr.finish. It has no further retrieval rounds. The user turn already contains the schema orientation, i.e. the results of load_ehr, get_table_names and get_column_names, together with a single-retrieval directive.

The questions are the AgentEHR-Bench training split: 3,000 questions over six task families (diagnoses (CCS), procedures (CCS), laboratory tests, microbiology tests, prescriptions and transfers). The teacher is GPT-5.6 Sol (reasoning effort high). It runs ClinSeekAgent with the 16 EHR-only ehr.* tools under the strict temporal runtime policy, so it sees only events up to each case's prediction time. Before each action round, the teacher writes its reasoning with a forced ehr.think call.

Questionsthe 2,681 questions of arm C (teacher success 2,681 / 2,681)
≤ 52K tokens (same rule as arm C)2,472 train / 49 validation, a subset of arm C's train / validation
Tasks (train)diagnoses (CCS) 456, transfers 451, microbiology 429, labs 398, procedures (CCS) 397, prescriptions 341
Retrieval batchmedian 10 tool calls, max 26
Thinking blocks2 per trajectory (before the batch, before the answer)
Lengthmedian 14.0K, max 51.9K tokens

Formatting for training.

  • The think-only turns and their tool responses are removed.
  • Their text becomes the native <think> … </think> block of the next assistant turn, so the student reasons in its thinking channel instead of calling ehr.think.
  • The teacher-only reasoning-protocol block is stripped from the system prompt.
  • Provider reasoning summaries are discarded.
  • Tool calls use the Qwen3.5 native tool-call format, with dotted tool names (ehr.load_ehr, …).
  • The loss is computed on assistant tokens only: think blocks, tool calls and the final answer.

The trajectories are not released. They contain 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.

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). The one change is the hardware layout: 8 GPUs instead of 2. The global batch, schedule and data are unchanged.

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
Steps77 per epoch (drop_last), 231 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 armS_B_r1 (one node, 8 × H200). The run finished all 231 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 trajectories drawn from the validation split. verl evaluates every 25 steps and at the last step.

stepepochtrain lossval lossnote
250.320.31640.3259
500.650.28150.2950
750.970.28250.2791
1001.300.17800.2851
1251.620.17930.2736
1501.950.15590.2663
1542.000.1833–released checkpoint (end of epoch 2)
1752.270.10020.2846after the released checkpoint
2002.600.10200.2825after the released checkpoint
2252.920.10090.2824after the released checkpoint
2313.000.09120.2813after the released checkpoint; end of epoch 3
  • Mean train loss per epoch (unweighted mean over steps): epoch 1: 0.3296, epoch 2: 0.1766, epoch 3: 0.0955.
  • Tokens processed up to the released checkpoint: 0.087 B.
  • Median step time: 43 s.
  • Wall time of the whole run, including model load, validation and 3 saves: 3.00 h.

Checkpoint

This is the end of epoch 2 of 3, global_step_154 (77 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: 35/35 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 that opens a <think> block and then emits a tool call. Relative L2 change of the 693 language-model tensors versus the base: median 0.0112, max 0.0565.

Usage

This is an agent model. It expects the ClinSeekAgent EHR tools and a multi-turn tool loop. The ClinSeekAgent repository provides the EHR MCP server, tool schemas, prompts, the benchmark runners and scoring.

Serving with vLLM:

vllm serve Letian2003/ClinSeek-35B-A3B-armS-singlepass-ep2 \
  --reasoning-parser qwen3 \
  --enable-auto-tool-choice \
  --tool-call-parser qwen3_coder

The paper's evaluation also passed --max-model-len 196608 --language-model-only (vLLM 0.28.1). It used thinking with a 4,096-token budget, temperature 0, at most 8,192 output tokens per call and tool results truncated to 100,000 characters.

The model was trained with an EHR-only tool space (no web browsing). Do not add an instruction to call ehr.think: the model reasons in its thinking block instead.

Arm S was trained for single-pass retrieval. In the ClinSeekAgent repository it can be evaluated in two ways:

  • single-pass retrieval: clinseekagent/run_text.py --retrieval_mode single_shot;
  • the standard multi-round agentic loop (cross-evaluation).

Loading with transformers:

import torch
from transformers import AutoModelForImageTextToText, AutoTokenizer

model_id = "Letian2003/ClinSeek-35B-A3B-armS-singlepass-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 trajectories over MIMIC-IV patient records. MIMIC-IV is PhysioNet credentialed-access data, and the trajectories contain record content returned by the tools. 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.
  • 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
Ревизия весов
5511e85

0 моделей