/ Модель

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

Контекст
131 072 токена
Параметры
298 млн
Лицензия
Llama 3.2
Архитектура
llama · dense
Базовая модель
Llama-3.2-1B-Instruct
Опубликована
17 ноя 2026

Llama-3.2-1B-Instruct-EAGLE3

Генерация текстаТекст → текст3 профессии
1 221скачиваний за 30 дней0лайковвеса обновлены18 ноя 2026

Описание модели

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

Вспомогательная EAGLE-3-модель для ускорения спекулятивного декодирования Llama 3.2 1B Instruct.

ViezeVingertjes/Llama-3.2-1B-Instruct-EAGLE3 — вспомогательная модель EAGLE-3 для ускорения генерации с Llama 3.2 1B Instruct посредством спекулятивного декодирования. Она предлагает несколько следующих токенов, которые затем проверяет основная модель; сама по себе для обычной генерации текста не предназначена. Это плотная архитектура на основе Llama с одним декодерным слоем и примерно 122 млн параметров по README; метаданные указывают 298,3 млн параметров. Доступны чекпойнт SpecForge в BF16 и GGUF для llama.cpp; нативный контекст составляет 131 072 токена.

Головка обучена методом самодистилляции на 400 000 англоязычных запросов SmolTalk и ответах целевой Llama 3.2 1B Instruct. В тестах автор сообщает ускорение до 1,42 раза в llama.cpp с BF16 и 3,15 раза в Turbo LLM относительно llama.cpp без черновой модели; результат зависит от среды, целевой модели и запросов. Поддерживается только Llama 3.2 1B Instruct, а для других языков и предметных областей ожидается меньшая доля принимаемых черновых токенов и меньшее ускорение. Лицензия — Llama 3.2 Community License (llama3.2).

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

  • ускорение генерации текста с Llama 3.2 1B Instruct
  • спекулятивное декодирование в llama.cpp
  • ускорение диалоговой генерации на CPU через Turbo LLM

Ограничения

Совместима только с Llama 3.2 1B Instruct; без целевой модели не используется как самостоятельная генеративная модель. Обучена на англоязычных чат-данных, поэтому для других языков и областей ускорение может быть ниже; в llama.cpp сравнение с точным FP32-результатом показало различия из-за округления BF16.

Публичные бенчмарки

Результаты из открытых лидербордов в сравнении с лидерами каталога

Публичных оценок пока нет

В подключённых источниках результатов этой модели не нашлось. Отсутствие оценки не значит, что модель хуже: её могли просто не проверять.

Источники: Hugging Face Leaderboards, Hugging Face Eval Results, Open LLM v2, MTEB, timm, Open ASR, EvalPlus, LLM Stats

Бенчмарки пользователейпока нет

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

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

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

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

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

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

    Модели ответят на каждую задачу, судья оценит ответы по шкале 0–100.

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

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

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

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

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

Открыть на Hugging Face

Llama-3.2-1B-Instruct-EAGLE3

An EAGLE-3 draft head for Llama 3.2 1B Instruct, for speculative decoding. It proposes the next few tokens and the main model checks them in one pass, so generation gets faster while the output stays exactly what the main model would have produced on its own.

Built with Llama.

It was made for Turbo LLM, an exact CPU runner for this model, and is published here in the SpecForge checkpoint format and as a GGUF for llama.cpp.

Speed relative to llama.cpp bf16 on the same CPU with the same bf16 weights, decode and end-to-end (prompt included): llama.cpp 1.00x and 1.00x, llama.cpp with this head 1.42x and 1.31x, Turbo LLM without drafting 1.52x and 1.60x, Turbo LLM with this head 3.15x and 2.92x. Only Turbo LLM matches the fp32 output on all 18 prompts.

At a glance

  • Acceptance length: 2.64 tokens per pass in Turbo LLM (all 480 Spec-Bench questions), 2.54 in llama.cpp.
  • Speedup in llama.cpp: 1.42x over no drafting with a bf16 target, 1.10x with Q8_0.
  • Speedup in Turbo LLM: 3.15x llama.cpp bf16 without drafting, with output identical to fp32.
  • Size: 251 MB as a bf16 GGUF, about 122M parameters (one decoder layer, 32k-token draft vocabulary).
  • Training: self-distilled on the model's own greedy replies to 400k SmolTalk prompts.

Files

FileFor
model.safetensors, config.jsonSpecForge-style EAGLE-3 checkpoint (LlamaForCausalLMEagle3), bf16
Llama-3.2-1B-Instruct-EAGLE3-BF16.ggufllama.cpp (--spec-type draft-eagle3), converted with b12470

Usage with llama.cpp

llama-server -m Llama-3.2-1B-Instruct-BF16.gguf \
  -md Llama-3.2-1B-Instruct-EAGLE3-BF16.gguf --spec-type draft-eagle3

The target model can be any GGUF of Llama 3.2 1B Instruct; with a quantized target the head still works, but the drafts are then checked against the quantized model. Every drafted token is verified by the target, so greedy output only differs from running the target alone by floating-point rounding: in our test, llama.cpp's batched bf16 verification changed 1 of 18 outputs.

Running it with Turbo LLM

