/ Модель

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

Контекст
131 072 токена
Параметры
7,5 млрд
Лицензия
Llama 3.1
Архитектура
llama · dense
Базовая модель
Llama-3.1-8B
Библиотека
transformers
Опубликована
9 окт 2026

Llama-3.1-8B-Aleph

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

Дообученная на проверяемых наградах модель Llama 3.1 8B для математических рассуждений, следования инструкциям и вызова инструментов.

204скачиваний за 30 дней0лайковвеса обновлены12 окт 2026

Бенчмарки

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Llama-3.1-8B-Aleph — текстовая модель рассуждений, созданная одним разработчиком на базе Meta Llama 3.1 8B Base. Это плотная causal language model с 7,5 млрд параметров; она дообучена с помощью supervised fine-tuning, коротких раундов ORPO и обучения с подкреплением по проверяемым программой ответам. Модель формирует рассуждение в отдельном блоке и должна завершать ответ, когда задача решена. Для запуска автор указывает Transformers и пример сервинга через vLLM с контекстом 4096 токенов; при этом нативное окно контекста в метаданных составляет 131072 токена.

Модель предназначена прежде всего для решения математических задач, следования инструкциям, извлечения данных и вызова инструментов; также она справляется с простыми задачами на Python, но заметно уступает специализированным и instruction-tuned моделям в сложной математике и программировании. В тестах автора она решила 72,3% задач GSM8K и 36,2% задач более сложного набора Big-Math; на MBPP результат составил 30,2%. Обучение и проверки проводились на английском языке, поэтому пригодность для других языков не подтверждена. Лицензия — Llama 3.1; применяются её условия использования.

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

  • решение школьных математических задач с пошаговым рассуждением
  • ответы на задачи по математике средней сложности
  • выполнение простых заданий на Python с проверкой тестами
  • извлечение структурированных данных из текста
  • генерация вызовов инструментов в диалоговых сценариях
  • выполнение текстовых инструкций на английском языке

Ограничения

Обучение и тестирование проводились только на английском языке. Модель заметно уступает более сильным instruction-tuned моделям в сложной математике и программировании, может ошибаться и терять ход рассуждения в длинных ответах.

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

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

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

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

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

Открыть на Hugging Face

Llama-3.1-8B-Aleph

One problem, many answers: a tree of the model's own answers, each ending right or wrong

Built with Llama. A reasoning model made from Meta's Llama 3.1 8B base by one person on a few dollars of compute. It thinks inside a marked block, then answers. Every number on this page was measured on problems the model never trained on, with the same prompts' rules and the same grader for every model in the table.

Version 2 is out: Llama-3.1-8B-Aleph-2, from the same trainer in one longer run, better on every test on this page. This page stays as the record of version 1.

What it is

  • The start: Meta's Llama 3.1 8B base model (not the Instruct).
  • A warmup: supervised fine-tuning (SFT), then a few short rounds of ORPO. It teaches the model to think inside a marked block and, above all, to stop when it is done. The warmup model is published too: Llama-3.1-8B-Aleph-warmup.
  • The training: the Aleph trainer, which is my own. It is reinforcement learning from verifiable rewards with one idea at its center: for each problem it does not collect separate answers, it grows a tree of them, the Aleph tree. Answers share their beginnings and split along the way, so the trainer can see where in an answer the outcome was decided, and it learns from the difference between branches that ended right and branches that ended wrong. The only reward is a program's verdict on the final answer: no judge model, no human labels, nothing that scores the reasoning itself. An answer that goes in circles is ended and counted as wrong.

The numbers

Solved, percent. One greedy answer a problem (temperature 0), no examples in the prompt, the same grader for every model. Meta's Instruct is read in its own chat format and asked to box its final answer.

