HackerReposA FIELD GUIDE TO OPEN SOURCE
ProSponsor the shelf♧ 0
← Back to top all-time
booydar
recurrent-memory-transformer
Jupyter Notebook2023–2023
booydar / recurrent-memory-transformer

recurrent-memory-transformer

[NeurIPS 22] [AAAI 24] Recurrent Transformer-based long-context architecture.

2Distinct people
4Mentions
0Explicit recommenders
777GitHub stars
REPOSITORY AT A GLANCE

What to know before exploring

What it is

[NeurIPS 22] [AAAI 24] Recurrent Transformer-based long-context architecture.

GitHub

Where it is used

No documented product use has been verified yet.

What people are saying

No recommendation phrase was found in the indexed comments.

No classified warning is attached to this page. Read the discussions before treating silence as approval.

Also in these discussions

No other repository is repeatedly linked in the same discussions.

This week on Hacker News

Nov 7–Nov 14 UTC · Direct repository links and separately labeled related project stories. Indexed through 11/14/2026, 3:56:07 PM UTC.

No direct repository links were found in the indexed HN discussions over the past seven days. Older discussions are available below.

Mentions over time

HN mentions by hour4 dated mentions

Observed mentions: 2023-04-24 07:23:40 UTC to 2023-04-24 13:48:21 UTC.

01232023-04-24 07:00:00 UTC to 2023-04-24 08:00:00 UTC (exclusive): 3 mentions; 1 submissions, 2 commentsApr 24, 07:002023-04-24 08:00:00 UTC to 2023-04-24 09:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2023-04-24 09:00:00 UTC to 2023-04-24 10:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2023-04-24 10:00:00 UTC to 2023-04-24 11:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 commentsApr 24, 10:002023-04-24 11:00:00 UTC to 2023-04-24 12:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2023-04-24 12:00:00 UTC to 2023-04-24 13:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2023-04-24 13:00:00 UTC to 2023-04-24 14:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 commentsApr 24, 13:00

Counts come from the repository’s dated source evidence. Index cutoff: 2026-11-02 08:16:59 UTC.

View mention counts and date ranges
UTC ranges include their start and exclude their end. Select a period to filter the source evidence.
PeriodStart (UTC)End (exclusive, UTC)MentionsSubmissionsComments
Apr 24, 07:002023-04-24 07:00:00 UTC2023-04-24 08:00:00 UTC312
Apr 24, 08:002023-04-24 08:00:00 UTC2023-04-24 09:00:00 UTC000
Apr 24, 09:002023-04-24 09:00:00 UTC2023-04-24 10:00:00 UTC000
Apr 24, 10:002023-04-24 10:00:00 UTC2023-04-24 11:00:00 UTC000
Apr 24, 11:002023-04-24 11:00:00 UTC2023-04-24 12:00:00 UTC000
Apr 24, 12:002023-04-24 12:00:00 UTC2023-04-24 13:00:00 UTC000
Apr 24, 13:002023-04-24 13:00:00 UTC2023-04-24 14:00:00 UTC101

What Hacker News says

4 sources
Here's a list of tools for scaling up transformer context that have github repos: * FlashAttention: In my experience, the current best solution for n² attention, but it's very hard to scale up beyond the low tens of thousands of tokens. Memory use is O(n) but compute is O(n²). Code: https://github.com/HazyResearch/flash-attention * Heinsen Routing: In my experience, the current best solution for n×m attention, i.e., mapping n tokens to m tokens. It's like a souped-up version of attention. I've used it to pull up more than a million tokens as context. Memory use and compute are O(nm). It works, but in my (limited) experience, it doesn't work out-of-the-box as well as FlashAttention for n² attention. Code: https://github.com/glassroom/heinsen_routing * RWKV: A sort-of-recurrent model which claims to have performance comparable to n² attenti
Read the rest
on in transformers. In my (limited) experience, it doesn't. Others seem to agree: https://twitter.com/arankomatsuzaki/status/16390003799784038... . Code: https://github.com/BlinkDL/RWKV-LM * RMT (this method): I'm skeptical that the recurrent connections will work as well as n² attention or n×m routing in practice, but I'm going to give it a try. Code: https://github.com/booydar/t5-experiments/tree/scaling-repor... In addition, the group that developed FlashAttention is working on state-space models (SSMs) that look promising to me. The idea is to approximate n² attention dynamically using only O(n log n) compute. There's no code available, but here's a blog post about it: https://hazyresearch.stanford.edu/blog/2023-03-27-long-learn... [CORRECTION: Code is available. See comment by lucidrains below. I'm hopeful this will go to the top of my list.] If anyone here has other suggestions for working with long sequences (hundreds of thousands to millions of tokens), I'd love to learn about them.
In Scaling Transformer to 1M tokens and beyond with RMT

MAKE YOURSELF AT HOME

A few shortcuts

/
Search the collection
?
Open this guide
Esc
Close dialogs and navigation

Your saved repositories and interests stay in this browser.