.. TPTT documentation master file, created by sphinx-quickstart on Fri May 16 23:31:01 2025. You can adapt this file completely to your liking, but it should at least contain the root `toctree` directive. TPTT Documentation ================== .. |arXiv| image:: https://img.shields.io/badge/arXiv-tptt-blueviolet.svg .. _arXiv: https://arxiv.org/abs/2506.17671 .. |PyPI| image:: https://img.shields.io/pypi/v/tptt?color=orange .. _PyPI: https://pypi.org/project/tptt/ .. |Release| image:: https://img.shields.io/github/v/release/fabienfrfr/tptt?color=brightgreen .. _Release: https://github.com/fabienfrfr/tptt/releases .. |Documentation| image:: https://img.shields.io/badge/docs-online-blue .. _Documentation: https://fabienfrfr.github.io/tptt/ |arXiv|_ |PyPI|_ |Release|_ |Documentation|_ **TPTT** is a modular Python library designed to inject efficient linearized attention (*LiZA*) mechanisms—such as *Memory as Gate* (described in `Titans `_)—into pretrained transformers 🤗. .. toctree:: :maxdepth: 2 :caption: Contents: tptt