Open-source AI repos
Open-source AI, all in one place.
13,356 open-source AI repositories for learning, teaching, research and building. Kept up to date by the community: anyone can add a repo with a pull request.
151 repos matching “attention”
Image generation
Stars:772Attend-and-Excite
Official Implementation for "Attend-and-Excite: Attention-Based Semantic Guidance for Text-to-Image Diffusion Models" (SIGGRAPH 2023)
Jupyter Notebook · MIT · updated 2 years agoDetails›Image generation
Stars:731MIRNet
[ECCV 2020] Learning Enriched Features for Real Image Restoration and Enhancement. SOTA results for image denoising, super-resolution, and image enhancement.
Python · updated 2 years agoDetails›Open models
Stars:731TimeSformer-pytorch
Implementation of TimeSformer from Facebook AI, a pure attention-based solution for video classification
Python · MIT · updated 5 years agoDetails›Training & MLOps
Stars:706seq2seq
Minimal Seq2Seq model with Attention for Neural Machine Translation in PyTorch
Python · MIT · updated 6 months agoDetails›Computer vision
Stars:700LaneATT
Code for the paper entitled "Keep your Eyes on the Lane: Real-time Attention-guided Lane Detection" (CVPR 2021)
Python · MIT · updated 4 years agoDetails›Speech & audio
Stars:695Transformer-TTS
A Pytorch Implementation of "Neural Speech Synthesis with Transformer Network"
Python · MIT · updated 3 years agoDetails›Computer vision
Stars:678bottleneck-transformer-pytorch
Implementation of Bottleneck Transformer in Pytorch
Python · MIT · updated 5 years agoDetails›Video & animation
Stars:669magvit2-pytorch
Implementation of MagViT2 Tokenizer in Pytorch
Python · MIT · updated 1 year agoDetails›Open models
Stars:659MEGABYTE-pytorch
Implementation of MEGABYTE, Predicting Million-byte Sequences with Multiscale Transformers, in Pytorch
Python · MIT · updated 1 year agoDetails›LLM & RAG frameworks
Stars:645memorizing-transformers-pytorch
Implementation of Memorizing Transformers (ICLR 2022), attention net augmented with indexing and retrieval of memories using approximate nearest neighbors, in Pytorch
Python · MIT · updated 3 years agoDetails›Run models locally
Stars:630Deepdive-llama3-from-scratch
Achieve the llama3 inference step-by-step, grasp the core concepts, master the process derivation, implement the code.
Jupyter Notebook · MIT · updated 1 year agoDetails›Open models
Stars:610ML-2021-notes
臺灣大學 (NTU) 李宏毅教授「機器學習 (Machine Learning) 2021 Spring 」課程筆記
updated 3 months agoDetails›Learn AI
Stars:605zeta
Build high-performance AI models with modular building blocks
Python · Apache-2.0 · updated 15 days agoDetails›Speech & audio
Stars:595neural_sp
End-to-end ASR/LM implementation with PyTorch
Python · Apache-2.0 · updated 5 years agoDetails›Computer vision
Stars:587BiFormer
[CVPR 2023] Official code release of our paper "BiFormer: Vision Transformer with Bi-Level Routing Attention"
Python · MIT · updated 3 years agoDetails›Robotics & driving
Stars:585RT-2
Democratization of RT-2 "RT-2: New model translates vision and language into action"
Python · MIT · updated 2 years agoDetails›Computer vision
Stars:583SCAN
PyTorch source code for "Stacked Cross Attention for Image-Text Matching" (ECCV 2018)
Python · Apache-2.0 · updated 3 years agoDetails›Training & MLOps
Stars:574Transformers.jl
Julia Implementation of Transformer models
Julia · MIT · updated 1 month agoDetails›Image generation
Stars:568foldingdiff
Diffusion models of protein structure; trigonometry and attention are all you need!
Jupyter Notebook · MIT · updated 15 days agoDetails›Training & MLOps
Stars:564mmdit
Implementation of a single layer of the MMDiT, proposed in Stable Diffusion 3, in Pytorch
Python · MIT · updated 10 months agoDetails›Video & animation
Stars:547nuwa-pytorch
Implementation of NÜWA, state of the art attention network for text to video synthesis, in Pytorch
Python · MIT · updated 3 years agoDetails›Open models
Stars:539iTransformer
Unofficial implementation of iTransformer - SOTA Time Series Forecasting using Attention networks, out of Tsinghua / Ant group
Python · MIT · updated 1 year agoDetails›Image generation
Stars:536parti-pytorch
Implementation of Parti, Google's pure attention-based text-to-image neural network, in Pytorch
Python · MIT · updated 2 years agoDetails›LLM & RAG frameworks
Stars:523llm-inference-engineering
Learn LLM Inference Engineering step by step - from KV cache, PagedAttention, and continuous batching to vLLM, SGLang, and GPUs.
Markdown · Apache-2.0 · updated 22 days agoDetails›Training & MLOps
Stars:521SAITS
The official PyTorch implementation of the paper "SAITS: Self-Attention-based Imputation for Time Series". A fast and state-of-the-art (SOTA) deep-learning neural network model for efficient time-series imputation (impute multivariate incomplete time series containing NaN missing data/values with m…
Python · MIT · updated 3 months agoDetails›LLM & RAG frameworks
Stars:487NextTransformer
A comprehensive, cutting-edge open-source framework for next-generation Transformers/LLM, with compute-matched benchmarking and a platform for autonomous architecture research.
Python · MIT · updated 11 days agoDetails›Open models
Stars:473MultiModalMamba
A novel implementation of fusing ViT with Mamba into a fast, agile, and high performance Multi-Modal Model. Powered by Zeta, the simplest AI framework ever.
Python · MIT · updated 22 days agoDetails›Coding assistants
Stars:473vet
Find issues worth your attention.
Python · AGPL-3.0 · updated 2 months agoDetails›Image generation
Stars:466SelectionGAN
[CVPR 2019 Oral] Multi-Channel Attention Selection GAN with Cascaded Semantic Guidance for Cross-View Image Translation
Python · updated 3 years agoDetails›Open models
Stars:465TPA
[NeurIPS 2025 Spotlight] TPA: Tensor ProducT ATTenTion Transformer (https://arxiv.org/abs/2501.06425)
Python · MIT · updated 26 days agoDetails›
Details come from each project’s own repository. Something wrong or missing? Tell us or open a pull request.