Attention Mechanism Open Source Projects

Browse 227 Attention Mechanism open source projects, ranked by GitHub stars. Find the most popular Attention Mechanism tools and libraries.

Share your experience:✍️ Write a Post❓ Ask a Question
1-60 of 227 projects
25,420 stars

lucidrains/vit-pytorch

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

Metrics details
Stars25,420
17,765 stars

NLP-LOVE/ML-NLP

此项目是机器学习(Machine Learning)、深度学习(Deep Learning)、NLP面试中常考到的知识点和代码实现,也是作为一个算法工程师必会的理论基础知识。

Metrics details
Stars17,765
14,629 stars

BlinkDL/RWKV-LM

RWKV (pronounced RwaKuv) is an RNN with great LLM performance, which can also be directly trained like a GPT transformer (parallelizable). We are at RWKV-7 "Goose". So it's combining the best of RNN and transformer - great performance, linear time, constant space (no kv-cache), fast training, infinite ctx_len, and free sentence embedding.

Metrics details
Stars14,629
7,941 stars

brightmart/text_classification

all kinds of text classification models and more with deep learning

Metrics details
Stars7,941
6,963 stars

kyegomez/swarms

The Enterprise-Grade Production-Ready Multi-Agent Orchestration Framework. Website: https://swarms.ai

Metrics details
Stars6,963
5,922 stars

lucidrains/x-transformers

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

Metrics details
Stars5,922
5,629 stars

lucidrains/DALLE-pytorch

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

Metrics details
Stars5,629
5,049 stars

cmhungsteve/Awesome-Transformer-Attention

An ultimately comprehensive paper list of Vision Transformer/Attention, including papers, codes, and related websites

Metrics details
Stars5,049
4,799 stars

benedekrozemberczki/awesome-graph-classification

A collection of important graph embedding, classification and representation learning papers with implementations.

Metrics details
Stars4,799
4,470 stars

Kyubyong/transformer

A TensorFlow Implementation of the Transformer: Attention Is All You Need

Metrics details
Stars4,470
3,539 stars

PetarV-/GAT

