BIG-Bench Hard
23 трудные задачи на многошаговое рассуждение
0,5049−0,25 до лидера
Один прогон
Составлено на русском по карточке модели и метаданным Hugging Face
Дообученная HPAI модель Qwen2.5 на 7 млрд параметров для ответов на медицинские вопросы и других задач в сфере здравоохранения.
Qwen2.5-Aloe-Beta-7B — медицинская языковая модель HPAI на архитектуре Qwen2.5, созданная дообучением базовой Qwen2.5-7B. Это декодерный трансформер с 7,1 млрд параметров и контекстом до 131 072 токенов; модель предназначена для ответов на вопросы о здоровье и других медицинских задач, включая суммаризацию, объяснение, классификацию, диагностику и рекомендации по лечению. Она обучена преимущественно на медицинских данных и поддерживает диалог и интерфейс вызова инструментов; заявленный язык — английский, другие языки формально не оценивались. Авторы сообщают о конкурентных результатах на медицинских наборах вопросов и ответов, особенно при использовании Medprompt и RAG.
Модель может ошибаться, выдавать токсичный контент и содержать нежелательные смещения. Её нельзя применять в клинической практике, для постановки диагнозов или оказания медицинских рекомендаций. Модификации Aloe распространяются по лицензии CC-BY-NC-4.0 для некоммерческого использования и исследований.
Модель может давать ошибочные ответы, проявлять смещения и генерировать токсичный контент; авторы запрещают использовать её для клинической практики, диагностики и медицинских рекомендаций. Другие языки, помимо английского, формально не оценивались; лицензия CC-BY-NC-4.0 ограничивает использование некоммерческими целями.
Результаты из открытых лидербордов в сравнении с лидерами каталога на 1 декабря 2026
Цвет сравнивает модели внутри строки: чем темнее ячейка, тем лучше результат в этом тесте. Таблица листается вправо
| Тест | Qwen2.5-Aloe-Beta-7Bэта модель | 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,5049 | 0,7319 | 0,7586 — лучший результат | 0,6919 | 0,6402 | 0,6998 | 0,7262 | 0,7474 | 0,7478 | 0,7262 |
| GPQAGPQA Raw | 0,2911 | 0,4027 | 0,4169 | 0,3289 | 0,271 | 0,4706 — лучший результат | 0,4002 | 0,3213 | 0,3381 | 0,3633 |
| IFEvalIFEval Raw | 0,4554 | 0,8063 | 0,7324 | 0,8998 — лучший результат | 0,495 | 0,6963 | 0,8163 | 0,701 | 0,341 | 0,8662 |
| MATH, уровень 5MATH Lvl 5 Raw | 0,3542 | 0,4033 | 0,2863 | 0,4834 | 0,7145 — лучший результат | 0,3958 | 0,4063 | 0,4079 | 0,1715 | 0,5914 |
| MMLU-ProMMLU-PRO Raw | 0,4354 | 0,7303 — лучший результат | 0,5884 | 0,5332 | 0,4411 | 0,5535 | 0,7012 | 0,3998 | 0,4051 | 0,5619 |
| MuSRMUSR Raw | 0,426 | 0,6024 — лучший результат | 0,5911 | 0,4461 | 0,4062 | 0,4682 | 0,5902 | 0,4558 | 0,4475 | 0,4298 |
Сильнейшие модели каждой компании с результатами в тех же тестах. У моделей OpenAI и Anthropic результатов этих тестов в каталоге нет. Цвет сравнивает модели внутри строки: чем темнее ячейка, тем лучше результат в этом тесте. Таблица листается вправо
| Тест | Qwen2.5-Aloe-Beta-7Bэта модель | |||
|---|---|---|---|---|
| gemma-2-27b-it | gemma-2-9b | gemma-2-27b | ||
| BIG-Bench HardBBH Raw | 0,5049 | 0,6451 — лучший результат | 0,5377 | 0,5643 |
| GPQAGPQA Raw | 0,2911 | 0,375 — лучший результат | 0,3289 | 0,3507 |
| IFEvalIFEval Raw | 0,4554 | 0,7978 — лучший результат | 0,204 | 0,2475 |
| MATH, уровень 5MATH Lvl 5 Raw | 0,3542 — лучший результат | 0,2387 | 0,1344 | 0,1662 |
| MMLU-ProMMLU-PRO Raw | 0,4354 | 0,4451 — лучший результат | 0,4103 | 0,4371 |
| MuSRMUSR Raw | 0,426 | 0,4033 | 0,4461 — лучший результат | 0,4396 |
Место — среди моделей каталога с результатом этого теста
23 трудные задачи на многошаговое рассуждение
0,5049−0,25 до лидера
Один прогон
Вопросы уровня аспирантуры по физике, химии и биологии
0,2911−0,18 до лидера
Один прогон
Точное выполнение формальных инструкций к ответу
0,4554−0,44 до лидера
Один прогон
Самые сложные олимпиадные задачи по математике
0,3542−0,36 до лидера
Один прогон
Вопросы с десятью вариантами ответа по 14 дисциплинам
0,4354−0,29 до лидера
Один прогон
Рассуждение над длинными историями: детективы, планирование
0,426−0,18 до лидера
Один прогон
Никто ещё не опубликовал тест этой модели. Соберите бенчмарк из своих задач — результат появится здесь рядом с другими моделями теста
Вместе с другими моделями категории «Текст» — сравнение идёт внутри одной категории.
Напишите запросы, при необходимости приложите файлы и эталонные ответы.
Модели ответят на каждую задачу, судья оценит ответы по шкале 0–100.
Разделы каталога профессий, в задачах которых используется эта модель
README от автора на Hugging Face, как он его опубликовал
Qwen2.5-Aloe-Beta-7B is an open healthcare LLM achieving state-of-the-art performance on several medical tasks. Aloe Beta is made available in four model sizes: 7B, 8B, 70B, and 72B. All models are trained using the same recipe, on top of two different families of models: Llama3.1 and Qwen2.5.
Aloe is trained on 20 medical tasks, resulting in a robust and versatile healthcare model. Evaluations show Aloe models to be among the best in their class. When combined with a RAG system (also released) the 7B and 8B version gets close to the performance of closed models like MedPalm-2, GPT4. With the same RAG system, Llama3.1-Aloe-Beta-70B and Qwen2.5-Aloe-Beta-72B outperforms those private alternatives, producing state-of-the-art results.

