PyRank
  • Insights
  • PyPI
  • GitHub
  • Search
  • Compare
  • Advisories
  • Ecosystem
  • About

Attention Mechanism Python Packages

Python packages with the GitHub topic attention-mechanism. Sorted by relevance, with stars and monthly downloads.
lucidrains
x-transformers

A concise but complete full-attention transformer with a set of promising experimental features from various papers

1.5M 6K 515
lucidrains
vit-pytorch

Implementation of Vision Transformer, a simple way to achieve SOTA in vision classification with only a single transformer encoder, in Pytorch

126K 25K 4K
linto-ai
whisper-timestamped

Multilingual Automatic Speech Recognition with word-level timestamps and confidence

106K 3K 210
lucidrains
linear-attention-transformer

Transformer based on a variant of attention that is linear complexity in respect to sequence length

41K 838 78
lucidrains
linformer

Implementation of Linformer for Pytorch

39K 307 28
lucidrains
enformer-pytorch

Implementation of Enformer, Deepmind's attention network for predicting gene expression, in Pytorch

35K 568 101
lucidrains
flamingo-pytorch

Implementation of 🦩 Flamingo, state-of-the-art few-shot visual question answering attention net out of Deepmind, in Pytorch

26K 1K 66
lucidrains
nystrom-attention

Implementation of Nyström Self-attention, from the paper Nyströmformer

21K 145 18
lucidrains
reformer-pytorch

Reformer, the efficient Transformer, in Pytorch

20K 2K 253
lucidrains
performer-pytorch

An implementation of Performer, a linear attention-based transformer, in Pytorch

15K 1K 149
lucidrains
tab-transformer-pytorch

Implementation of TabTransformer, attention network for tabular data, in Pytorch

14K 1K 132
kyegomez
zetascale

Build high-performance AI models with modular building blocks

12K 595 58
CyberZHG
keras-self-attention

Attention mechanism for processing sequential data that considers the context for each timestamp.

9K 657 116
lucidrains
en-transformer

Implementation of E(n)-Transformer, which incorporates attention mechanisms into Welling's E(n)-Equivariant Graph Neural Network

8K 226 31
lucidrains
flash-pytorch

Implementation of the Transformer variant proposed in "Transformer Quality in Linear Time"

8K 372 25
lucidrains
alphafold2-pytorch

To eventually become an unofficial Pytorch implementation / replication of Alphafold2, as details of the architecture get released

7K 2K 264
lucidrains
improving-transformers-world-model

Implementation of the new SOTA for model based RL, from the paper "Improving Transformer World Models for Data-Efficient RL", in Pytorch

7K 155 6
lucidrains
se3-transformer-pytorch

Implementation of SE3-Transformers for Equivariant Self-Attention, in Pytorch. This specific repository is geared towards integration with eventual Alphafold2 replication.

6K 331 32
lucidrains
x-transformers-rl

Implementation of a transformer for reinforcement learning using `x-transformers`

6K 73 6
lucidrains
tf-bind-transformer

A repository with exploration into using transformers to predict DNA ↔ transcription factor binding

6K 88 9
lucidrains
dalle-pytorch

Implementation / replication of DALL-E, OpenAI's Text to Image Transformer, in Pytorch

6K 6K 643
densechen
activations

AReLU: Attention-based-Rectified-Linear-Unit

6K 62 8
lucidrains
memorizing-transformers-pytorch

Implementation of Memorizing Transformers (ICLR 2022), attention net augmented with indexing and retrieval of memories using approximate nearest neighbors, in Pytorch

6K 646 48
MontOpsInc
pynabled

nabled aims to be Rust's goto library for Linear Algebra & ML: performant, comprehensive, and correct.

5K 12 0
    • Data from PyPI, GitHub, ClickHouse, and BigQuery