/ Модель

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

Контекст
131 072 токена
Параметры
395 млн
Лицензия
MIT
Архитектура
qwen3 · dense
Базовая модель
Ling-3.0-tiny
Библиотека
sglang
Опубликована
21 окт 2026

Ling-3.0-tiny-UBTree

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

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

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

Черновая модель UBTree предлагает варианты продолжения для ускорения генерации inclusionAI/Ling-3.0-tiny при проверке целевой моделью.

Ling3-Tiny-UBTree-B16 — черновая модель ускорения декодирования для inclusionAI/Ling-3.0-tiny, разработанная inclusionAI. Она работает вместе с соответствующей целевой моделью и не предназначена для самостоятельной генерации текста. Модель использует пять полно-внимательных слоёв Transformer на основе DFlash и обученный селектор биграмм: предлагает несколько вариантов продолжения, строит дерево кандидатов, а целевая модель проверяет их и принимает подходящее продолжение.

Модель рассчитана на спекулятивное декодирование текстовой генерации через интеграцию SGLang. В описанных бенчмарках на задачах GSM8K, MATH-500 и AIME 2025 UBTree показала ускорение сквозной генерации относительно обычного авторегрессионного декодирования; результат зависит от целевой модели, нагрузки и настроек. Репозиторий распространяется под лицензией MIT.

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

  • ускорение генерации текста с inclusionAI/Ling-3.0-tiny
  • ускорение решения математических задач при спекулятивном декодировании
  • снижение числа последовательных проверочных шагов при генерации через SGLang

Ограничения

Модель не работает самостоятельно и требует соответствующую целевую модель inclusionAI/Ling-3.0-tiny. Интеграция UBTree в SGLang находится в процессе upstream-разработки.

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

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

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

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

Источники: 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

Ling3-Tiny-UBTree-B16

Website · Paper · Target model

Ling3-Tiny-UBTree-B16 is a UBTree speculative-decoding draft model for inclusionAI/Ling-3.0-tiny. It combines a five-layer DFlash backbone with a learned bigram selector to propose multiple candidate continuations for target-model verification.

This checkpoint is used alongside the matching target model; it cannot serve as a standalone text-generation model.

How UBTree works

UBTree architecture and tree-native training pipeline

UBTree pipeline

UBTree pairs a unigram proposer with a bigram selector:

  1. A DFlash backbone proposes candidate tokens for future positions in parallel.
  2. The selector scores transitions between adjacent candidates in parallel.
  3. Tree construction retains promising branches within a verification budget.
  4. The target verifies the tree and commits the accepted continuation.

The paper also introduces tree-native training with renormalized KL supervision on high-temperature target traces, encouraging plausible alternative branches. See the paper for the method and experiments.

Model specifications

ItemValue
Target modelinclusionAI/Ling-3.0-tiny
Draft architectureLing3UBTreeModel
Draft backbone5 full-attention Transformer layers
Parameters stored in this checkpoint183,127,326 (183.1M)
Weight dtypeBF16
Hidden size1,536
Attention heads / KV heads16 / 16
Target auxiliary feature layers (zero-based)4, 8, 12, 16, 22
Draft block size16 (anchor-inclusive runtime convention)
Candidate top-k64 per draft position
Default verification tree budget64 non-root nodes + 1 anchor
TrainingDFlash warm start, then joint backbone + UBTree selector training

The parameter count covers tensors distributed in this repository. The draft shares token embeddings and the language-model head with the target; these shared weights are not included here. B16 denotes the draft block size, not the verification tree's node budget.

Serving with SGLang

Use the asahi/ubtree SGLang branch for the commands below. Upstream integration is in progress in sgl-project/sglang#44050.

CUDA_VISIBLE_DEVICES=0 \
SGLANG_OPT_FA3_VERIFY_METADATA_IN_GRAPH=1 \
SGLANG_OPT_UBTREE_FA3_TREE_ONLY_MASK=1 \
python -m sglang.launch_server \
  --model-path /path/to/ling3-tiny \
  --served-model-name ling3-tiny \
  --tp-size 1 \
  --host 0.0.0.0 \
  --port 30000 \
  --attention-backend fa3 \
  --page-size 1 \
  --context-length 4096 \
  --max-total-tokens 4096 \
  --max-running-requests 1 \
  --mem-fraction-static 0.80 \
  --max-prefill-tokens 4096 \
  --chunked-prefill-size 4096 \
  --disable-radix-cache \
  --mamba-backend triton \
  --linear-attn-backend triton \
  --linear-attn-verify-backend triton \
  --mamba-ssm-dtype float32 \
  --cuda-graph-backend-prefill disabled \
  --cuda-graph-backend-decode full \
  --cuda-graph-bs-decode 1 \
  --disable-cuda-graph-padding \
  --tool-call-parser ling3 \
  --reasoning-parser ling3 \
  --trust-remote-code \
  --speculative-algorithm UBTREE \
  --speculative-draft-model-path /path/to/ling3-tiny-ubtree \
  --speculative-num-draft-tokens 49

Benchmark results

All methods use block size 16, TP1, concurrency 1, BF16, and greedy no-thinking decoding. UBTree uses a 49-node tree.

Each cell shows acceptance length / E2E speedup / TPS (tok/s). E2E speedup is relative to target-only autoregressive (AR) decoding.

DatasetUBTreeDFlashDSpark
GSM8K9.53 / 3.055× / 1376.46.57 / 2.665× / 1200.77.53 / 2.718× / 1224.7
MATH-5009.86 / 3.518× / 1648.25.74 / 2.643× / 1238.26.96 / 2.826× / 1323.7
AIME 20258.44 / 3.152× / 1495.44.76 / 2.261× / 1072.55.37 / 2.263× / 1073.7
HumanEval10.04 / 3.411× / 1572.96.39 / 2.770× / 1277.57.59 / 2.914× / 1344.0
MBPP9.35 / 3.062× / 1390.85.87 / 2.473× / 1123.37.16 / 2.678× / 1216.5
LiveCodeBench7.46 / 2.794× / 1321.04.11 / 1.948× / 921.24.84 / 2.030× / 959.8
Avg. (6 datasets)9.11 / 3.165× / 1467.45.57 / 2.460× / 1138.96.57 / 2.572× / 1190.4

TPS is total returned output tokens divided by total client HTTP time, including prefill and generation. Acceptance length is returned output tokens divided by target verification calls, including the anchor. Speculative AL and TPS are independent medians over three runs; E2E speedup is speculative TPS divided by the matched AR TPS. AR uses one run per benchmark.

Each Avg. value is the arithmetic mean of the six per-dataset values, computed before display rounding. Average speedup is the mean of per-dataset speedups, rather than the ratio of average TPS.

Citation

If you use UBTree in your work, please cite:

@article{liang2026ubtree,
  title   = {UBTree: Parallel Tree Drafting via Unigram and Bigram Models for Speculative Decoding},
  author  = {Liang, Chumeng and Wang, Linxuan and Peng, Xinyu and Liu, Huabin and Chen, Yuxin and Liu, Ge and Lin, Guang and Song, Qifan and Li, Jianguo},
  journal = {arXiv preprint arXiv:2609.39972},
  year    = {2026},
  url     = {https://arxiv.org/abs/2609.39972}
}

License

The model weights are released under the MIT License. The pipeline figure is from Liang et al., Figure 2, reproduced without modification under CC BY 4.0.

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

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

GPU в ailist

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

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

Подбираем GPU…

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

0 моделей