BIG-Bench Hard
23 трудные задачи на многошаговое рассуждение
0,333−0,43 до лидера
Один прогон
Составлено на русском по карточке модели и метаданным Hugging Face
Рекуррентная instruction-tuned языковая модель Google для диалога, генерации текста, ответов на вопросы и суммаризации.
RecurrentGemma 2B IT — разработанная Google instruction-tuned языковая модель из семейства RecurrentGemma. Она использует рекуррентную архитектуру и предназначена для генерации текста по инструкциям, включая диалог, ответы на вопросы, суммаризацию и рассуждения. Модель доступна через Transformers и распространяется в формате safetensors.
Google указывает английский как язык версий семейства. По сравнению с Gemma, рекуррентная архитектура требует меньше памяти и ускоряет генерацию длинных последовательностей. Модель подходит для чат-ботов, создания и редактирования текстов, а также для исследовательских и образовательных приложений.
Ответы могут содержать фактические ошибки, отражать смещения обучающих данных и хуже справляться со сложными, неоднозначными или открытыми запросами. Лицензия — Gemma; перед использованием следует соблюдать условия Google для Gemma.
Модель может выдавать неверные или устаревшие факты, отражать смещения обучающих данных и испытывать трудности с неоднозначными формулировками и сложными открытыми задачами. Предназначена для английского языка; для приложений с требованиями к безопасности нужны дополнительные меры контроля.
Результаты из открытых лидербордов в сравнении с лидерами каталога на 5 декабря 2026
Цвет сравнивает модели внутри строки: чем темнее ячейка, тем лучше результат в этом тесте. Таблица листается вправо
| Тест | recurrentgemma-2b-itэта модель | 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,333 | 0,7319 | 0,7586 — лучший результат | 0,6919 | 0,6402 | 0,6998 | 0,7262 | 0,7474 | 0,7478 | 0,7262 |
| GPQAGPQA Raw | 0,2534 | 0,4027 | 0,4169 | 0,3289 | 0,271 | 0,4706 — лучший результат | 0,4002 | 0,3213 | 0,3381 | 0,3633 |
| IFEvalIFEval Raw | 0,2949 | 0,8063 | 0,7324 | 0,8998 — лучший результат | 0,495 | 0,6963 | 0,8163 | 0,701 | 0,341 | 0,8662 |
| MATH, уровень 5MATH Lvl 5 Raw | 0,0196 | 0,4033 | 0,2863 | 0,4834 | 0,7145 — лучший результат | 0,3958 | 0,4063 | 0,4079 | 0,1715 | 0,5914 |
| MMLU-ProMMLU-PRO Raw | 0,1402 | 0,7303 — лучший результат | 0,5884 | 0,5332 | 0,4411 | 0,5535 | 0,7012 | 0,3998 | 0,4051 | 0,5619 |
| MuSRMUSR Raw | 0,3341 | 0,6024 — лучший результат | 0,5911 | 0,4461 | 0,4062 | 0,4682 | 0,5902 | 0,4558 | 0,4475 | 0,4298 |
Сильнейшие модели каждой компании с результатами в тех же тестах. У моделей OpenAI и Anthropic результатов этих тестов в каталоге нет. Цвет сравнивает модели внутри строки: чем темнее ячейка, тем лучше результат в этом тесте. Таблица листается вправо
| Тест | recurrentgemma-2b-itэта модель | |||
|---|---|---|---|---|
| gemma-2-27b-it | gemma-2-9b | gemma-2-27b | ||
| BIG-Bench HardBBH Raw | 0,333 | 0,6451 — лучший результат | 0,5377 | 0,5643 |
| GPQAGPQA Raw | 0,2534 | 0,375 — лучший результат | 0,3289 | 0,3507 |
| IFEvalIFEval Raw | 0,2949 | 0,7978 — лучший результат | 0,204 | 0,2475 |
| MATH, уровень 5MATH Lvl 5 Raw | 0,0196 | 0,2387 — лучший результат | 0,1344 | 0,1662 |
| MMLU-ProMMLU-PRO Raw | 0,1402 | 0,4451 — лучший результат | 0,4103 | 0,4371 |
| MuSRMUSR Raw | 0,3341 | 0,4033 | 0,4461 — лучший результат | 0,4396 |
Место — среди моделей каталога с результатом этого теста
23 трудные задачи на многошаговое рассуждение
0,333−0,43 до лидера
Один прогон
Вопросы уровня аспирантуры по физике, химии и биологии
0,2534−0,22 до лидера
Один прогон
Точное выполнение формальных инструкций к ответу
0,2949−0,60 до лидера
Один прогон
Самые сложные олимпиадные задачи по математике
0,0196−0,69 до лидера
Один прогон
Вопросы с десятью вариантами ответа по 14 дисциплинам
0,1402−0,59 до лидера
Один прогон
Рассуждение над длинными историями: детективы, планирование
0,3341−0,27 до лидера
Один прогон
Разделы каталога профессий, в задачах которых используется эта модель
README от автора на Hugging Face, как он его опубликовал
Model Page: RecurrentGemma
This model card corresponds to the 2B instruction version of the RecurrentGemma model. You can also visit the model card of the 2B base model.
Resources and technical documentation:
Terms of Use: Terms
Authors: Google
Below we share some code snippets on how to get quickly started with running the model. First make sure to `pip install --upgrade git+https://github.com/huggingface/transformers.git, then copy the snippet from the section that is relevant for your usecase.
from transformers import AutoTokenizer, AutoModelForCausalLM
tokenizer = AutoTokenizer.from_pretrained("google/recurrentgemma-2b-it")
model = AutoModelForCausalLM.from_pretrained("google/recurrentgemma-2b-it", device_map="auto")
input_text = "Write me a poem about Machine Learning."
input_ids = tokenizer(input_text, return_tensors="pt").to("cuda")
outputs = model.generate(**input_ids)
print(tokenizer.decode(outputs[0]))
The instruction-tuned models use a chat template that must be adhered to for conversational use. The easiest way to apply it is using the tokenizer's built-in chat template, as shown in the following snippet.
Let's load the model and apply the chat template to a conversation. In this example, we'll start with a single user interaction:
from transformers import AutoTokenizer, AutoModelForCausalLM
import transformers
import torch
model_id = "google/recurrentgemma-2b-it"
dtype = torch.bfloat16
tokenizer = AutoTokenizer.from_pretrained(model_id)
model = AutoModelForCausalLM.from_pretrained(
model_id,
device_map="cuda",
torch_dtype=dtype,
)
chat = [
{ "role": "user", "content": "Write a hello world program" },
]
prompt = tokenizer.apply_chat_template(chat, tokenize=False, add_generation_prompt=True)
At this point, the prompt contains the following text:
<bos><start_of_turn>user
Write a hello world program<end_of_turn>
<start_of_turn>model
As you can see, each turn is preceded by a <start_of_turn> delimiter and then the role of the entity
(either user, for content supplied by the user, or model for LLM responses). Turns finish with
the <end_of_turn> token.
You can follow this format to build the prompt manually, if you need to do it without the tokenizer's chat template.
After the prompt is ready, generation can be performed like this:
inputs = tokenizer.encode(prompt, add_special_tokens=False, return_tensors="pt")
outputs = model.generate(input_ids=inputs.to(model.device), max_new_tokens=150)
print(tokenizer.decode(outputs[0]))
RecurrentGemma is a family of open language models built on a novel recurrent architecture developed at Google. Both pre-trained and instruction-tuned versions are available in English.
Like Gemma, RecurrentGemma models are well-suited for a variety of text generation tasks, including question answering, summarization, and reasoning. Because of its novel architecture, RecurrentGemma requires less memory than Gemma and achieves faster inference when generating long sequences.
@article{recurrentgemma_2024,
title={RecurrentGemma},
url={},
DOI={},
publisher={Kaggle},
author={Griffin Team, Soham De, Samuel L Smith, Anushan Fernando, Alex Botev, George-Christian Muraru, Ruba Haroun, Leonard Berrada et al.},
year={2024}
}
RecurrentGemma uses the same training data and data processing as used by the Gemma model family. A full description can be found on the Gemma model card.
Like Gemma, RecurrentGemma was trained on TPUv5e, using JAX and ML Pathways.
These models were evaluated against a large collection of different datasets and metrics to cover different aspects of text generation:
| Benchmark | Metric | RecurrentGemma 2B |
|---|---|---|
| MMLU | 5-shot, top-1 | 38.4 |
| HellaSwag | 0-shot | 71.0 |
| PIQA | 0-shot | 78.5 |
| SocialIQA | 0-shot | 51.8 |
| BoolQ | 0-shot | 71.3 |
| WinoGrande | partial score | 67.8 |
| CommonsenseQA | 7-shot | 63.7 |
| OpenBookQA | 47.2 | |
| ARC-e | 72.9 | |
| ARC-c | 42.3 | |
| TriviaQA | 5-shot | 52.5 |
| Natural Questions | 5-shot | 11.5 |
| HumanEval | pass@1 | 21.3 |
| MBPP | 3-shot | 28.8 |
| GSM8K | maj@1 | 13.4 |
| MATH | 4-shot | 11.0 |
| AGIEval | 23.8 | |
| BIG-Bench | 35.3 | |
| Average | 44.6 |
Our evaluation methods include structured evaluations and internal red-teaming testing of relevant content policies. Red-teaming was conducted by a number of different teams, each with different goals and human evaluation metrics. These models were evaluated against a number of different categories relevant to ethics and safety, including:
The results of ethics and safety evaluations are within acceptable thresholds for meeting internal policies for categories such as child safety, content safety, representational harms, memorization, large-scale harms. On top of robust internal evaluations, the results of well known safety benchmarks like BBQ, Winogender, Winobias, RealToxicity, and TruthfulQA are shown here.
| Benchmark | Metric | RecurrentGemma 2B | RecurrentGemma 2B IT |
|---|---|---|---|
| RealToxicity | avg | 9.8 | 7.6 |
| BOLD | 39.3 | 52.4 | |
| CrowS-Pairs | top-1 | 41.1 | 43.4 |
| BBQ Ambig | top-1 | 62.6 | 71.1 |
| BBQ Disambig | top-1 | 58.4 | 50.8 |
| Winogender | top-1 | 55.1 | 54.7 |
| TruthfulQA | 35.1 | 42.7 | |
| Winobias 1_2 | 58.4 | 56.4 | |
| Winobias 2_2 | 90.0 | 75.4 | |
| Toxigen | 56.7 | 50.0 |
These models have certain limitations that users should be aware of:
The development of large language models (LLMs) raises several ethical concerns. In creating an open model, we have carefully considered the following:
Risks Identified and Mitigations:
Open Large Language Models (LLMs) have a wide range of applications across various industries and domains. The following list of potential uses is not comprehensive. The purpose of this list is to provide contextual information about the possible use-cases that the model creators considered as part of model training and development.
At the time of release, this family of models provides high-performance open large language model implementations designed from the ground up for Responsible AI development compared to similarly sized models.
Using the benchmark evaluation metrics described in this document, these models have shown to provide superior performance to other, comparably-sized open model alternatives.
In particular, RecurrentGemma models achieve comparable performance to Gemma models but are faster during inference and require less memory, especially on long sequences.
На своей GPU в ailist. Цена — по текущим предложениям провайдеров
GPU в ailist
Универсальный рантайм · transformers
Доступ к модели ограничен автором; у платформы нет доступа к весам.