testproblemsthe warmup modelthis modelMeta's Llama 3.1 8B Instruct
GSM8K, grade-school math word problems1,31952.372.385.8
a second math set, harder and mixed (from Big-Math)1,00930.636.263.2
MBPP, Python tasks with hidden tests50027.430.254.0
HumanEval, Python functions with hidden tests16435.438.470.1
IFEval, following written instructions54133.340.574.7
tool calls: choosing a function and its arguments, as JSON19969.884.482.4
extraction: filling a JSON record from a text20061.085.590.0
following several written constraints at once (own test)20015.014.547.5
text puzzles (own test)20010.512.031.0

GSM8K read the way Meta's card reads it (one greedy answer after 8 solved examples): this model 69.4, the Instruct 83.9. Meta's card says 84.5 for the Instruct, so this page's way of reading reproduces their number.

How to read the table:

  • Against Meta's Instruct: level on tool calls and on extraction (the differences are inside the tests' noise), 13.5 points behind on GSM8K, and far behind on harder math, code, IFEval and the two last tests. Meta's model had a full instruction tuning; this one had a warmup and about fifty rounds of training on one GPU.
  • Against its own start: 20 points gained on GSM8K, 15 and 25 on tool calls and extraction, 7 on IFEval, 6 on the harder math set. On code and on the two last tests the gain is inside the noise.
  • A difference under about 3 points between two models on one test is inside the noise of one pass.
  • The last four tests were made for this project (generated tasks, a program checks each answer). The others are public tests with their own checkers.
  • The 8 examples do not help this model (69.4 against 72.3 without them): it answers in the form it was trained in.
  • On the harder math set this model's answers stop by themselves 97 percent of the time; the Instruct's 88 percent.

How to use it

The chat template writes the system line the model was trained with when you give none, and opens the think block. The answer comes after </think>.

import torch
from transformers import AutoModelForCausalLM, AutoTokenizer

name = "ombd/Llama-3.1-8B-Aleph"
tok = AutoTokenizer.from_pretrained(name)
model = AutoModelForCausalLM.from_pretrained(name, dtype=torch.bfloat16, device_map="auto")

messages = [{"role": "user", "content": "A shop sells pens at 3 for $2. How much do 12 pens cost?"}]
inputs = tok.apply_chat_template(messages, add_generation_prompt=True, return_tensors="pt",
                                 return_dict=True).to(model.device)
out = model.generate(**inputs, max_new_tokens=1536, do_sample=False)
print("<think>" + tok.decode(out[0][inputs["input_ids"].shape[1]:], skip_special_tokens=True))

With vLLM:

vllm serve ombd/Llama-3.1-8B-Aleph --dtype bfloat16 --max-model-len 4096

Greedy decoding (temperature 0) is the reading of the table above. The model was trained with answers of up to 1,536 tokens.

If you fine-tune it with an adapter and then merge: merge in 32-bit floats, not in 16-bit. Small changes to a weight are rounded away when they are added to 16-bit weights directly.

What it was trained on

  • Math: GSM8K's training split and problems from Big-Math (checked one by one first: about a tenth of that set is flawed, and those were dropped).
  • Code: the easy level of APPS, each answer run against hidden tests.
  • Tool calls, extraction, instruction following and text puzzles: tasks generated by programs written for this project, each answer checked by a program.

No test problem on this page was in training: every training row of every stage was compared with every test problem, and the few that matched are left out of the numbers (15 of the second math set's 1,024 problems, 1 of the 200 tool-call problems). MBPP, HumanEval and IFEval were never trained on in any form.

Limits

  • Code is behind. This is not a code model.
  • Hard math is still hard. On problems well above grade-school level it is right about a third of the time.
  • Long answers can go in circles. An answer that runs to the length limit is almost never a deep one.
  • English only in training and in every test here.
  • It can be confidently wrong, like any model of its size. Check what matters.

Acknowledgments

The trainer's idea and design, the experiments and every decision are the author's. Claude (Anthropic) was the engineering partner for the code, the tests and the records.

Licence

Llama 3.1 Community License. The licence and Meta's acceptable use policy are in this repo.

Author: Omar Badran.

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

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

GPU в ailist

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

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

Подбираем GPU…

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

0 моделей