SkillAgentSearch skills...

MemoryMosaics

Memory Mosaics are networks of associative memories working in concert to achieve a prediction task.

Install / Use

/learn @facebookresearch/MemoryMosaics
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

Memory Mosaics

https://arxiv.org/abs/2405.06394

Memory Mosaics are networks of associative memories working in concert to achieve a prediction task of interest. Like transformers, memory mosaics possess compositional capabilities and in-context learning capabilities. Unlike transformers, memory mosaics achieve these capabilities in comparatively transparent ways. We demonstrate these capabilities on toy examples and we also show that memory mosaics perform as well or better than transformers on medium-scale language modeling tasks.

License: This code is released under the Apache-2.0 License.

This repositories contains several subdirectories relevant to the paper.

  • BabiStories : the BabiStories dataset
  • ThreeMoons : The mlx code for the three moon experiments
  • ICLL: Memory Mosaics code for the In-context Language Learning experiments
  • Library: A pytorch library of efficient Memory Mosaics implementation for language tasks.
  • nanoMosaics: An alternate pytorch implementation derived fron nanoGPT.

Related Skills

View on GitHub
GitHub Stars61
CategoryDevelopment
Updated26d ago
Forks4

Languages

Python

Security Score

95/100

Audited on Mar 6, 2026

No findings