Memory-Augmented Sequence Models in Pytorch
Project description
🌌 OpenTitans
The Open-Source Framework for Memory-Augmented Sequence Models
Democratizing Test-Time Memorization and Neural Memory Architectures.
Introduction • Documentation • Features • Quick Start • Citations
🌟 Introduction
OpenTitans is a modular, high-performance framework designed to implement and explore the next generation of sequence models. While Transformers revolutionized AI, their quadratic context limitations have met their match.
Inspired by groundbreaking research from Google and other top labs, OpenTitans focuses on Memory-Augmented Models that learn to memorize, optimize, and cache their internal states at test time. Our goal is to provide a "HuggingFace-like" experience for researchers and engineers building the future of infinite-context modeling.
📖 Documentation
For detailed information on how to use OpenTitans, please refer to our Documentation Index.
- Installation Guide: Setup and dependency management.
- Quickstart: Your first model in 5 minutes.
- Titans Variants: Understanding MAC, MAG, and MAL.
- ATLAS Framework: Learning to Optimally Memorize Context at Test Time.
- Neural Memory: Customizing memory models and fast-weight updates.
📦 Quick Start
Installation
[!TIP] We recommend using a virtual environment (venv or conda) for the best experience.
pip install open-titans
Development Installation
# Clone the repository
git clone https://github.com/Neeze/OpenTitans.git
cd OpenTitans
# Install in editable mode with dependencies
pip install -e .
🤝 Contributing
We are looking for "Titans" to help us build! 🚀
Whether you want to implement a new paper, optimize a CUDA kernel, or just fix a typo, your contributions are welcome. Check out our CONTRIBUTING.md to get started.
📚 Citations & Acknowledgements
OpenTitans stands on the shoulders of giants. We acknowledge the authors of the following papers for their foundational work:
@misc{behrouz2024titanslearningmemorizetest,
title={Titans: Learning to Memorize at Test Time},
author={Ali Behrouz and Peilin Zhong and Vahab Mirrokni},
year={2024},
url={https://arxiv.org/abs/2501.00663}
}
@misc{behrouz2025itsconnectedjourneytesttime,
title={It's All Connected: A Journey Through Test-Time Memorization, Attentional Bias, Retention, and Online Optimization},
author={Ali Behrouz and Meisam Razaviyayn and Peilin Zhong and Vahab Mirrokni},
year={2025},
url={https://arxiv.org/abs/2504.13173}
}
@misc{behrouz2025atlaslearningoptimallymemorize,
title={ATLAS: Learning to Optimally Memorize the Context at Test Time},
author={Ali Behrouz and Zeman Li and Praneeth Kacham and Majid Daliri and Yuan Deng and Peilin Zhong and Meisam Razaviyayn and Vahab Mirrokni},
year={2025},
url={https://arxiv.org/abs/2505.23735}
}
@misc{behrouz2025nestedlearningillusiondeep,
title={Nested Learning: The Illusion of Deep Learning Architectures},
author={Ali Behrouz and Meisam Razaviyayn and Peilin Zhong and Vahab Mirrokni},
year={2025},
eprint={2512.24695},
archivePrefix={arXiv},
primaryClass={cs.LG},
url={https://arxiv.org/abs/2512.24695},
}
@misc{behrouz2026memorycachingrnnsgrowing,
title={Memory Caching: RNNs with Growing Memory},
author={Ali Behrouz and Zeman Li and Yuan Deng and Peilin Zhong and Meisam Razaviyayn and Vahab Mirrokni},
year={2026},
eprint={2602.24281},
archivePrefix={arXiv},
primaryClass={cs.LG},
url={https://arxiv.org/abs/2602.24281},
}
📄 License
OpenTitans is released under the MIT License. See LICENSE for more details.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file open_titans-0.0.5.tar.gz.
File metadata
- Download URL: open_titans-0.0.5.tar.gz
- Upload date:
- Size: 41.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c67d06ddcee6ef9e9a94666186c907040e0850fedcf37341e3935c12c03ebce1
|
|
| MD5 |
2f93f595173e05ff72d68e450011cb66
|
|
| BLAKE2b-256 |
ce1fd894340a9528806a813c0b7578045d3bd64590486e5773c3e671f981bdcb
|
Provenance
The following attestation bundles were made for open_titans-0.0.5.tar.gz:
Publisher:
python-publish.yml on Neeze/OpenTitans
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
open_titans-0.0.5.tar.gz -
Subject digest:
c67d06ddcee6ef9e9a94666186c907040e0850fedcf37341e3935c12c03ebce1 - Sigstore transparency entry: 1368527521
- Sigstore integration time:
-
Permalink:
Neeze/OpenTitans@9d7dc12cf18e522534059efefeee159a4d95a54b -
Branch / Tag:
refs/tags/v0.0.5 - Owner: https://github.com/Neeze
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@9d7dc12cf18e522534059efefeee159a4d95a54b -
Trigger Event:
release
-
Statement type:
File details
Details for the file open_titans-0.0.5-py3-none-any.whl.
File metadata
- Download URL: open_titans-0.0.5-py3-none-any.whl
- Upload date:
- Size: 46.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6b7913223077d1234bf6e004e9ed19c4d9a058a8630bf2174af5ef6706c58d14
|
|
| MD5 |
21812fdbb5ec28b145f48b98372ba5b0
|
|
| BLAKE2b-256 |
7fc507da98c09e4e205355e7132b19bf61378c8540785277b921583905e2e553
|
Provenance
The following attestation bundles were made for open_titans-0.0.5-py3-none-any.whl:
Publisher:
python-publish.yml on Neeze/OpenTitans
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
open_titans-0.0.5-py3-none-any.whl -
Subject digest:
6b7913223077d1234bf6e004e9ed19c4d9a058a8630bf2174af5ef6706c58d14 - Sigstore transparency entry: 1368527587
- Sigstore integration time:
-
Permalink:
Neeze/OpenTitans@9d7dc12cf18e522534059efefeee159a4d95a54b -
Branch / Tag:
refs/tags/v0.0.5 - Owner: https://github.com/Neeze
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@9d7dc12cf18e522534059efefeee159a4d95a54b -
Trigger Event:
release
-
Statement type: