Skip to main content

GateLoop

Implementation of arxiv.org/abs/2311.01927 in JAX based on lucidrains/gateloop-transformer.

Installation

pip install gateloop

Usage

from gateloop import GateLoopTransformer

key = jax.random.PRNGKey(0)
model = GateLoopTransformer(
    num_tokens = 1000, 
    dim = 512, 
    depth = 12
)
params = model.init(key, jnp.ones((1, 10), jnp.int32))
ids = jax.random.randint(key, (1, 10), 0, 1000)
logits = model.apply(params, ids)

Metadata

Release files for gateloop 0.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for gateloop 0.0.2
File Interpreter ABI Platform Actions
gateloop-0.0.2-py3-none-any.whl Python 3 none any Details for gateloop-0.0.2-py3-none-any.whl

Release files / gateloop-0.0.2-py3-none-any.whl

Download URL gateloop-0.0.2-py3-none-any.whl
Size 3.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7ca1a95bb558dcbc409754c5fb216b117d142a68c3aaf8aad53673a5f0ac1690
BLAKE2b-256 checksum
How to use checksums
80d9fec54186bf207e2945a1410614b628e7d2cc0ba5fa3745f912a66872e823
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.3

Security for gateloop 0.0.2

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.

Release history Release notifications | RSS feed

This release

0.0.2 This release

1 release file No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page