Aloe-Beta is the latest iteration in the Aloe family, building and improving on the success of its predecessor, Aloe-8B-Alpha. Beta more than triples the training data used by Alpha, for a total of 1.8B tokens, including a wider variety of medical tasks and instructions (e.g., text summarization, explanation, diagnosis, text classification, treatment recommendation, ...).

To mitigate catastrophic forgetting and enable the model to effectively learn new capabilities like function calling, we incorporated a diverse set of high-quality general-purpose data constituting 20% of the total training set. The curated data includes some of the highest-quality content available across a range of topics, including mathematics, programming, STEM, and very long instructions (> 8k tokens), to enrich the model's adaptability and comprehension across diverse domains.
Beta also boosts the alignment and safety stages with respect to Alpha. This includes a medical preference dataset, as well as the red-teaming dataset (available soon).
Complete training details, model merging configurations, and all training data (including synthetically generated data) can be found below. This includes the RAG system that was developed to test Aloe Beta in a deployment setup. Aloe comes with a healthcare-specific risk assessment to facilitate to the safe use and deployment of such systems.
Aloe Beta has been tested on the most popular healthcare QA datasets, with and without Medprompt inference technique. Results show competitive performance, achieving SOTA within models of the same size.

The Beta model has been developed to excel in several different medical tasks. For this reason, we evaluated the model in many different medical tasks:


We also compared the performance of the model in the general domain, using the OpenLLM Leaderboard benchmark. Aloe-Beta gets competitive results with the current SOTA general models in the most used general benchmarks and outperforms the medical models:

