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”
Open models
Stars:7.3kstreaming-llm
[ICLR 2024] Efficient Streaming Language Models with Attention Sinks
Python · MIT · updated 2 years agoDetails›Open models
Stars:7.1kChinese-LLaMA-Alpaca-2
中文LLaMA-2 & Alpaca-2大模型二期项目 + 64K超长上下文模型 (Chinese LLaMA-2 & Alpaca-2 LLMs with 64K long context models)
Python · Apache-2.0 · updated 7 months agoDetails›Run models locally
Stars:7kflashinfer
FlashInfer: Kernel Library for LLM Serving
Cuda · Apache-2.0 · updated 10 days agoDetails›Open models
Stars:6.5kInformer2020
The GitHub repository for the paper "Informer" accepted by AAAI 2021.
Python · Apache-2.0 · updated 1 year agoDetails›Run models locally
Stars:6.1klit-llama
Implementation of the LLaMA language model based on nanoGPT. Supports flash attention, Int8 and GPTQ 4bit quantization, LoRA and LLaMA-Adapter fine-tuning, pre-training. Apache 2.0-licensed.
Python · Apache-2.0 · updated 1 year agoDetails›Open models
Stars:6kx-transformers
A concise but complete full-attention transformer with a set of promising experimental features from various papers
Python · MIT · updated 13 days agoDetails›Image generation
Stars:5.6kDALLE-pytorch
Implementation / replication of DALL-E, OpenAI's Text to Image Transformer, in Pytorch
Python · MIT · updated 2 years agoDetails›Learn AI
Stars:5.6kAwesome-LLM-Inference
A curated list of Awesome LLM/VLM Inference Papers with Codes: Flash-Attention, Paged-Attention, WINT8/4, Parallelism, etc.
Python · GPL-3.0 · updated 1 month agoDetails›Computer vision
Stars:4.8kpytorch-cifar100
Practice on cifar100(ResNet, DenseNet, VGG, GoogleNet, InceptionV3, InceptionV4, Inception-ResNetv2, Xception, Resnet In Resnet, ResNext,ShuffleNet, ShuffleNetv2, MobileNet, MobileNetv2, SqueezeNet, NasNet, Residual Attention Network, SENet, WideResNet)
Python · updated 2 years agoDetails›Learn AI
Stars:4.2khow-to-train-your-gpt
Build a modern LLM from scratch. Every line commented. Explained like we are five.
Jupyter Notebook · MIT · updated 1 month agoDetails›Run models locally
Stars:4.1koneDNN
Open-source library of optimized deep learning operations (matmul, convolution, attention) for CPUs (x64, AArch64, RISC-V) and Intel GPUs. Used by PyTorch, TensorFlow, OpenVINO, and ONNX Runtime.
C++ · Apache-2.0 · updated 10 days agoDetails›Video & animation
Stars:3.9kTurboDiffusion
TurboDiffusion: 100–200× Acceleration for Video Diffusion Models
Python · Apache-2.0 · updated 27 days agoDetails›Computer vision
Stars:3.8kscenic
Scenic: A Jax Library for Computer Vision Research and Beyond
Python · Apache-2.0 · updated 1 month agoDetails›Open models
Stars:3.5kMiniMax-01
The official repo of MiniMax-Text-01 and MiniMax-VL-01, large-language-model & vision-language-model based on Linear Attention
Python · MIT · updated 1 year agoDetails›Open models
Stars:3.3kmusiclm-pytorch
Implementation of MusicLM, Google's new SOTA model for music generation using attention networks, in Pytorch
Python · MIT · updated 3 years agoDetails›Training & MLOps
Stars:3.3kResNeSt
ResNeSt: Split-Attention Networks
Python · Apache-2.0 · updated 2 months agoDetails›Open models
Stars:3.2kMiniMax-M1
MiniMax-M1, the world's first open-weight, large-scale hybrid-attention reasoning model.
Python · Apache-2.0 · updated 1 year agoDetails›Learn AI
Stars:3.1kawesome-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)
MIT · updated 3 years agoDetails›Learn AI
Stars:2.9ka-PyTorch-Tutorial-to-Image-Captioning
Show, Attend, and Tell | a PyTorch Tutorial to Image Captioning
Python · MIT · updated 4 years agoDetails›Learn AI
Stars:2.7kpytorch-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)…
Jupyter Notebook · MIT · updated 4 years agoDetails›Open models
Stars:2.6kaudiolm-pytorch
Implementation of AudioLM, a SOTA Language Modeling Approach to Audio Generation out of Google Research, in Pytorch
Python · MIT · updated 1 year agoDetails›Learn AI
Stars:2.3kAwesome-Graph-Neural-Networks
Paper Lists for Graph Neural Networks
updated 2 years agoDetails›Computer vision
Stars:2.3kMambaVision
[CVPR 2025] Official PyTorch Implementation of MambaVision: A Hybrid Mamba-Transformer Vision Backbone
Python · updated 8 months agoDetails›Run models locally
Stars:2.2kMoBA
MoBA: Mixture of Block Attention for Long-Context LLMs
Python · MIT · updated 1 year agoDetails›Open models
Stars:2.2kreformer-pytorch
Reformer, the efficient Transformer, in Pytorch
Python · MIT · updated 3 years agoDetails›Open models
Stars:2.1ktoolformer-pytorch
Implementation of Toolformer, Language Models That Can Use Tools, by MetaAI
Python · MIT · updated 2 years agoDetails›Open models
Stars:2kTransformer-Explainability
[CVPR 2021] Official PyTorch implementation for Transformer Interpretability Beyond Attention Visualization, a novel method to visualize classifications by Transformer based networks.
Jupyter Notebook · MIT · updated 2 years agoDetails›Video & animation
Stars:2kmake-a-video-pytorch
Implementation of Make-A-Video, new SOTA text to video generator from Meta AI, in Pytorch
Python · MIT · updated 2 years agoDetails›Image generation
Stars:2kFlashVSR
[CVPR 2026] Towards Real-Time Diffusion-Based Streaming Video Super-Resolution — An efficient one-step diffusion framework for streaming VSR with locality-constrained sparse attention and a tiny conditional decoder.
Python · Apache-2.0 · updated 1 month agoDetails›Open models
Stars:1.8kllm-internals
Learn LLM internals step by step - from tokenization to attention to inference optimization.
Apache-2.0 · updated 11 days agoDetails›
Details come from each project’s own repository. Something wrong or missing? Tell us or open a pull request.