Graph Attention Networks (https://arxiv.org/abs/1710.10903)

Metrics details
Stars3,539
3,126 stars

zzw922cn/awesome-speech-recognition-speech-synthesis-papers

Automatic Speech Recognition (ASR), Speaker Verification, Speech Synthesis, Text-to-Speech (TTS), Language Modelling, Singing Voice Synthesis (SVS), Voice Conversion (VC)

Metrics details
Stars3,126
3,123 stars

Diego999/pyGAT

Pytorch implementation of the Graph Attention Network model by Veličković et. al (2017, https://arxiv.org/abs/1710.10903)

Metrics details
Stars3,123
2,894 stars

sgrvinod/a-PyTorch-Tutorial-to-Image-Captioning

Show, Attend, and Tell | a PyTorch Tutorial to Image Captioning

Metrics details
Stars2,894
2,824 stars

linto-ai/whisper-timestamped

Multilingual Automatic Speech Recognition with word-level timestamps and confidence

Metrics details
Stars2,824
2,809 stars

philipperemy/keras-attention

Keras Attention Layer (Luong and Bahdanau scores).

Metrics details
Stars2,809
2,678 stars

gordicaleksa/pytorch-GAT

My implementation of the original GAT paper (Veličković et al.). I've additionally included the playground.py file for visualizing the Cora dataset, GAT embeddings, an attention mechanism, and entropy histograms. I've supported both Cora (transductive) and PPI (inductive) examples!

Metrics details
Stars2,678
2,191 stars

lucidrains/reformer-pytorch

Reformer, the efficient Transformer, in Pytorch

Metrics details
Stars2,191
1,957 stars

ml-jku/hopfield-layers

Hopfield Networks is All You Need

Metrics details
Stars1,957
1,633 stars

lucidrains/alphafold2

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

Metrics details
Stars1,633
1,544 stars

lucidrains/soundstorm-pytorch

Implementation of SoundStorm, Efficient Parallel Audio Generation from Google Deepmind, in Pytorch

Metrics details
Stars1,544
1,528 stars

lucidrains/lambda-networks

Implementation of LambdaNetworks, a new approach to image recognition that reaches SOTA with less compute

Metrics details
Stars1,528
1,291 stars

charlesXu86/Chatbot_CN

基于金融-司法领域(兼有闲聊性质)的聊天机器人,其中的主要模块有信息抽取、NLU、NLG、知识图谱等,并且利用Django整合了前端展示,目前已经封装了nlp和kg的restful接口

Metrics details
Stars1,291
1,268 stars

lucidrains/flamingo-pytorch

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

Metrics details
Stars1,268
1,217 stars

lucidrains/perceiver-pytorch

Implementation of Perceiver, General Perception with Iterative Attention, in Pytorch

Metrics details
Stars1,217
1,215 stars

awslabs/sockeye

Sequence-to-sequence framework with a focus on Neural Machine Translation based on PyTorch

Metrics details
Stars1,215
1,215 stars

The-AI-Summer/self-attention-cv

Implementation of various self-attention mechanisms focused on computer vision. Ongoing repository.

Metrics details
Stars1,215
1,195 stars

lucidrains/CoCa-pytorch

Implementation of CoCa, Contrastive Captioners are Image-Text Foundation Models, in Pytorch

Metrics details
Stars1,195
1,179 stars

lucidrains/performer-pytorch

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

Metrics details
Stars1,179
1,162 stars

SuperBruceJia/EEG-DL

A Deep Learning library for EEG Tasks (Signals) Classification, based on TensorFlow.

Metrics details
Stars1,162
1,145 stars

cedrickchee/awesome-transformer-nlp

A curated list of NLP resources focused on Transformer networks, attention mechanism, GPT, BERT, ChatGPT, LLMs, and transfer learning.

Metrics details
Stars1,145
1,128 stars

chengtan9907/OpenSTL

OpenSTL: A Comprehensive Benchmark of Spatio-Temporal Predictive Learning

Metrics details
Stars1,128
1,109 stars

gordicaleksa/pytorch-original-transformer

My implementation of the original transformer model (Vaswani et al.). I've additionally included the playground.py file for visualizing otherwise seemingly hard concepts. Currently included IWSLT pretrained models.

Metrics details
Stars1,109
1,090 stars

lucidrains/tab-transformer-pytorch

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

Metrics details
Stars1,090
1,077 stars

richliao/textClassifier

Text classifier for Hierarchical Attention Networks for Document Classification

Metrics details
Stars1,077
966 stars

qinzheng93/GeoTransformer

[CVPR2022] Geometric Transformer for Fast and Robust Point Cloud Registration

Metrics details
Stars966
911 stars

atulkum/pointer_summarizer

pytorch implementation of "Get To The Point: Summarization with Pointer-Generator Networks"

Metrics details
Stars911
905 stars

yunjey/show-attend-and-tell

TensorFlow Implementation of "Show, Attend and Tell"

Metrics details
Stars905
877 stars

lucidrains/RETRO-pytorch

Implementation of RETRO, Deepmind's Retrieval based Attention net, in Pytorch

Metrics details
Stars877
841 stars

lucidrains/linear-attention-transformer

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

Metrics details
Stars841
825 stars

lucidrains/PaLM-pytorch

Implementation of the specific Transformer architecture from PaLM - Scaling Language Modeling with Pathways

Metrics details
Stars825
814 stars

benedekrozemberczki/SimGNN

A PyTorch implementation of "SimGNN: A Neural Network Approach to Fast Graph Similarity Computation" (WSDM 2019).

Metrics details
Stars814
749 stars

datalogue/keras-attention

Visualizing RNNs using the attention mechanism

Metrics details
Stars749
745 stars

ilivans/tf-rnn-attention

Tensorflow implementation of attention mechanism for text classification tasks.

Metrics details
Stars745
740 stars

MaximumEntropy/Seq2Seq-PyTorch

Sequence to Sequence Models with PyTorch

Metrics details
Stars740
729 stars

lucidrains/TimeSformer-pytorch

Implementation of TimeSformer from Facebook AI, a pure attention-based solution for video classification

Metrics details
Stars729
723 stars

swz30/MIRNet

[ECCV 2020] Learning Enriched Features for Real Image Restoration and Enhancement. SOTA results for image denoising, super-resolution, and image enhancement.

Metrics details
Stars723
690 stars

soobinseo/Transformer-TTS

A Pytorch Implementation of "Neural Speech Synthesis with Transformer Network"

Metrics details
Stars690
678 stars

lucidrains/bottleneck-transformer-pytorch

Implementation of Bottleneck Transformer in Pytorch

Metrics details
Stars678
666 stars

positive666/yolo_research

based on yolo-high-level project (detect\pose\classify\segment\):include yolov5\yolov7\yolov8\ core ,improvement research ,SwintransformV2 and Attention Series. training skills, business customization, engineering deployment C

Metrics details
Stars666
657 stars

CyberZHG/keras-self-attention

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

Metrics details
Stars657
649 stars

Canjie-Luo/MORAN_v2

MORAN: A Multi-Object Rectified Attention Network for Scene Text Recognition

Metrics details
Stars649
647 stars

dongjun-Lee/text-summarization-tensorflow

Tensorflow seq2seq Implementation of Text Summarization.

Metrics details
Stars647
646 stars

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

Metrics details
Stars646
612 stars

philipturner/metal-flash-attention

FlashAttention (Metal Port)

Metrics details
Stars612
611 stars

wgcban/ChangeFormer

[IGARSS'22]: A Transformer-Based Siamese Network for Change Detection

Metrics details
Stars611
602 stars

prs-eth/OverlapPredator

[CVPR 2021, Oral] PREDATOR: Registration of 3D Point Clouds with Low Overlap.

Metrics details
Stars602
601 stars

lucidrains/point-transformer-pytorch

Implementation of the Point Transformer layer, in Pytorch

Metrics details
Stars601
594 stars

hirofumi0810/neural_sp

End-to-end ASR/LM implementation with PyTorch

Metrics details
Stars594
581 stars

kyegomez/RT-2

Democratization of RT-2 "RT-2: New model translates vision and language into action"

Metrics details
Stars581
1-60 of 227 projects
Get A Weekly Email With Trending Attention Mechanism Projects
Stay updated on Attention Mechanism plus related topics you pick below.

Copyright 2018-2026 Awesome Open Source.  All rights reserved.