BIG-Bench Hard
23 трудные задачи на многошаговое рассуждение
0,6688−0,09 до лидера
Один прогон
Составлено на русском по карточке модели и метаданным Hugging Face
Крупная клиническая языковая модель M42 для ответов на медицинские вопросы и помощи в работе с медицинским текстом.
Med42-v2-70B — клиническая языковая модель, разработанная командой M42 Health AI. Это плотная авторегрессионная модель семейства Llama 3 с 69,5 млрд параметров, дообученная по инструкциям и предпочтениям на медицинских и общих диалоговых данных. Она принимает и генерирует текст, поддерживает диалог и рассчитана на контекст до 8192 токенов; в карточке указан английский язык.
Модель предназначена для ответов на медицинские вопросы, обобщения записей пациентов, помощи в анализе диагностических вопросов и общих вопросов о здоровье. В README приведены результаты на медицинских тестах, включая MedQA, MedMCQA и USMLE, однако эти показатели не гарантируют точность или безопасность ответов в практических случаях.
Разработчики предупреждают, что модель не готова к клиническому применению без тщательной проверки и валидации: она может выдавать неверную или вредную информацию и воспроизводить смещения обучающих данных. Модель распространяется по лицензии Llama 3 Community License Agreement.
Не предназначена для принятия медицинских решений или ухода за пациентами без тщательного тестирования и валидации; может генерировать неверную или вредную информацию и воспроизводить смещения обучающих данных.
Результаты из открытых лидербордов в сравнении с лидерами каталога на 4 декабря 2026
Цвет сравнивает модели внутри строки: чем темнее ячейка, тем лучше результат в этом тесте. Таблица листается вправо
| Тест | Llama3-Med42-70Bэта модель | calme-3.2-instruct-78b | T3Q-qwen2.5-14b-v1.0-e3 | Llama-3.3-70B-Instruct | AceMath-72B-Instruct | L3.3-MS-Nevoria-70b | CalmeRys-78B-Orpo-v0.1 | internlm2_5-20b-chat | internlm2_5-20b-llamafied | calme-2.1-qwen2.5-72b |
|---|---|---|---|---|---|---|---|---|---|---|
| BIG-Bench HardBBH Raw | 0,6688 | 0,7319 | 0,7586 — лучший результат | 0,6919 | 0,6402 | 0,6998 | 0,7262 | 0,7474 | 0,7478 | 0,7262 |
| GPQAGPQA Raw | 0,3473 | 0,4027 | 0,4169 | 0,3289 | 0,271 | 0,4706 — лучший результат | 0,4002 | 0,3213 | 0,3381 | 0,3633 |
| IFEvalIFEval Raw | 0,6291 | 0,8063 | 0,7324 | 0,8998 — лучший результат | 0,495 | 0,6963 | 0,8163 | 0,701 | 0,341 | 0,8662 |
| MATH, уровень 5MATH Lvl 5 Raw | 0,2258 | 0,4033 | 0,2863 | 0,4834 | 0,7145 — лучший результат | 0,3958 | 0,4063 | 0,4079 | 0,1715 | 0,5914 |
| MMLU-ProMMLU-PRO Raw | 0,4963 | 0,7303 — лучший результат | 0,5884 | 0,5332 | 0,4411 | 0,5535 | 0,7012 | 0,3998 | 0,4051 | 0,5619 |
| MuSRMUSR Raw | 0,4629 | 0,6024 — лучший результат | 0,5911 | 0,4461 | 0,4062 | 0,4682 | 0,5902 | 0,4558 | 0,4475 | 0,4298 |
Сильнейшие модели каждой компании с результатами в тех же тестах. У моделей OpenAI и Anthropic результатов этих тестов в каталоге нет. Цвет сравнивает модели внутри строки: чем темнее ячейка, тем лучше результат в этом тесте. Таблица листается вправо
| Тест | Llama3-Med42-70Bэта модель | |||
|---|---|---|---|---|
| gemma-2-27b-it | gemma-2-9b | gemma-2-27b | ||
| BIG-Bench HardBBH Raw | 0,6688 — лучший результат | 0,6451 | 0,5377 | 0,5643 |
| GPQAGPQA Raw | 0,3473 | 0,375 — лучший результат | 0,3289 | 0,3507 |
| IFEvalIFEval Raw | 0,6291 | 0,7978 — лучший результат | 0,204 | 0,2475 |
| MATH, уровень 5MATH Lvl 5 Raw | 0,2258 | 0,2387 — лучший результат | 0,1344 | 0,1662 |
| MMLU-ProMMLU-PRO Raw | 0,4963 — лучший результат | 0,4451 | 0,4103 | 0,4371 |
| MuSRMUSR Raw | 0,4629 — лучший результат | 0,4033 | 0,4461 | 0,4396 |
Место — среди моделей каталога с результатом этого теста
23 трудные задачи на многошаговое рассуждение
0,6688−0,09 до лидера
Один прогон
Вопросы уровня аспирантуры по физике, химии и биологии
0,3473−0,12 до лидера
Один прогон
Точное выполнение формальных инструкций к ответу
0,6291−0,27 до лидера
Один прогон
Самые сложные олимпиадные задачи по математике
0,2258−0,49 до лидера
Один прогон
Вопросы с десятью вариантами ответа по 14 дисциплинам
0,4963−0,23 до лидера
Один прогон
Рассуждение над длинными историями: детективы, планирование
0,4629−0,14 до лидера
Один прогон
Никто ещё не опубликовал тест этой модели. Соберите бенчмарк из своих задач — результат появится здесь рядом с другими моделями теста
Вместе с другими моделями категории «Текст» — сравнение идёт внутри одной категории.
Напишите запросы, при необходимости приложите файлы и эталонные ответы.
Модели ответят на каждую задачу, судья оценит ответы по шкале 0–100.
Разделы каталога профессий, в задачах которых используется эта модель
README от автора на Hugging Face, как он его опубликовал
Med42-v2 is a suite of open-access clinical large language models (LLM) instruct and preference-tuned by M42 to expand access to medical knowledge. Built off LLaMA-3 and comprising either 8 or 70 billion parameters, these generative AI systems provide high-quality answers to medical questions.
| Models | Elo Score |
|---|---|
| Med42-v2-70B | 1764 |
| Llama3-70B-Instruct | 1643 |
| GPT4-o | 1426 |
| Llama3-8B-Instruct | 1352 |
| Mixtral-8x7b-Instruct | 970 |
| Med42-v2-8B | 924 |
| OpenBioLLM-70B | 657 |
| JSL-MedLlama-3-8B-v2.0 | 447 |
Use this suite of models responsibly! Do not rely on them for medical usage without rigorous safety testing.
Disclaimer: This large language model is not yet ready for clinical use without further testing and validation. It should not be relied upon for making medical decisions or providing patient care.
Beginning with Llama3 models, Med42-v2 were instruction-tuned using a dataset of ~1B tokens compiled from different open-access and high-quality sources, including medical flashcards, exam questions, and open-domain dialogues.
Model Developers: M42 Health AI Team
Finetuned from model: Llama3 - 8B & 70B Instruct
Context length: 8k tokens
Input: Text only data
Output: Model generates text only
Status: This is a static model trained on an offline dataset. Future versions of the tuned models will be released as we enhance the model's performance.
License: Llama 3 Community License Agreement
Research Paper: Med42-v2: A Suite of Clinical LLMs
The Med42-v2 suite of models is being made available for further testing and assessment as AI assistants to enhance clinical decision-making and access to LLMs for healthcare use. Potential use cases include:
Run the model
You can use the 🤗 Transformers library text-generation pipeline to do inference.
import transformers
import torch
model_name_or_path = "m42-health/Llama3-Med42-70B"
pipeline = transformers.pipeline(
"text-generation",
model=model_name_or_path,
torch_dtype=torch.bfloat16,
device_map="auto",
)
messages = [
{
"role": "system",
"content": (
"You are a helpful, respectful and honest medical assistant. You are a second version of Med42 developed by the AI team at M42, UAE. "
"Always answer as helpfully as possible, while being safe. "
"Your answers should not include any harmful, unethical, racist, sexist, toxic, dangerous, or illegal content. "
"Please ensure that your responses are socially unbiased and positive in nature. If a question does not make any sense, or is not factually coherent, explain why instead of answering something not correct. "
"If you don’t know the answer to a question, please don’t share false information."
),
},
{"role": "user", "content": "What are the symptoms of diabetes?"},
]
prompt = pipeline.tokenizer.apply_chat_template(
messages, tokenize=False, add_generation_prompt=False
)
stop_tokens = [
pipeline.tokenizer.eos_token_id,
pipeline.tokenizer.convert_tokens_to_ids("<|eot_id|>"),
]
outputs = pipeline(
prompt,
max_new_tokens=512,
eos_token_id=stop_tokens,
do_sample=True,
temperature=0.4,
top_k=150,
top_p=0.75,
)
print(outputs[0]["generated_text"][len(prompt) :])
The training was conducted on the NVIDIA DGX cluster with H100 GPUs, utilizing PyTorch's Fully Sharded Data Parallel (FSDP) framework.
To ensure a robust evaluation of our model's output quality, we employ the LLM-as-a-Judge approach using Prometheus-8x7b-v2.0. Our assessment uses 4,000 carefully curated publicly accessible healthcare-related questions, generating responses from various models. We then use Prometheus to conduct pairwise comparisons of the answers. Drawing inspiration from the LMSYS Chatbot-Arena methodology, we present the results as Elo ratings for each model.
To maintain fairness and eliminate potential bias from prompt engineering, we used the same simple system prompt for every model throughout the evaluation process.
Below is the scoring rubric we used to prompt Prometheus to select the best answer:
### Score Rubric:
Which response is of higher overall quality in a medical context? Consider:
* Relevance: Does it directly address the question?
* Completeness: Does it cover all important aspects, details and subpoints?
* Safety: Does it avoid unsafe practices and address potential risks?
* Ethics: Does it maintain confidentiality and avoid biases?
* Clarity: Is it professional, clear and easy to understand?
| Models | Elo Score |
|---|---|
| Med42-v2-70B | 1764 |
| Llama3-70B-Instruct | 1643 |
| GPT4-o | 1426 |
| Llama3-8B-Instruct | 1352 |
| Mixtral-8x7b-Instruct | 970 |
| Med42-v2-8B | 924 |
| OpenBioLLM-70B | 657 |
| JSL-MedLlama-3-8B-v2.0 | 447 |
Med42-v2 improves performance on every clinical benchmark compared to our previous version, including MedQA, MedMCQA, USMLE, MMLU clinical topics, and MMLU Pro clinical subset. For all evaluations reported so far, we use EleutherAI's evaluation harness library and report zero-shot accuracies (except otherwise stated). We integrated chat templates into harness and computed the likelihood for the full answer instead of only the tokens "a.", "b.", "c." or "d.".
| Model | MMLU Pro | MMLU | MedMCQA | MedQA | USMLE |
|---|---|---|---|---|---|
| Med42v2-70B | 64.36 | 87.12 | 73.20 | 79.10 | 83.80 |
| Med42v2-8B | 54.30 | 75.76 | 61.34 | 62.84 | 67.04 |
| OpenBioLLM-70B | 64.24 | 90.40 | 73.18 | 76.90 | 79.01 |
| GPT-4.0† | - | 87.00 | 69.50 | 78.90 | 84.05 |
| MedGemini* | - | - | - | 84.00 | - |
| Med-PaLM-2 (5-shot)* | - | 87.77 | 71.30 | 79.70 | - |
| Med42 | - | 76.72 | 60.90 | 61.50 | 71.85 |
| ClinicalCamel-70B | - | 69.75 | 47.00 | 53.40 | 54.30 |
| GPT-3.5† | - | 66.63 | 50.10 | 50.80 | 53.00 |
| Llama3-8B-Instruct | 48.24 | 72.89 | 59.65 | 61.64 | 60.38 |
| Llama3-70B-Instruct | 64.24 | 85.99 | 72.03 | 78.88 | 83.57 |
**For MedGemini, results are reported for MedQA without self-training and without search. We note that 0-shot performance is not reported for Med-PaLM 2. Further details can be found at https://github.com/m42health/med42*.
† Results as reported in the paper Capabilities of GPT-4 on Medical Challenge Problems.
Please report any software "bug" or other problems through one of the following means:
We thank the Torch FSDP team for their robust distributed training framework, the EleutherAI harness team for their valuable evaluation tools, and the Hugging Face Alignment team for their contributions to responsible AI development.
@misc{med42v2,
Author = {Cl{\'e}ment Christophe and Praveen K Kanithi and Tathagata Raha and Shadab Khan and Marco AF Pimentel},
Title = {Med42-v2: A Suite of Clinical LLMs},
Year = {2024},
Eprint = {arXiv:2408.06142},
url={https://arxiv.org/abs/2408.06142},
}
На своей GPU в ailist. Цена — по текущим предложениям провайдеров
GPU в ailist
vLLM
Подбираем GPU…