RetentionEngine
A simple adapter implementation to transform pretrained Transformer-family models into the Titans architecture.
Experiments Setup
Exp 1: Comparison with Base Models [3B]
Baseline
- Titans 4B (Gemma3 4B IT)
- Llama3.2 3B Instruct
- Qwen3 4B
- Gemma3 4B IT
- RAG + Llama3.2 3B Instruct
- RAG + Qwen3 4B
- RAG + Gemma3 4B IT
Suggested
- Atlas-L 3B (Llama3.2 3B Instruct)
- Atlas-Q 4B (Qwen3 4B)
- Atlas-G 4B (Gemma3 4B IT)
Exp 2: Comparison with Base Models [8B]
Baseline
- Titans 9B (Gemma2 9B IT)
- Llama3.1 8B Instruct
- Qwen3 8B
- Gemma3 9B IT
- RAG + Llama3.1 8B Instruct
- RAG + Qwen3 8B
- RAG + Gemma3 9B IT
Suggested
- Atlas-L 8B (Llama3.1 8B Instruct)
- Atlas-Q 8B (Qwen3 8B)
- Atlas-G 9B (Gemma3 9B IT)
Exp 3: Comparison with Recurrent Models [8B]
Baseline
- Titans 9B (Gemma2 9B IT)
- Mamba2 8B
- RWKV6 7B
Suggested
- Atlas-L 3B (Llama3.2 3B Instruct)
- Atlas-Q 4B (Qwen3 4B)
- Atlas-G 4B (Gemma3 4B IT)
- Atlas-L 8B (Llama3.1 8B Instruct)
- Atlas-Q 8B (Qwen3 8B)
- Atlas-G 9B (Gemma3 9B IT)
Build
git clone https://github.com/retentionlabs/RetentionEngine.git
cd RetentionEngine
uv pip sync
Usage
- See
usage.ipynbfor usage examples.
Deploy
rm -rf dist/
rm -rf build/
rm -rf *.egg-info
python -m pip install --upgrade pip
pip install flit
python -m flit build
echo "Uploading..."
python -m flit publish
echo "Deployment complete!"
Metadata
Release files for retentionengine 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| retentionengine-0.0.1.tar.gz | 7.7 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| retentionengine-0.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 11.8 kB
Release files / retentionengine-0.0.1.tar.gz
| Download URL | retentionengine-0.0.1.tar.gz |
|---|---|
| Size | 7.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
26d9df768a4d3ba88b44c8f4bf4fc9d52a8527e066447c654d33ee7dcad3feb1
|
|
BLAKE2b-256 checksum How to use checksums |
13d9218490a011e3e1ac2af2d8c137c75cc59b201000b7e10bc91e14fb8c6e8b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-requests/2.32.3
|
Release files / retentionengine-0.0.1-py3-none-any.whl
| Download URL | retentionengine-0.0.1-py3-none-any.whl |
|---|---|
| Size | 4.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c75d953cd1e5660317b0427cb5ecc1dfa2e72806e001ca8e709ccb749e6836fb
|
|
BLAKE2b-256 checksum How to use checksums |
0f65eb3d0debce78173830989d9b0d3bb936ef6c61e9039c1eecf330293fc538
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-requests/2.32.3
|
Security for retentionengine 0.0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.