Home Projects attention_sinks
attention_sinks
Python

attention_sinks

Extend existing LLMs way beyond the original training length with constant memory usage, without retraining

by tomaarsen · GitHub
Stars
Forks
License
Created
Last commit
Category
Language
llmllmsnlpApache-2.0Python
View on GitHub
In plain words

Extend the capabilities of existing language models to generate text indefinitely without needing to retrain them.

You maintain this project?

Claim its page: indexed whatever its rank, translated into six languages, and enriched with what you write yourself.

Claim this page →
attention_sinks — GitHub preview card
📈 Star history
736735
2026-07-202026-08-31
📈 Track attention_sinks

Get an email alert on its next release or when it starts trending — never miss the moment.

Free · no card · unsubscribe anytime
Get email alerts →
📄 About

Extend existing LLMs way beyond the original training length with constant memory usage, without retraining

attention_sinks has 735 stars on GitHub. It has been forked 44 times. attention_sinks is written mainly in Python. It has been in active development since 2023. attention_sinks is available under the Apache-2.0 license. Its main topics are llm, llms, nlp, python.

Frequently asked questions

What is attention_sinks?

Extend existing LLMs way beyond the original training length with constant memory usage, without retraining

Is attention_sinks open source?

attention_sinks is an open-source project. It is released under the Apache-2.0 license.

Is attention_sinks free?

Yes. attention_sinks is free and open source — you can use, modify and self-host it.

What license does attention_sinks use?

attention_sinks is available under the Apache-2.0 license.

What language is attention_sinks written in?

attention_sinks is written mainly in Python.

🏅 Maintainer of this project?
olud.ai badge — attention_sinks

Add this live badge to your README — your GitHub stars and directory rank, refreshed daily.

[![olud.ai](https://olud.ai/badge.php?tool=tomaarsen-attention-sinks)](https://olud.ai/project/tomaarsen-attention-sinks.html)
More badge options →
🧬 Shares DNA with

Measured from GitHub topics shared by both projects, weighted by how rare each topic is.