/ Модель

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

Контекст
131 072 токена
Параметры
6,9 млрд
Размер весов
14,6 ГБ
Лицензия
Apache 2.0
Архитектура
olmo_hils · dense
Базовая модель
Olmo-3-1025-7B
Библиотека
transformers
Опубликована
9 июл 2026

HiLS-Attention-7B

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

Базовая англоязычная языковая модель Tencent с разреженным вниманием HiLS для генерации текста и работы с длинным контекстом.

570скачиваний за 30 дней24лайкавеса обновлены27 июл 2026

Бенчмарки

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

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

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

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

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

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

HiLS-Attention-7B — англоязычная базовая языковая модель Tencent с 6,9 млрд параметров, дообученная продолжением предобучения на базе allenai/Olmo-3-1025-7B. Она использует иерархическое разреженное внимание HiLS: механизм оценивает важность фрагментов контекста по сжатым ключам и выбирает нужные фрагменты, чтобы ускорить работу с длинными последовательностями. Модель предназначена для генерации текста и сценариев с длинным контекстом — например, поиска информации, ответов на вопросы и суммаризации длинных документов. Заявлены экстраполяция контекста за пределы расширения YaRN в 4 раза и сопоставимые результаты на коротких и средних контекстах. В метаданных указан контекст 131 072 токена.

Чекпойнт обучен примерно на 50 млрд дополнительных токенов с разреженным вниманием HiLS и позиционным кодированием HoPE с расширением длины через YaRN. Для загрузки нужны код и конфигурация из проекта HiLS-Attention: стандартный API AutoModel библиотеки Transformers напрямую не поддерживается. Модель не прошла настройку инструкций и безопасности, поэтому её ответы могут быть неточными, предвзятыми или небезопасными. Лицензия — Apache-2.0.

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

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

Ограничения

Модель не настроена на выполнение инструкций и безопасность; ответы могут быть неточными, предвзятыми или небезопасными. Для загрузки требуется код проекта HiLS-Attention, стандартный AutoModel API Transformers не поддерживается.

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

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

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

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

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

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

Открыть на Hugging Face

HiLS-Attention is a chunk-wise sparse attention mechanism that learns chunk selection end-to-end under the language-modeling loss, enabling native sparse training for efficient long-context modeling. This repository hosts the 7B checkpoint continued-trained on top of an OLMo3-style backbone.

Model introduced in the paper Hierarchical Sparse Attention Done Right: Toward Infinite Context Modeling.

Model Description

Naive block sparse attention selects top-k chunks by their exact chunk mass, but computing all chunk masses requires full QK computation. HiLS-Attention instead uses compressed chunk keys to estimate a chunk-mass surrogate and factorizes attention into inter-chunk and intra-chunk softmax, enabling end-to-end learning from the next-token prediction loss.

HiLS-Attention Overview

Overview of HiLS-Attention. Naive block sparse attention selects top-k chunks by their exact chunk mass, but computing all chunk masses requires full QK computation. HiLS-Attention instead uses compressed chunk keys to estimate a chunk-mass surrogate and factorizes attention into inter-chunk and intra-chunk softmax, enabling end-to-end learning from the next-token prediction loss.

Highlights

After only 50B continued-training tokens, HiLS-Attention inherits the capability of full attention while bringing two key advantages:

  • Strong ultra-long context extrapolation beyond the YaRN-extended 4× length.
  • Faster inference for long sequences.

Meanwhile, it preserves comparable performance for short- and medium-context tasks, within both the original training length and the YaRN-extrapolated range.

After only 50B continued-training tokens, HiLS-Attention inherits the capability of full attention while bringing two key advantages: strong ultra-long context extrapolation beyond the YaRN-extended 4× length (a) and faster inference (b). Meanwhile, it preserves comparable performance for short- and medium-context tasks, within both the original training length and the YaRN-extrapolated range (c & d).

Intended Uses

  • Long-context language modeling and inference (retrieval, QA, summarization over long documents).
  • Research on native sparse-attention training and long-context extrapolation.

Out-of-Scope

Not aligned/instruction-tuned for safety-critical deployment. Outputs may be inaccurate or biased; validate before production use.

How to Use

HiLS-Attention cannot be loaded directly via the standard transformers AutoModel API — the custom hierarchical sparse attention must be registered through the HiLS-Attention codebase. Please set up the environment and run the model following the GitHub repository, in particular the Evaluation section (see eval/ and scripts/eval/), which shows how to load the checkpoint with the corresponding HiLS config and run generation / evaluation.

For efficient long-context serving, SGLang inference support is on the roadmap — see the GitHub repo for updates.

Evaluation

The model is evaluated across short-, medium-, and long-context benchmarks. Full scripts are available in the GitHub repository.

Long-context

BenchmarkDescription
LongBench v1Long-context QA (21 tasks, up to 64K input)
RULERSynthetic probing at 8K / 16K / 32K / 128K
PPLPerplexity across 64 … 256K sequence lengths

Short-context (OpenCompass, 11 benchmarks)

BenchmarkType
MMLU, GPQA, HellaSwag, ARC-c, BoolQ, RACEFew-shot PPL
GSM8K, CMathMath generation (CoT)
HumanEval+, MBPP+, CRUXEval-OCode generation

Training

  • Method: Continued pre-training with native sparse-attention (HiLS-Attention) on top of an OLMo3-7B backbone.
  • Tokens: ~50B continued-training tokens.
  • Positional encoding / long-context: HoPE with YaRN-based length extrapolation.

Training and continue-pre-training scripts are documented in the GitHub repository.

Limitations and Bias

This is a pretrained base model without alignment or safety tuning. It may reflect biases present in the training corpus and can produce inaccurate or unsafe content. Users are responsible for evaluating suitability for their use case.

Citation

@misc{hu2026hierarchicalsparseattentionright,
      title={Hierarchical Sparse Attention Done Right: Toward Infinite Context Modeling},
      author={Xiang Hu and Xinyu Wei and Hao Gu and Minshen Zhang and Tian Liang and Huayang Li and Lei Zhu and Yan Wang and Sirui Han and Yushi Bai and Kewei Tu and Haitao Mi and Leo Liang},
      year={2026},
      eprint={2607.02980},
      archivePrefix={arXiv},
      primaryClass={cs.CL},
      url={https://arxiv.org/abs/2607.02980},
}

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

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

GPU в ailist

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

Нельзя запустить

Архитектура olmo_hils неизвестна transformers в образе рантайма.

Класс архитектуры
HiLSForCausalLM
Ревизия весов
837293e

0 моделей