Turbo LLM is a single-file C runner for this model that keeps the output token-identical to the fp32 reference while reading about a third of the memory per token of a bf16 runner. It ships this head built in (in its own int5 format), so there is nothing to configure:

git clone https://github.com/ViezeVingertjes/turbo-llm && cd turbo-llm && make
# the model file, 2.1 GB
url=https://github.com/ViezeVingertjes/turbo-llm/releases/latest/download
curl -LO $url/llama-3.2-1b-instruct-eagle3.tlm
./tlm llama-3.2-1b-instruct-eagle3.tlm "Explain how a CPU cache works."

Same head, same prompts as identical token ids, same CPU (Spec-Bench dev subset, up to 1,024 new tokens):

EngineWeightsDecode speedOutput
llama.cpp b12470 + this headbf161x (baseline)differs from the exact output on 3 of 18
llama.cpp b12470 + this headQ8_01.35xlossy (8-bit weights), differs on 10 of 18
Turbo LLM + this headlossless 12-bit2.21xexact on all 18

End-to-end, including prompt processing, Turbo LLM is 2.22x llama.cpp bf16 with this head (its current version, with a faster prompt kernel; measured a day later, so its prompts differ from llama.cpp's only in the date token).

How it was trained

  • Architecture: standard EAGLE-3. One Llama decoder layer whose attention input is the normalized embedding of the current token concatenated with a fused feature: a linear projection of the target's hidden states entering layers 2, 8 and 13. Its MLP is 4096 wide (half of the target's), and its output layer covers the 32,768 most frequent tokens of the training data, mapped back to the full vocabulary with d2t.
  • Data: self-distillation. 400,000 prompts from SmolTalk (any that appear in Spec-Bench removed) were answered by Llama 3.2 1B Instruct itself with greedy decoding, 220 million tokens in total. The head therefore learns to predict this exact model, not human-written text.
  • Objective: KL divergence to the target's next-token distribution (renormalized over the draft vocabulary), with EAGLE-3's training-time test unrolled over 3 draft steps, step k weighted 0.8^k.
  • Optimization: AdamW (lr 2e-4, betas 0.9/0.95, no weight decay), 200 warmup steps then cosine decay to 10%, sequences of 1,024 tokens, batch 64 sequences, one hour on 4x H100. Warm-started from an earlier head trained on SmolTalk's own replies.

Results

Tokens per forward pass is the number of tokens each pass of the main model produces: the accepted draft tokens plus one. It depends on the head, the model and the prompts, not on the hardware.

Spec-Bench (pinned commit fd2c1cd, all 480 questions, first turn only, up to 1,024 new tokens), greedy, up to 3 drafted tokens per pass with EAGLE-2 style tree selection, in Turbo LLM:

Task groupTokens per forward pass
MT-Bench2.76
translation2.24
summarization2.39
question answering2.48
math reasoning3.16
RAG2.57
all2.64

In llama.cpp (b12470, --spec-type draft-eagle3, its default of up to 3 drafted tokens, bf16 target and head), on the Spec-Bench dev subset (18 questions, up to 1,024 new tokens), compared with the other public EAGLE-3 head for this model:

Draft headTokens per forward passDecode speed vs. no draftingOutput identical to the exact fp32 result
this head2.541.42x (16.17 vs 11.36 tok/s)no, 15 of 18 (llama.cpp's batched bf16 rounding)
rescommons/SpecForge-EAGLE3-Llama-3.2-1B-Instruct2.091.12x (12.71 vs 11.36 tok/s)no, 15 of 18

Measured on one machine with the same prompts given as identical token ids. "Output identical" compares with the exact fp32 result; llama.cpp's bf16 output differs on 2 of 18 prompts even without drafting, and batched verification changes one more. Greedy output from an exact runner such as Turbo LLM does not depend on the head.

Compatibility

Tested with llama.cpp b12470 and with Turbo LLM. The checkpoint uses the SpecForge LlamaForCausalLMEagle3 layout (fc, midlayer.*, norm, lm_head, d2t, t2d), which other EAGLE-3 implementations such as SGLang and vLLM also read, but we have not tested those.

Limitations

  • It only helps Llama 3.2 1B Instruct. It reads that model's hidden states and was trained on its outputs.
  • It was trained on English chat data, so other languages and very different domains will see lower acceptance and less speedup. Correctness does not depend on it: drafts are always checked by the main model.
  • The training prompts are SmolTalk's; questions that also appear in Spec-Bench were removed before training.

References

  • EAGLE-3: Li et al., "EAGLE-3: Scaling up Inference Acceleration of Large Language Models via Training-Time Test", arXiv:2503.01840.
  • SmolTalk: HuggingFaceTB/smoltalk.
  • Spec-Bench: Xia et al., "Unlocking Efficiency in Large Language Model Inference: A Comprehensive Survey of Speculative Decoding", hemingkx/Spec-Bench.

License

The weights are a derivative of Llama 3.2 and are distributed under the Llama 3.2 Community License (LICENSE) and its Acceptable Use Policy (USE_POLICY.md).

Llama 3.2 is licensed under the Llama 3.2 Community License, Copyright © Meta Platforms, Inc. All Rights Reserved.

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

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

GPU в ailist

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

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

Подбираем GPU…

Класс архитектуры
LlamaForCausalLMEagle3
Ревизия весов
3d5463f

0 моделей