Skip to main content

Memory-Augmented Sequence Models in Pytorch

Project description

🌌 OpenTitans

The Open-Source Framework for Memory-Augmented Sequence Models

License: MIT Python 3.10+ PyTorch 2.0+ Maintenance


Democratizing Test-Time Memorization and Neural Memory Architectures.

IntroductionDocumentationFeaturesQuick StartCitations

🌟 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.


📦 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}
}

📄 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

open_titans-0.0.3.tar.gz (36.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

open_titans-0.0.3-py3-none-any.whl (42.6 kB view details)

Uploaded Python 3

File details

Details for the file open_titans-0.0.3.tar.gz.

File metadata

  • Download URL: open_titans-0.0.3.tar.gz
  • Upload date:
  • Size: 36.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for open_titans-0.0.3.tar.gz
Algorithm Hash digest
SHA256 7eaa604909f89c191fad9bae31d2d50dcd5afdce5cd24fd76bb2d81da734ff29
MD5 abc4ef3c1beb9945af11ef3a812248da
BLAKE2b-256 87d1c209c10fbdf286497973673705254f9f158b4c4dc51399b160cbb75fb34c

See more details on using hashes here.

Provenance

The following attestation bundles were made for open_titans-0.0.3.tar.gz:

Publisher: python-publish.yml on Neeze/OpenTitans

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file open_titans-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: open_titans-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 42.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for open_titans-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 18ca68c37bf6720c1afb7618690229450ed3aa5d142c15d915c4228b754792b8
MD5 3fad6a38c7e256016efc4e06708bddbc
BLAKE2b-256 1f441c770470f54f78e06deb5729eb6495aad540f3e64fb670ba108376740396

See more details on using hashes here.

Provenance

The following attestation bundles were made for open_titans-0.0.3-py3-none-any.whl:

Publisher: python-publish.yml on Neeze/OpenTitans

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page