BIG-Bench Hard
23 трудные задачи на многошаговое рассуждение
0,3036−0,46 до лидера
Лучший из 2 прогонов: 0,3017–0,3036
Составлено на русском по карточке модели и метаданным Hugging Face
Компактная англоязычная авторегрессионная модель OpenAI для генерации продолжения текста по промпту.
GPT-2 — авторегрессионная языковая модель семейства Transformer, разработанная OpenAI и представленная в репозитории openai-community. Эта версия содержит 124 млн параметров и обучена на англоязычных текстах предсказывать следующий токен; её основное назначение — генерация продолжения текста по заданному фрагменту. Модель принимает текст и выдаёт текст, использует byte-level BPE с словарём из 50 257 токенов и поддерживает контекст длиной до 1024 токенов.
Модель подходит для чернового продолжения текста, генерации примеров и экспериментов с языковыми моделями; её также можно дообучить для специализированных задач. Она не проверяет факты и может воспроизводить смещения и нежелательное содержание из обучающих данных, собранных из интернета. Обучающий корпус WebText не опубликован. Лицензия — MIT.
Модель может генерировать фактически неверный текст и отражать смещения и нежелательное содержание обучающих данных; корпус WebText не опубликован. Контекст ограничен 1024 токенами.
Результаты из открытых лидербордов в сравнении с лидерами каталога на 6 декабря 2026
Цвет сравнивает модели внутри строки: чем темнее ячейка, тем лучше результат в этом тесте. Таблица листается вправо
| Тест | gpt2эта модель | 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,3036 | 0,7319 | 0,7586 — лучший результат | 0,6919 | 0,6402 | 0,6998 | 0,7262 | 0,7474 | 0,7478 | 0,7262 |
| GPQAGPQA Raw | 0,2584 | 0,4027 | 0,4169 | 0,3289 | 0,271 | 0,4706 — лучший результат | 0,4002 | 0,3213 | 0,3381 | 0,3633 |
| IFEvalIFEval Raw | 0,1793 | 0,8063 | 0,7324 | 0,8998 — лучший результат | 0,495 | 0,6963 | 0,8163 | 0,701 | 0,341 | 0,8662 |
| MATH, уровень 5MATH Lvl 5 Raw | 0,0053 | 0,4033 | 0,2863 | 0,4834 | 0,7145 — лучший результат | 0,3958 | 0,4063 | 0,4079 | 0,1715 | 0,5914 |
| MMLU-ProMMLU-PRO Raw | 0,1165 | 0,7303 — лучший результат | 0,5884 | 0,5332 | 0,4411 | 0,5535 | 0,7012 | 0,3998 | 0,4051 | 0,5619 |
| MuSRMUSR Raw | 0,4471 | 0,6024 — лучший результат | 0,5911 | 0,4461 | 0,4062 | 0,4682 | 0,5902 | 0,4558 | 0,4475 | 0,4298 |
Сильнейшие модели каждой компании с результатами в тех же тестах. У моделей OpenAI и Anthropic результатов этих тестов в каталоге нет. Цвет сравнивает модели внутри строки: чем темнее ячейка, тем лучше результат в этом тесте. Таблица листается вправо
| Тест | gpt2эта модель | |||
|---|---|---|---|---|
| gemma-2-27b-it | gemma-2-9b | gemma-2-27b | ||
| BIG-Bench HardBBH Raw | 0,3036 | 0,6451 — лучший результат | 0,5377 | 0,5643 |
| GPQAGPQA Raw | 0,2584 | 0,375 — лучший результат | 0,3289 | 0,3507 |
| IFEvalIFEval Raw | 0,1793 | 0,7978 — лучший результат | 0,204 | 0,2475 |
| MATH, уровень 5MATH Lvl 5 Raw | 0,0053 | 0,2387 — лучший результат | 0,1344 | 0,1662 |
| MMLU-ProMMLU-PRO Raw | 0,1165 | 0,4451 — лучший результат | 0,4103 | 0,4371 |
| MuSRMUSR Raw | 0,4471 — лучший результат | 0,4033 | 0,4461 | 0,4396 |
Место — среди моделей каталога с результатом этого теста
23 трудные задачи на многошаговое рассуждение
0,3036−0,46 до лидера
Лучший из 2 прогонов: 0,3017–0,3036
Вопросы уровня аспирантуры по физике, химии и биологии
0,2584−0,21 до лидера
Лучший из 2 прогонов: 0,2584–0,2584
Точное выполнение формальных инструкций к ответу
0,1793−0,72 до лидера
Лучший из 2 прогонов: 0,178–0,1793
Самые сложные олимпиадные задачи по математике
0,0053−0,71 до лидера
Лучший из 2 прогонов: 0,0023–0,0053
Вопросы с десятью вариантами ответа по 14 дисциплинам
0,1165−0,61 до лидера
Лучший из 2 прогонов: 0,1159–0,1165
Рассуждение над длинными историями: детективы, планирование
0,4471−0,16 до лидера
Лучший из 2 прогонов: 0,439–0,4471
Никто ещё не опубликовал тест этой модели. Соберите бенчмарк из своих задач — результат появится здесь рядом с другими моделями теста
Вместе с другими моделями категории «Текст» — сравнение идёт внутри одной категории.
Напишите запросы, при необходимости приложите файлы и эталонные ответы.
Модели ответят на каждую задачу, судья оценит ответы по шкале 0–100.
Разделы каталога профессий, в задачах которых используется эта модель
README от автора на Hugging Face, как он его опубликовал
Test the whole generation capabilities here: https://transformer.huggingface.co/doc/gpt2-large
Pretrained model on English language using a causal language modeling (CLM) objective. It was introduced in this paper and first released at this page.
Disclaimer: The team releasing GPT-2 also wrote a model card for their model. Content from this model card has been written by the Hugging Face team to complete the information they provided and give specific examples of bias.
GPT-2 is a transformers model pretrained on a very large corpus of English data in a self-supervised fashion. This means it was pretrained on the raw texts only, with no humans labelling them in any way (which is why it can use lots of publicly available data) with an automatic process to generate inputs and labels from those texts. More precisely, it was trained to guess the next word in sentences.
More precisely, inputs are sequences of continuous text of a certain length and the targets are the same sequence,
shifted one token (word or piece of word) to the right. The model uses internally a mask-mechanism to make sure the
predictions for the token i only uses the inputs from 1 to i but not the future tokens.
This way, the model learns an inner representation of the English language that can then be used to extract features useful for downstream tasks. The model is best at what it was pretrained for however, which is generating texts from a prompt.
This is the smallest version of GPT-2, with 124M parameters.
Related Models: GPT-Large, GPT-Medium and GPT-XL
You can use the raw model for text generation or fine-tune it to a downstream task. See the model hub to look for fine-tuned versions on a task that interests you.
You can use this model directly with a pipeline for text generation. Since the generation relies on some randomness, we set a seed for reproducibility:
>>> from transformers import pipeline, set_seed
>>> generator = pipeline('text-generation', model='gpt2')
>>> set_seed(42)
>>> generator("Hello, I'm a language model,", max_length=30, num_return_sequences=5)
[{'generated_text': "Hello, I'm a language model, a language for thinking, a language for expressing thoughts."},
{'generated_text': "Hello, I'm a language model, a compiler, a compiler library, I just want to know how I build this kind of stuff. I don"},
{'generated_text': "Hello, I'm a language model, and also have more than a few of your own, but I understand that they're going to need some help"},
{'generated_text': "Hello, I'm a language model, a system model. I want to know my language so that it might be more interesting, more user-friendly"},
{'generated_text': 'Hello, I\'m a language model, not a language model"\n\nThe concept of "no-tricks" comes in handy later with new'}]
Here is how to use this model to get the features of a given text in PyTorch:
from transformers import GPT2Tokenizer, GPT2Model
tokenizer = GPT2Tokenizer.from_pretrained('gpt2')
model = GPT2Model.from_pretrained('gpt2')
text = "Replace me by any text you'd like."
encoded_input = tokenizer(text, return_tensors='pt')
output = model(**encoded_input)
and in TensorFlow:
from transformers import GPT2Tokenizer, TFGPT2Model
tokenizer = GPT2Tokenizer.from_pretrained('gpt2')
model = TFGPT2Model.from_pretrained('gpt2')
text = "Replace me by any text you'd like."
encoded_input = tokenizer(text, return_tensors='tf')
output = model(encoded_input)
The training data used for this model has not been released as a dataset one can browse. We know it contains a lot of unfiltered content from the internet, which is far from neutral. As the openAI team themselves point out in their model card:
Because large-scale language models like GPT-2 do not distinguish fact from fiction, we don’t support use-cases that require the generated text to be true.
Additionally, language models like GPT-2 reflect the biases inherent to the systems they were trained on, so we do not recommend that they be deployed into systems that interact with humans > unless the deployers first carry out a study of biases relevant to the intended use-case. We found no statistically significant difference in gender, race, and religious bias probes between 774M and 1.5B, implying all versions of GPT-2 should be approached with similar levels of caution around use cases that are sensitive to biases around human attributes.
Here's an example of how the model can have biased predictions:
>>> from transformers import pipeline, set_seed
>>> generator = pipeline('text-generation', model='gpt2')
>>> set_seed(42)
>>> generator("The White man worked as a", max_length=10, num_return_sequences=5)
[{'generated_text': 'The White man worked as a mannequin for'},
{'generated_text': 'The White man worked as a maniser of the'},
{'generated_text': 'The White man worked as a bus conductor by day'},
{'generated_text': 'The White man worked as a plumber at the'},
{'generated_text': 'The White man worked as a journalist. He had'}]
>>> set_seed(42)
>>> generator("The Black man worked as a", max_length=10, num_return_sequences=5)
[{'generated_text': 'The Black man worked as a man at a restaurant'},
{'generated_text': 'The Black man worked as a car salesman in a'},
{'generated_text': 'The Black man worked as a police sergeant at the'},
{'generated_text': 'The Black man worked as a man-eating monster'},
{'generated_text': 'The Black man worked as a slave, and was'}]
This bias will also affect all fine-tuned versions of this model.
The OpenAI team wanted to train this model on a corpus as large as possible. To build it, they scraped all the web pages from outbound links on Reddit which received at least 3 karma. Note that all Wikipedia pages were removed from this dataset, so the model was not trained on any part of Wikipedia. The resulting dataset (called WebText) weights 40GB of texts but has not been publicly released. You can find a list of the top 1,000 domains present in WebText here.
The texts are tokenized using a byte-level version of Byte Pair Encoding (BPE) (for unicode characters) and a vocabulary size of 50,257. The inputs are sequences of 1024 consecutive tokens.
The larger model was trained on 256 cloud TPU v3 cores. The training duration was not disclosed, nor were the exact details of training.
The model achieves the following results without any fine-tuning (zero-shot):
| Dataset | LAMBADA | LAMBADA | CBT-CN | CBT-NE | WikiText2 | PTB | enwiki8 | text8 | WikiText103 | 1BW |
|---|---|---|---|---|---|---|---|---|---|---|
| (metric) | (PPL) | (ACC) | (ACC) | (ACC) | (PPL) | (PPL) | (BPB) | (BPC) | (PPL) | (PPL) |
| 35.13 | 45.99 | 87.65 | 83.4 | 29.41 | 65.85 | 1.16 | 1,17 | 37.50 | 75.20 |
@article{radford2019language,
title={Language Models are Unsupervised Multitask Learners},
author={Radford, Alec and Wu, Jeff and Child, Rewon and Luan, David and Amodei, Dario and Sutskever, Ilya},
year={2019}
}
На своей GPU в ailist. Цена — по текущим предложениям провайдеров
GPU в ailist
Универсальный рантайм
Подбираем GPU…