abertsch72/unlimiformer
Public repo for the NeurIPS 2023 paper "Unlimiformer: Long-Range Transformers with Unlimited Length Input" observed · 2026-08-28
Health v2 · maintenance only
30/100
- Activity 0
- Release rhythm 35
- Longevity 87
Flags: no_releases
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 1219
- days_rel: n/a
- days_push: 909
- n_releases_24m: 0
Adoption not part of the score
1062 stars · 78 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
Unlimiformer is a method and official implementation for augmenting pretrained encoder-decoder transformers with retrieval-based attention, enabling unlimited-length inputs without changing the mathematical definition of attention. It supports models like BART and Llama-2 for tasks such as long-document summarization and prompting with entire books.
Use cases
- process unlimited length inputs with pretrained encoder-decoder transformers
- summarize entire books with Llama-2
- improve long-range attention in seq2seq models without retraining from scratch
- apply retrieval-based attention over long documents
- train models with Unlimiformer for long-input tasks
When to choose
- you need to feed very long documents to a pretrained encoder-decoder model like BART
- you want to prompt Llama-2 with inputs longer than its context window
- you want retrieval-based attention without changing attention semantics
When to avoid
- you need a simple short-context model with no long-input requirements
- you cannot afford the extra memory/compute for kNN datastores and indexes
- you use decoder-only models other than supported Llama derivatives
Facets
library · maturity stable
machine-learning deep-learning search-engine llm-inference large-language-models deep-learning machine-learning python long-context retrieval-based-attention transformers encoder-decoder neurips-2023 llama-2 knn-attention natural-language-processing
1 source
- readme: https://github.com/abertsch72/unlimiformer · fetched 2026-08-28 · 597a325954f7
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| abertsch72/unlimiformer | main | 30 |
For agents
markdown · JSON · MCP: product_card(name="abertsch72/unlimiformer")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem