Model reference · open weights

HiLS-Attention

HiLS-Attention is an open-weight language model from tencent, listed in the AxForge catalogue. AxForge can bring it up on EU-owned hardware for you on request — with the licence handled where one is required.

LLMs tencent 1 variants 369 downloads/mo
Request this model on EU hardware All served models Not on the shared API today — deployed on request.

About

What HiLS-Attention is

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. 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. - Parameters: ~7B - Base architecture: OLMo3-7B - Paper: https://arxiv.org/abs/2607.02980 - Code: https://github.com/Tencent-Hunyuan/HiLS-Attention 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 (retrieva

Summarised from the published model card. Read the full card on the HuggingFace links below.

Specifications

What it is

Makertencent
TypeLanguage models
Parameters (lead)7.3B
Variants1
Runs withtransformers
Based onallenai/Olmo-3-1025-7B
Released2026-07-09
Popularity369 downloads / month
Likes24
LicenceOpen weights

How it works

How language models work

Your prompttext / messagesTransformerattention over tokensNext-token loopgenerate + streamResponsetext · tool callsA language model reads your tokens and predicts the next one, again and again, streaming the reply back.

Variants

Sizes & precisions

Open weights ship in several sizes and precisions. One page, all the variants — pick the one that fits your GPU. VRAM figures are estimates from model size.

VariantParamsPrecisionVRAMFits 16 GBWeights
HiLS-Attention-7B7.3BBF16~16.8 GBWeights ↗

Using it via the API

Call it like any OpenAI endpoint

Once AxForge deploys hils-attention for you, it answers on the OpenAI-compatible API — the same base URL and keys as every other model. (hils-attention below is illustrative; you get the exact model name on deployment.)

$ curl -sS https://api.axforge.ai/v1/chat/completions \
  -H "Authorization: Bearer $AXFORGE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"hils-attention","messages":[{"role":"user","content":"Hello"}]}'

Details

Languages, data & research

Languages

en

Tags

transformers safetensors olmo_hils text-generation long-context sparse-attention efficient-attention pretraining olmo3 hils-attention en endpoints_compatible

Papers

Licence

Open weights

Open weights under apache-2.0 — commercial use is permitted. Deploy it on AxForge EU hardware on request. Read the licence ↗

Sources

Weights & code

Want HiLS-Attention on EU-owned hardware?

Request this model on EU hardware See what’s served now

Explore

More language models

© 2026 AxForge · EU-hosted AI infrastructure Pricing Docs Trust Privacy Terms