memobase VS memorizing-transformers-pytorch

Compare memobase vs memorizing-transformers-pytorch and see what are their differences.

memorizing-transformers-pytorch

Implementation of Memorizing Transformers (ICLR 2022), attention net augmented with indexing and retrieval of memories using approximate nearest neighbors, in Pytorch (by lucidrains)
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
memobase memorizing-transformers-pytorch
2 6
2,752 643
2.1% 0.0%
9.4 2.6
5 months ago almost 3 years ago
Python Python
Apache License 2.0 MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

memobase

Posts with mentions or reviews of memobase. We have used some of these posts to build our list of alternatives and similar projects.

memorizing-transformers-pytorch

Posts with mentions or reviews of memorizing-transformers-pytorch. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-05-17.
  • HMT: Hierarchical Memory Transformer for Long Context Language Processing
    4 projects | news.ycombinator.com | 17 May 2024
    Code: https://github.com/OswaldHe/HMT-pytorch

    This looks really interesting. I've the paper to my reading list and look forward to playing with the code. I'm curious to see what kinds of improvements we can get by agumenting Transformers and other generative language/sequence models with this and other mechanisms implementing hierarchical memory.[a]

    We sure live in interesting times!

    ---

    [a] In the past, I experimented a little with transformers that had access to external memory using https://github.com/lucidrains/memorizing-transformers-pytorc... and also using routed queries with https://github.com/glassroom/heinsen_routing . Both approaches seemed to work, but I never attempted to build any kind of hierarchy with those approaches.

  • What can LLMs never do?
    4 projects | news.ycombinator.com | 27 Apr 2024
    At one point I experimented a little with transformers that had access to external memory searchable via KNN lookups https://github.com/lucidrains/memorizing-transformers-pytorc... or via routed queries with https://github.com/glassroom/heinsen_routing . Both approaches seemed to work for me, but I had to put that work on hold for reasons outside my control.
  • A single API call using almost the whole 32k context window costs around 2$.
    1 project | /r/OpenAI | 15 Mar 2023
    There is a GitHub repo https://github.com/lucidrains/memorizing-transformers-pytorch the implementation deviates from the paper slightly, using a hybrid attention across attention logits local and distant (rather than the sigmoid gate setup). It also uses cosine similarity attention (with learned temperature) for the KNN attention layer. There are also some features that are not mentioned in the paper, such as Transformer-XL memories and shifting memories down. There are no easy-to-use Memorizing Transformers implementations yet.
  • You’ll be able to run chatgpt on your own device quite easily very soon
    2 projects | /r/OpenAI | 13 Mar 2023
  • [R] Memorizing Transformers - Google 2022
    1 project | /r/MachineLearning | 12 Jun 2022
    Github: https://github.com/lucidrains/memorizing-transformers-pytorch
  • Memorizing Transformers – models that can acquire new knowledge immediately
    2 projects | news.ycombinator.com | 20 May 2022
    have an implementation of this over at https://github.com/lucidrains/memorizing-transformers-pytorc..., for any researcher exploring retrieval and memory with attention networks

What are some alternatives?

When comparing memobase and memorizing-transformers-pytorch you can also consider the following projects:

raptor - The official implementation of RAPTOR: Recursive Abstractive Processing for Tree-Organized Retrieval

RETRO-pytorch - Implementation of RETRO, Deepmind's Retrieval based Attention net, in Pytorch

vidore-benchmark - Vision Document Retrieval (ViDoRe): Benchmark. Evaluation code for the ColPali paper.

flamingo-pytorch - Implementation of 🦩 Flamingo, state-of-the-art few-shot visual question answering attention net out of Deepmind, in Pytorch

MemOS - Self-evolving memory OS for LLM & AI Agents: ultra-persistent memory, hybrid-retrieval, and cross-task skill reuse, with 35.24% token savings

heinsen_routing - Reference implementation of "An Algorithm for Routing Vectors in Sequences" (Heinsen, 2022) and "An Algorithm for Routing Capsules in All Domains" (Heinsen, 2019), for composing deep neural networks.

SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured

Did you know that Python is
the 1st most popular programming language
based on number of references?