Attention Open Source Projects

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

Share your experience:✍️ Write a Post❓ Ask a Question
1-60 of 640 projects
67,182 stars

labmlai/annotated_deep_learning_paper_implementations

🧑‍🏫 60+ Implementations/tutorials of deep learning papers with side-by-side notes 📝; including transformers (original, xl, switch, feedback, vit, ...), optimizers (adam, adabelief, sophia, ...), gans(cyclegan, stylegan2, ...), 🎮 reinforcement learning (ppo, dqn), capsnet, distillation, ... 🧠

Metrics details
Stars67,182
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
16,338 stars

ddbourgin/numpy-ml

Machine learning, in numpy

Metrics details
Stars16,338
14,918 stars

graykode/nlp-tutorial

Natural Language Processing Tutorial for Deep Learning Researchers

Metrics details
Stars14,918
12,182 stars

xmu-xiaoma666/External-Attention-pytorch

🍀 Pytorch implementation of various Attention Mechanisms, MLP, Re-parameter, Convolution, which is helpful to further understand papers.⭐⭐⭐

Metrics details
Stars12,182
9,896 stars

espnet/espnet

End-to-End Speech Processing Toolkit

Metrics details
Stars9,896
9,756 stars

jadore801120/attention-is-all-you-need-pytorch

A PyTorch implementation of the Transformer model in "Attention is All You Need".

Metrics details
Stars9,756
8,124 stars

jessevig/bertviz

BertViz: Visualize Attention in Transformer Models

Metrics details
Stars8,124
7,941 stars

brightmart/text_classification

all kinds of text classification models and more with deep learning

Metrics details
Stars7,941
7,444 stars

EleutherAI/gpt-neox

An implementation of model parallel autoregressive transformers on GPUs, based on the Megatron and DeepSpeed libraries

Metrics details
Stars7,444
6,508 stars

zhouhaoyi/Informer2020

The GitHub repository for the paper "Informer" accepted by AAAI 2021.

Metrics details
Stars6,508
6,461 stars

tensorflow/nmt

TensorFlow Neural Machine Translation Tutorial

Metrics details
Stars6,461
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,728 stars

649453932/Chinese-Text-Classification-Pytorch

中文文本分类,TextCNN,TextRNN,FastText,TextRCNN,BiLSTM_Attention,DPCNN,Transformer,基于pytorch,开箱即用。

Metrics details
Stars5,728
5,698 stars

bentrevett/pytorch-seq2seq

Tutorials on implementing a few sequence-to-sequence (seq2seq) models with PyTorch and TorchText.

Metrics details
Stars5,698
4,615 stars

hyunwoongko/transformer

Transformer: PyTorch Implementation of "Attention Is All You Need"

Metrics details
Stars4,615
4,470 stars

Kyubyong/transformer

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

Metrics details
Stars4,470
4,033 stars

km1994/nlp_paper_study

该仓库主要记录 NLP 算法工程师相关的顶会论文研读笔记

Metrics details
Stars4,033
3,819 stars

google-research/scenic

Scenic: A Jax Library for Computer Vision Research and Beyond

Metrics details
Stars3,819
3,539 stars

PetarV-/GAT

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

Metrics details
Stars3,539
3,250 stars

anseki/leader-line

Draw a leader line in your web page.

Metrics details
Stars3,250
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
3,107 stars

LeeJunHyun/Image_Segmentation

Pytorch implementation of U-Net, R2U-Net, Attention U-Net, and Attention R2U-Net.

Metrics details
Stars3,107
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,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,460 stars

junfu1115/DANet

Dual Attention Network for Scene Segmentation (CVPR2019)

Metrics details
Stars2,460
2,395 stars

danielegrattarola/spektral

Graph Neural Networks with Keras and Tensorflow 2.

Metrics details
Stars2,395
2,241 stars

bigmb/Unet-Segmentation-Pytorch-Nest-of-Unets

Implementation of different kinds of Unet Models for Image Segmentation - Unet , RCNN-Unet, Attention Unet, RCNN-Attention Unet, Nested Unet

Metrics details
Stars2,241
2,241 stars

microsoft/DeBERTa

The implementation of DeBERTa

Metrics details
Stars2,241
2,230 stars

Jongchan/attention-module

Official PyTorch code for "BAM: Bottleneck Attention Module (BMVC2018)" and "CBAM: Convolutional Block Attention Module (ECCV2018)"

Metrics details
Stars2,230
2,191 stars

lucidrains/reformer-pytorch

Reformer, the efficient Transformer, in Pytorch

Metrics details
Stars2,191
2,158 stars

jeonsworld/ViT-pytorch

Pytorch reimplementation of the Vision Transformer (An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale)

Metrics details
Stars2,158
2,113 stars

songyouwei/ABSA-PyTorch

