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.4.tar.gz (41.1 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.4-py3-none-any.whl (49.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: open_titans-0.0.4.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

Hashes for open_titans-0.0.4.tar.gz
Algorithm Hash digest
SHA256 8200fc9d4cbff7873a878ff5a0346a247882165fd64190b6dc77713ca3c7aebc
MD5 9c79aec2cf27f206b853034537ee18d4
BLAKE2b-256 3a6484f13ee9d7541ed0a22f83cefadfca20dc49399f17c9ae2141d66126a55c

See more details on using hashes here.

Provenance

The following attestation bundles were made for open_titans-0.0.4.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.4-py3-none-any.whl.

File metadata

  • Download URL: open_titans-0.0.4-py3-none-any.whl
  • Upload date:
  • Size: 49.0 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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 218d4ede9d1520c7925d6e53897f6304b5ec2f0c1420daa0dbb38e6bb3c355b5
MD5 8f752c74c8ca11938dc1e936d50a5b98
BLAKE2b-256 e5f1feace14c7560a345925902f3af63502eab57e7fe3b36eb1a0e5db36c306c

See more details on using hashes here.

Provenance

The following attestation bundles were made for open_titans-0.0.4-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