Model reference · open weights

AHN-GDN-for-Qwen-2.5

LLMs ByteDance-Seed Text gen 3 builds Its own licence terms 70 dl/mo

AHN-GDN-for-Qwen-2.5 is an open-weight language model from ByteDance. AHN-GDN-for-Qwen-2.5-Instruct-7B (BF16) weighs 43 MB; the smallest configuration that runs it is RTX 3060 12 GB.

  • AHN-GDN-for-Qwen-2.5 is a 13M parameter module developed by ByteDance for text generation.
  • It uses Artificial Hippocampus Networks to compress long-context information into fixed-size representations, enabling efficient modeling with the Qwen2.5-3B-Instruct base model.
  • The model supports English and is released under an other licence.

Summary of the ByteDance-Seed/AHN-GDN-for-Qwen-2.5-Instruct-3B model card, 2026-10-01. The estimate below is for another build of the family.

What it is

Released byByteDance
Released2025-10-08
Parameters13M
VRAM43 MB for the weights

What it runs on

Memory and cards for AHN-GDN-for-Qwen-2.5-Instruct-7B (BF16)

43 MBweights, file size
57 MBcache per 1K tokens
799 MBruntime overhead, at least
32,768 tokenscontext max
CardRequests at onceContext maxMemory
8K each32K each
RTX 3060 12 GB225all 32K11.6 GB
RTX 4060 Ti 16 GB317all 32K15.4 GB
RTX 3090 24 GB4812all 32K23.4 GB
RTX 4090 24 GB4711all 32K23.4 GB
RTX 5090 32 GB6416all 32K31.0 GB
L40S 48 GB9122all 32K44.0 GB
A100 80 GB16441all 32K78.2 GB
H100 80 GB15438all 32K78.1 GB
RTX PRO 6000 Blackwell 96 GB18847all 32K93.8 GB
DGX Spark (GB10) 128 GB unified21754all 32K107 GB
H200 141 GB28270all 32K138 GB
B200 180 GB36190all 32K176 GB
Memory needed at each load
Requests at once8K tokens each32K tokens each
11.3 GB2.7 GB
53.2 GB10.2 GB
84.6 GB15.9 GB
168.4 GB30.9 GB
3215.9 GB61.0 GB
6430.9 GB121 GB

One card, with vLLM's small-card settings.

Builds

Sizes, precisions & builds

BuildParamsPrecisionWeightsSmallest setup
AHN-GDN-for-Qwen-2.5-Instruct-3B ↗ 13MBF16 26 MBRTX 3060 12 GB
AHN-GDN-for-Qwen-2.5-Instruct-14B ↗ 61MBF16 122 MBRTX 3060 12 GB
AHN-GDN-for-Qwen-2.5-Instruct-7B (above) ↗ 21MBF16 43 MBRTX 3060 12 GB

From the model card

What ByteDance says about AHN-GDN-for-Qwen-2.5

Read the model card

Introduction

Artificial Hippocampus Networks (AHNs) transform lossless memory into fixed-size compressed representations for long-context modeling. Lossless memory (e.g., attention’s key-value (KV) cache) stores exact input information but grows with sequence length, making it inefficient for long sequences. In contrast, compressed memory (e.g., RNNs’ hidden state) maintains a constant size and offers fixed computational costs per input token, but this comes at the cost of information loss. To harness the benefits of both memory types, AHNs continually convert lossless memory outside the sliding attention window into compressed form. AHNs can be instantiated with any RNN-like architectures. The model then integrates both memory types to make predictions across long contexts.

This repository hosts the model weights for AHN. For installation, usage instructions, and further documentation, please visit our GitHub repository.

Method

(a) Illustration of the model augmented with Artificial Hippocampus Networks (AHNs). In this example, the sliding window length is 3. When the input sequence length is less than or equal to the window length, the model operates identically to a standard Transformer. For longer sequences, AHNs continually compress the token outside the window into a compact memory representation. The model then utilizes both the lossless information within window, and the compressed memory to generate the next token. (b) Self-distillation training framework of AHNs based on an open-weight LLM. During training, the base LLM's weights are frozen, and only the AHNs' parameters are trained.

Model Zoo

base modelAHN module#paramscheckpoint (AHN only)
Qwen2.5-3B-InstructMamba211.9M🤗model
Qwen2.5-3B-InstructDeltaNet11.8M🤗model
Qwen2.5-3B-InstructGatedDeltaNet13.0M🤗model
Qwen2.5-7B-InstructMamba218.6M🤗model
Qwen2.5-7B-InstructDeltaNet18.5M🤗model
Qwen2.5-7B-InstructGatedDeltaNet21.3M🤗model
Qwen2.5-14B-InstructMamba251.4M🤗model
Qwen2.5-14B-InstructDeltaNet51.1M🤗model
Qwen2.5-14B-InstructGatedDeltaNet61.0M🤗model

Evaluation

LV-Eval & InfiniteBench Results
LongBench Results

Contact

  • Yunhao Fang: yunhao.fang@bytedance.com
  • Weihao Yu (corresponding author): weihao.yu@bytedance.com

Citation

BibTeX:

@article{fang2025artificial,
  title={Artificial hippocampus networks for efficient long-context modeling},
  author={Fang, Yunhao and Yu, Weihao and Zhong, Shu and Ye, Qinghao and Xiong, Xuehan and Wei, Lai},
  journal={arXiv preprint arXiv:2510.07318},
  year={2025}
}

Quoted from the model card on Hugging Face. The full card is behind the Hugging Face link above.

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