Aspect Based Sentiment Analysis, PyTorch Implementations. 基于方面的情感分析,使用PyTorch实现。

Metrics details
Stars2,113
2,063 stars

ozan-oktay/Attention-Gated-Networks

Use of Attention Gates in a Convolutional Neural Network / Medical Image Classification and Segmentation

Metrics details
Stars2,063
2,007 stars

hila-chefer/Transformer-Explainability

[CVPR 2021] Official PyTorch implementation for Transformer Interpretability Beyond Attention Visualization, a novel method to visualize classifications by Transformer based networks.

Metrics details
Stars2,007
1,978 stars

r9y9/deepvoice3_pytorch

PyTorch implementation of convolutional neural networks-based text-to-speech synthesis models

Metrics details
Stars1,978
1,957 stars

ml-jku/hopfield-layers

Hopfield Networks is All You Need

Metrics details
Stars1,957
1,822 stars

heykeetae/Self-Attention-GAN

Pytorch implementation of Self-Attention Generative Adversarial Networks (SAGAN)

Metrics details
Stars1,822
1,781 stars

huseinzol05/NLP-Models-Tensorflow

Gathers machine learning and Tensorflow deep learning models for NLP problems, 1.13 < Tensorflow < 2.0

Metrics details
Stars1,781
1,772 stars

idiap/fast-transformers

Pytorch library for fast transformer implementations

Metrics details
Stars1,772
1,766 stars

codingonion/awesome-yolo-object-detection

🚀🚀🚀 A collection of some awesome public YOLO object detection series projects.

Metrics details
Stars1,766
1,676 stars

argusswift/YOLOv4-pytorch

This is a pytorch repository of YOLOv4, attentive YOLOv4 and mobilenet YOLOv4 with PASCAL VOC and COCO

Metrics details
Stars1,676
1,629 stars

msgi/nlp-journey

Documents, papers and codes related to Natural Language Processing, including Topic Model, Word Embedding, Named Entity Recognition, Text Classificatin, Text Generation, Text Similarity, Machine Translation),etc.

Metrics details
Stars1,629
1,615 stars

openai/sparse_attention

Examples of using sparse attention, as in "Generating Long Sequences with Sparse Transformers"

Metrics details
Stars1,615
1,546 stars

allenai/bi-att-flow

Bi-directional Attention Flow (BiDAF) network is a multi-stage hierarchical process that represents context at different levels of granularity and uses a bi-directional attention flow mechanism to achieve a query-aware context representation without early summarization.

Metrics details
Stars1,546
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,500 stars

yulunzhang/RCAN

PyTorch code for our ECCV 2018 paper "Image Super-Resolution Using Very Deep Residual Channel Attention Networks"

Metrics details
Stars1,500
1,500 stars

luuuyi/CBAM.PyTorch

Non-official implement of Paper:CBAM: Convolutional Block Attention Module

Metrics details
Stars1,500
1,485 stars

speedinghzl/CCNet

CCNet: Criss-Cross Attention for Semantic Segmentation (TPAMI 2020 & ICCV 2019).

Metrics details
Stars1,485
1,471 stars

peteanderson80/bottom-up-attention

Bottom-up attention model for image captioning and VQA, based on Faster R-CNN and Visual Genome

Metrics details
Stars1,471
1,464 stars

szagoruyko/attention-transfer

Improving Convolutional Networks via Attention Transfer (ICLR 2017)

Metrics details
Stars1,464
1,413 stars

BangguWu/ECANet

Code for ECA-Net: Efficient Channel Attention for Deep Convolutional Neural Networks

Metrics details
Stars1,413
1,381 stars

wouterkool/attention-learn-to-route

Attention based model for learning to solve different routing problems

Metrics details
Stars1,381
1,371 stars

Jude95/SwipeBackHelper

make your activity can swipe to close

Metrics details
Stars1,371
1,347 stars

dorarad/gansformer

Generative Adversarial Transformers

Metrics details
Stars1,347
1,334 stars

DengBoCong/nlp-paper

自然语言处理领域下的相关论文(附阅读笔记),复现模型以及数据处理等(代码含TensorFlow和PyTorch两版本)

Metrics details
Stars1,334
1,281 stars

harvardnlp/seq2seq-attn

Sequence-to-sequence model with LSTM encoder/decoders and attention

Metrics details
Stars1,281
1,260 stars

pprp/SimpleCVReproduction

Replication of simple CV Projects including attention, classification, detection, keypoint detection, etc.

Metrics details
Stars1,260
1,221 stars

hunkim/deep_architecture_genealogy

Deep Learning Architecture Genealogy Project

Metrics details
Stars1,221
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-60 of 640 projects
Get A Weekly Email With Trending Attention Projects
Stay updated on Attention plus related topics you pick below.

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