We encourage the use of Aloe for research purposes, as a stepping stone to build better foundational models for healthcare. In production, Aloe should always be used under the supervision of a human expert.
These models are not to be used for clinical practice, medical diagnosis, or any other form of direct or indirect healthcare advice. Models are prone to error and can produce toxic content. The use of Aloe models for activities harmful to individuals, such as spam, fraud, or impersonation, is strictly prohibited. Minors should not be left alone to interact with Aloe without supervision.
Aloe can produce toxic content under the appropriate prompts, and it includes multiple undesirable biases. While significant efforts where conducted to mitigate this (see Alignment details below), model safety cannot be fully guaranteed. We avoid the use of all personal data in our training.
We identify at least three risk cases specific to healthcare LLMs:
Use the code below to get started with the model. You can run conversational inference using the Transformers pipeline abstraction, or by leveraging the Auto classes with the generate() function. Let's see examples for both.
import transformers
import torch
model_id = "HPAI-BSC/Qwen2.5-Aloe-Beta-7B"
pipeline = transformers.pipeline(
"text-generation",
model=model_id,
model_kwargs={"torch_dtype": torch.bfloat16},
device_map="auto",
)
messages = [
{"role": "system", "content": "You are an expert medical assistant named Aloe, developed by the High Performance Artificial Intelligence Group at Barcelona Supercomputing Center(BSC). You are to be a helpful, respectful, and honest assistant."},
{"role": "user", "content": "Hello."},
]
prompt = pipeline.tokenizer.apply_chat_template(
messages,
tokenize=False,
add_generation_prompt=True
)
terminators = [
pipeline.tokenizer.eos_token_id,
pipeline.tokenizer.convert_tokens_to_ids("<|im_end|>")
]
outputs = pipeline(
prompt,
max_new_tokens=256,
eos_token_id=terminators,
do_sample=True,
temperature=0.7,
top_p=0.8,
top_k=20,
repetition_penalty=1.05
)
print(outputs[0]["generated_text"][len(prompt):])
from transformers import AutoTokenizer, AutoModelForCausalLM
import torch
model_id = "HPAI-BSC/Qwen2.5-Aloe-Beta-7B"
tokenizer = AutoTokenizer.from_pretrained(model_id)
model = AutoModelForCausalLM.from_pretrained(
model_id,
torch_dtype=torch.bfloat16,
device_map="auto",
)
messages = [
{"role": "system", "content": "You are an expert medical assistant named Aloe, developed by the High Performance Artificial Intelligence Group at Barcelona Supercomputing Center(BSC). You are to be a helpful, respectful, and honest assistant."},
{"role": "user", "content": "Hello"},
]
input_ids = tokenizer.apply_chat_template(
messages,
add_generation_prompt=True,
return_tensors="pt"
).to(model.device)
terminators = [
tokenizer.eos_token_id,
tokenizer.convert_tokens_to_ids("<|im_end|>")
]
outputs = model.generate(
input_ids,
max_new_tokens=256,
eos_token_id=terminators,
do_sample=True,
temperature=0.7,
top_p=0.8,
top_k=20,
repetition_penalty=1.05
)
response = outputs[0][input_ids.shape[-1]:]
print(tokenizer.decode(response, skip_special_tokens=True))
SFT on top of Qwen2.5-7B using axolotl (https://github.com/axolotl-ai-cloud/axolotl).
We used Deepspeed's Zero-3 distributed training using the following hardware:
The training set consists of around 1.8B tokens, having 3 different types of data:
The model trained was merged with the Qwen2.5-7B-Instruct model using the DARE_TIES technique. Mergekit was used to conduct the merging.
The model is aligned using the Direct Preference Optimization (DPO) technique through a two-step process:
We used OpenRLHF library. We aligned the model using 16x NVIDA HOOPER H100 64GB of the Marenostrum 5. Common hyperparameters:
To compare Aloe with the most competitive open models (both general purpose and healthcare-specific) we use popular healthcare datasets (PubMedQA, MedMCQA, MedQA and MMLU for six medical tasks only), together with the new and highly reliable CareQA. However, while MCQA benchmarks provide valuable insights into a model's ability to handle structured queries, they fall short in representing the full range of challenges faced in medical practice. Building upon this idea, Aloe-Beta represents the next step in the evolution of the Aloe Family, designed to broaden the scope beyond the multiple-choice question-answering tasks that defined Aloe-Alpha.
Benchmark results indicate the training conducted on Aloe has boosted its performance above all other open models within the same model size. Both Qwen2.5-Aloe-Beta-7B and Llama3.1-Aloe-Beta-8B also outperforms other medical models like Llama3-OpenBioLLM and Llama3-Med42. All these results make Aloe-Beta the best healthcare LLM of its size.
With the help of prompting techniques the performance of Qwen2.5-Aloe-Beta-7B is significantly improved. Medprompting in particular provides a 9% increase in reported accuracy, after which Qwen2.5-Aloe-7B-Beta only lags behind much bigger models like Llama-3.1-70B-Instruct or MedPalm-2. This improvement is mostly consistent across the OpenLLM Leaderboard and the other medical tasks.
Aloe Beta has been developed by the High Performance Artificial Intelligence research group, from the Barcelona Supercomping Center - BSC. Main authors are Jordi Bayarri Planas, Ashwin Kumar Gururajan and Dario Garcia-Gasulla. Red teaming efforts lead by Adrian Tormos.
mailto:hpai@bsc.es
If you use this repository in a published work, please cite the corresponding paper as source:
@article{garcia2025aloe,
title={The Aloe Family Recipe for Open and Specialized Healthcare LLMs},
author={Garcia-Gasulla, Dario and Bayarri-Planas, Jordi and Gururajan, Ashwin Kumar and Lopez-Cuena, Enrique and Tormos, Adrian and Hinjos, Daniel and Bernabeu-Perez, Pablo and Arias-Duart, Anna and Martin-Torres, Pablo Agustin and Gonzalez-Mallo, Marta and others},
year={2025},
eprint={2505.04388},
archivePrefix={arXiv},
}
На своей GPU в ailist. Цена — по текущим предложениям провайдеров
GPU в ailist
Универсальный рантайм · transformers
Подбираем GPU…