/ Модель

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

Контекст
40 960 токенов
Параметры
7,6 млрд
Размер весов
16,4 ГБ
Лицензия
Apache 2.0
Архитектура
qwen3 · dense
Библиотека
transformers
Опубликована
16 июн 2025

II-Medical-8B-1706

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

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

818скачиваний за 30 дней142лайкавеса обновлены12 авг 2025

Бенчмарки

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

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

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

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

    Вместе с другими моделями категории «Текст» — сравнение идёт внутри одной категории.

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

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

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

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

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

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

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

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

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

II-Medical-8B-1706 — языковая модель Intelligent Internet для медицинских вопросов и рассуждений. Это плотная causal language model семейства Qwen3 с 7,6 млрд параметров; она принимает текст и генерирует текст, поддерживает диалог и имеет контекстное окно 40 960 токенов. Модель дообучена на Qwen/Qwen3-8B: после SFT на медицинских данных разработчики применили двухэтапное обучение DAPO для сложных медицинских рассуждений, безопасности и полезности ответов.

Модель предназначена для ответов на медицинские вопросы и исследовательской оценки на наборах медицинских QA-бенчмарков. В README указаны результаты на HealthBench и других тестах, но они не гарантируют точность в реальных случаях. Обучающие данные включают открытые и синтетические медицинские наборы и могут содержать присущие им смещения. Разработчик отдельно предупреждает, что модель не подходит для медицинского применения; медицинские знания также требуют регулярного обновления. Лицензия — Apache-2.0.

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

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

Ограничения

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

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

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

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

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

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

Открыть на Hugging Face

II-Medical-8B-1706

I. Model Overview

II-Medical-8B-1706 is the newest advanced large language model developed by Intelligent Internet, specifically engineered to enhance AI-driven medical reasoning. Following the positive reception of our previous II-Medical-8B, this new iteration significantly advances the capabilities of medical question answering,

We also provide the static quants versions of II-Medical-8B-1706 here

II. Training Methodology

We collected and generated a comprehensive set of reasoning datasets for the medical domain and performed SFT fine-tuning on the Qwen/Qwen3-8B model. Following this, we further optimized the SFT model by training DAPO on a hard-reasoning dataset to boost performance.

For SFT stage we using the hyperparameters:

  • Max Length: 16378.
  • Batch Size: 128.
  • Learning-Rate: 5e-5.
  • Number Of Epoch: 6.

For the Reinforcement Learning (RL) stage, we designed a two-stage training process. The first stage focuses on enhancing the model's reasoning capabilities for complex medical questions. The second stage ensures that the model's responses prioritize safety and helpfulness. Both stages utilize the following configuration:

  • Max prompt length: 2048 tokens.
  • Max response length: 12288 tokens.
  • Overlong buffer: Enabled, 4096 tokens, penalty factor 1.0.
  • Clip ratios: Low 0.2, High 0.28.
  • Batch sizes: Train prompt 512, Generation prompt 1536, Mini-batch 32.
  • Responses per prompt: 16.
  • Temperature: 1.0, Top-p: 1.0, Top-k: -1 (vLLM rollout).
  • Learning rate: 1e-6, Warmup steps: 10, Weight decay: 0.1.
  • Loss aggregation: Token-mean.
  • Gradient clipping: 1.0.
  • Entropy coefficient: 0.

III. Evaluation Results

image/png

image/png

Our II-Medical-8B-1706 model achieved a 46.8% score on HealthBench, a comprehensive open-source benchmark evaluating the performance and safety of large language models in healthcare. This performance is comparable to MedGemma-27B from Google. We provide a comparison to models available in ChatGPT below.

Detailed result for HealthBench can be found here.

We also evaluate on nine other medical QA benchmarks include MedMCQA, MedQA, PubMedQA, HealthBench, medical related questions from MMLU-Pro, small QA sets from Lancet and the New England Journal of Medicine, 4 Options and 5 Options splits from the MedBullets platform and MedXpertQA.

