/ Модель

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

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

Llama-3.1-8B-Aleph-2

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

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

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

Бенчмарки

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Llama-3.1-8B-Aleph-2 — текстовая причинно-следственная модель семейства Llama, созданная независимым разработчиком на основе Meta Llama 3.1 8B Base и дообученная одним автором. В ней около 7,5 млрд параметров, архитектура LlamaForCausalLM, формат весов safetensors и контекстное окно до 131 072 токенов. Карточка описывает обучение с SFT и ORPO, а затем обучение с подкреплением по проверяемым программой ответам; модель оформляет рассуждение в отдельном блоке перед финальным ответом.

Модель предназначена для генерации ответов на английском языке, прежде всего для школьной математики, извлечения данных, следования инструкциям и вызова инструментов; также она решает простые задачи Python. Автор сообщает о результатах на GSM8K, MBPP и других тестах, однако указывает, что модель уступает Llama 3.1 8B Instruct в сложной математике и программировании. Лицензия — Llama 3.1; для запуска автор приводит пример с vLLM.

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

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

Ограничения

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

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

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

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

Также подходит для

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

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

Открыть на Hugging Face

Llama-3.1-8B-Aleph-2

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 tens of 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.

This is version 2 of Llama-3.1-8B-Aleph.

What is new in version 2

  • One run instead of three. Version 1 was trained in three separate stages. Version 2 comes from one single run of the same trainer, started again from the same warmup model: about seventy rounds on one GPU.
  • Better on every test. It is above version 1 on all nine tests, and on eight of them by more than the tests' noise: GSM8K 72.3 to 76.0, MBPP 30.2 to 42.0, IFEval 40.5 to 50.8, tool calls 84.4 to 99.5.
  • Ahead of Meta's Instruct on two tests. Tool calls and extraction, where version 1 was level with it.

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 modelversion 1this modelMeta's Llama 3.1 8B Instruct
GSM8K, grade-school math word problems1,31952.372.376.085.8
a second math set, harder and mixed (from Big-Math)1,00930.636.240.663.2
MBPP, Python tasks with hidden tests50027.430.242.054.0
HumanEval, Python functions with hidden tests16435.438.440.270.1
IFEval, following written instructions54133.340.550.874.7
tool calls: choosing a function and its arguments, as JSON19969.884.499.582.4
extraction: filling a JSON record from a text20061.085.599.090.0
following several written constraints at once (own test)19115.715.238.247.1
text puzzles (own test)20010.512.028.531.0

GSM8K read the way Meta's card reads it (one greedy answer after 8 solved examples): this model 72.2, 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: ahead on tool calls and on extraction, by more than the tests' noise. Level on the text puzzles. 9.9 points behind on GSM8K and about 9 on the constraints test, 12 behind on MBPP, and far behind on harder math, IFEval and HumanEval. Meta's model had a full instruction tuning; this one had a warmup and about seventy rounds of training on one GPU.
  • Against its own start: 24 points gained on GSM8K, 30 and 38 on tool calls and extraction, 18 on IFEval, 15 on MBPP, 10 on the harder math set, 22 and 18 on the two last tests. On HumanEval the gain is inside the noise.
  • Against version 1: above it on every test, and by more than the noise on all but HumanEval.
  • A difference under about 3 points between two models on one test is inside the noise of one pass.
  • How this version was picked. The run was tested at six points along the way, with these same tests, and this is the best of them. The points next to it read 74.0 and 73.7 on GSM8K, so read that number as "about 74 to 76". The numbers in the table are this model's own and are what you get from these weights.
  • 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 (72.2 against 76.0 without them): it answers in the form it was trained in.
  • On the harder math set this model's answers stop by themselves 96 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-2"
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-2 --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: MBPP's training and validation tasks (never its test split) and 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 for every model (15 of the second math set's 1,024 problems, 1 of the 200 tool-call problems, and 9 of the 200 constraints problems: one was generated again as a training task, and eight are harder versions of a training task on the same topic). HumanEval, IFEval and MBPP's test split were never trained on in any form.

Limits

  • Code is still behind. This is not a code model.
  • Hard math is still hard. On problems well above grade-school level it is right about four times in ten.
  • 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
Ревизия весов
bb41fcf

0 моделей