Skip to content
PyRank
  • Search
  • PyPI
  • GitHub
  • Insights
  • Compare
  • Advisories
  • Ecosystem
  • About

Attention Mechanisms Python Packages

Python packages with the GitHub topic attention-mechanisms. Sorted by monthly downloads, with stars and forks.
lucidrains
local-attention

An implementation of local windowed attention for language modeling

224K 504 53
lucidrains
colt5-attention

Implementation of the conditionally routed attention in the CoLT5 architecture, in Pytorch

54K 231 15
lucidrains
alphafold3-pytorch

Implementation of Alphafold 3 from Google Deepmind in Pytorch

19K 2K 232
lucidrains
audiolm-pytorch

Implementation of AudioLM, a SOTA Language Modeling Approach to Audio Generation out of Google Research, in Pytorch

17K 3K 276
lucidrains
bs-roformer

Implementation of Band Split Roformer, SOTA Attention network for music source separation out of ByteDance AI Labs

7K 1K 50
lucidrains
meshgpt-pytorch

Implementation of MeshGPT, SOTA Mesh generation using Attention, in Pytorch

5K 862 67
lucidrains
palm-rlhf-pytorch

Implementation of RLHF (Reinforcement Learning with Human Feedback) on top of the PaLM architecture. Basically ChatGPT but with PaLM

5K 8K 665
lucidrains
locoformer

LocoFormer - Generalist Locomotion via Long-Context Adaptation

4K 130 6
lucidrains
magvit2-pytorch

Implementation of MagViT2 Tokenizer in Pytorch

4K 669 34
lucidrains
megabyte-pytorch

Implementation of MEGABYTE, Predicting Million-byte Sequences with Multiscale Transformers, in Pytorch

2K 659 55
lucidrains
calm-pytorch

CALM - Pytorch

2K 177 10
lucidrains
taylor-series-linear-attention

Explorations into the recently proposed Taylor Series Linear Attention

1K 102 3
lucidrains
tri-lbm

Large Behavioral Model from Toyota Research

1K 131 5
lucidrains
q-transformer

Implementation of Q-Transformer, Scalable Offline Reinforcement Learning via Autoregressive Q-Functions, out of Google Deepmind

1K 406 21
lucidrains
phenaki-pytorch

Implementation of Phenaki Video, which uses Mask GIT to produce text guided videos of up to 2 minutes in length, in Pytorch

1K 790 80
lucidrains
itransformer

Unofficial implementation of iTransformer - SOTA Time Series Forecasting using Attention networks, out of Tsinghua / Ant group

1K 538 38
lucidrains
flash-cosine-sim-attention

Implementation of fused cosine similarity attention in the same style as Flash Attention

1K 221 12
kyegomez
longnet

Implementation of plug in and play Attention from "LongNet: Scaling Transformers to 1,000,000,000 Tokens"

1K 728 59
lucidrains
block-recurrent-transformer-pytorch

Implementation of Block Recurrent Transformer - Pytorch

1K 226 19
lucidrains
muse-maskgit-pytorch

Implementation of Muse: Text-to-Image Generation via Masked Generative Transformers, in Pytorch

1K 918 86
lucidrains
agent-attention-pytorch

Implementation of Agent Attention in Pytorch

950 93 5
dynastes-team
dynastes

A collection of layers, ops, utilities and more for TensorFlow 2.0 high-level API Keras

945 10 1
lucidrains
musiclm-pytorch

Implementation of MusicLM, Google's new SOTA model for music generation using attention networks, in Pytorch

891 3K 262
lucidrains
recurrent-memory-transformer-pytorch

Implementation of Recurrent Memory Transformer, Neurips 2022 paper, in Pytorch

870 426 20
    • Original data from PyPI, GitHub, and OSV; downloads served through ClickHouse
    • Sources & methodology