ModelMedMCMedQAPubMedMMLU-PHealthBenchLancetMedB-4MedB-5MedXNEJMAvg
HuatuoGPT-o1-72B76.7688.8579.9080.4622.7370.8777.2773.0523.5376.2966.97
M162.5475.8175.8065.8615.5162.6263.6459.7419.5964.3456.55
Qwen3-8B66.5381.3873.977.8542.2766.2668.8362.6619.5969.6562.89
Qwen3-32B74.1888.9276.180.747.0872.3372.2771.4228.0476.9468.80
MedGemma-27B-IT73.2487.2770.980.1346.5470.1475.3273.3725.5576.2867.87
II-Medical-8B71.5787.9078.780.4640.0270.3878.2572.0725.2673.1367.77
II-Medical-8B-170674.4488.6179.881.0446.871.6080.8474.6729.6377.6170.5

IV. Dataset Curation

The training dataset comprises 2,197,741 samples from the following sources:

1. Public Medical Reasoning Datasets

2. Synthetic Medical QA Data with Qwen3-235B-A22B (873,497 samples)

Generated from established medical datasets:

For each prompt, we generated 6-10 sampled responses, resulting in the comprehensive dataset mentioned above, and keep only the correct one.

3. Curated Medical R1 Traces

First we gather all the public R1 traces from:

All R1 reasoning traces were processed through a domain-specific pipeline as follows:

  1. Embedding Generation: Prompts are embedded using sentence-transformers/all-MiniLM-L6-v2.

  2. Clustering: Perform K-means clustering with 50,000 clusters.

  3. Domain Classification:

    • For each cluster, select the 10 prompts nearest to the cluster center.
    • Classify the domain of each selected prompt using Qwen2.5-32b-Instruct.
    • Assign the cluster's domain based on majority voting among the classified prompts.
  4. Domain Filtering: Keep only clusters labeled as Medical or Biology for the final dataset.

General Medical & Instruction Following Dataset (1,025,903 samples)

We generated general medical instruction-following data and evaluated it with GPT-4o as an automatic judge. Only the high-scoring (i.e >= 8/10) responses compared to ground-truth answers were retained.

We also using 87,627 prompts from Subset Instruction-following a-m-team/AM-Qwen3-Distilled

Deduplicate

Response Deduplicate

  • Ngram: 4
  • Jacard Threshold: 0.7

Data Decontamination

We using two step decontamination:

  1. Following open-r1 project: We decontaminate a dataset using 8-grams with the evaluation datasets.
  2. After that, we using the fuzzy decontamination from s1k method with threshold 80%.

Our pipeline is carefully decontaminated with the evaluation datasets.

VII. Limitations and Considerations

  • Dataset may contain inherent biases from source materials
  • Medical knowledge requires regular updates
  • Please note that It’s not suitable for medical use.

V. How To Use

Our model can be utilized in the same manner as Qwen or Deepseek-R1-Distill models.

For instance, you can easily start a service using vLLM:

vllm serve Intelligent-Internet/II-Medical-8B-1706

You can also easily start a service using SGLang:

python -m sglang.launch_server --model Intelligent-Internet/II-Medical-8B-1706

VI. Usage Guidelines

  • Recommended Sampling Parameters: temperature = 0.6, top_p = 0.9
  • When using, explicitly request step-by-step reasoning and format the final answer within \boxed{} (e.g., "Please reason step-by-step, and put your final answer within \boxed{}.").

VII. Limitations and Considerations

  • Dataset may contain inherent biases from source materials
  • Medical knowledge requires regular updates
  • Please note that It’s not suitable for medical use.

VIII. Citation

@misc{2025II-Medical-8B-1706,
      title={II-Medical-8B: Medical Reasoning Model}, 
      author={Intelligent Internet},
      year={2025}
}

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

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

GPU в ailist

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

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

Подбираем GPU…

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

0 моделей