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.
457 repos matching “transformer”
Learn AI
Stars:1.1kpytorch-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.
Jupyter Notebook · MIT · updated 5 years agoDetails›Training & MLOps
Stars:1.1ktab-transformer-pytorch
Implementation of TabTransformer, attention network for tabular data, in Pytorch
Python · MIT · updated 10 months agoDetails›Training & MLOps
Stars:1.1ksuperpoint_transformer
Official PyTorch implementation of Superpoint Transformer [ICCV'23], SuperCluster [3DV'24 Oral], and EZ-SP [ICRA'26]
Python · MIT · updated 22 days agoDetails›Open models
Stars:1kgraphtransformer
Graph Transformer Architecture. Source code for "A Generalization of Transformer Networks to Graphs", DLG-AAAI'21.
Python · MIT · updated 5 years agoDetails›Computer vision
Stars:986GeoTransformer
[CVPR2022] Geometric Transformer for Fast and Robust Point Cloud Registration
Python · MIT · updated 3 years agoDetails›Chat interfaces
Stars:969Transformers-for-NLP-2nd-Edition
Transformer models from BERT to GPT-4, environments from Hugging Face to OpenAI. Fine-tuning, training, and prompt engineering examples. A bonus section with ChatGPT, GPT-3.5-turbo, GPT-4, and DALL-E including jump starting GPT-4, speech-to-text, text-to-speech, text to image…
Jupyter Notebook · MIT · updated 2 years agoDetails›Open models
Stars:943nucleotide-transformer
Foundation Models for Genomics & Transcriptomics
Jupyter Notebook · updated 29 days agoDetails›Learn AI
Stars:933awesome-graph-transformer
Papers about graph transformers.
updated 1 year agoDetails›Learn AI
Stars:921awesome-decision-transformer
A curated list of Decision Transformer resources (continually updated)
Apache-2.0 · updated 6 months agoDetails›Open models
Stars:912Transformer-MM-Explainability
[ICCV 2021- Oral] Official PyTorch implementation for Generic Attention-model Explainability for Interpreting Bi-Modal and Encoder-Decoder Transformers, a novel method to visualize any Transformer-based network. Including examples for DETR, VQA.
Jupyter Notebook · MIT · updated 3 years agoDetails›Open models
Stars:887curated-transformers
A PyTorch library of curated Transformer models and their composable components
Python · MIT · updated 2 years agoDetails›Learn AI
Stars:863transformers-tutorials
Github repo with tutorials to fine tune transformers for diff NLP tasks
Jupyter Notebook · MIT · updated 2 years agoDetails›Computer vision
Stars:860Medical-Transformer
Official Pytorch Code for "Medical Transformer: Gated Axial-Attention for Medical Image Segmentation" - MICCAI 2021
Python · MIT · updated 3 years agoDetails›Open models
Stars:789ckip-transformers
CKIP Transformers
Python · GPL-3.0 · updated 3 years agoDetails›Open models
Stars:768transformers-php
Transformers PHP is a toolkit for PHP developers to add machine learning magic to their projects easily.
PHP · Apache-2.0 · updated 1 year agoDetails›Video & animation
Stars:712diffusion-forcing-transformer
[ICML 2025] Official PyTorch Implementation of "History-Guided Video Diffusion"
Python · updated 1 year 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›Training & MLOps
Stars:647trading-momentum-transformer
This code accompanies the the paper Trading with the Momentum Transformer: An Intelligent and Interpretable Architecture (https://arxiv.org/pdf/2112.08534.pdf).
Python · MIT · updated 8 months 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›Open models
Stars:583Natural_Language_Processing_with_Transformers
Natural Language Processing with Transformers 中译本,最权威Transformers教程
updated 1 year agoDetails›Training & MLOps
Stars:574Transformers.jl
Julia Implementation of Transformer models
Julia · MIT · updated 1 month agoDetails›Open models
Stars:547happy-transformer
Happy Transformer makes it easy to fine-tune and perform inference with NLP Transformer models.
Python · Apache-2.0 · updated 10 months 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›Learn AI
Stars:537audio-transformers-course
The Hugging Face Course on Transformers for Audio
MDX · Apache-2.0 · updated 14 days agoDetails›LLM & RAG frameworks
Stars:507Transformers-for-NLP-and-Computer-Vision-3rd-Edition
Transformers 3rd Edition
Jupyter Notebook · MIT · updated 1 year 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›Robotics & driving
Stars:482transformers-the-definitive-guide
This is the official repository for the book Transformers - The Definitive Guide
Jupyter Notebook · Apache-2.0 · updated 3 months agoDetails›Robotics & driving
Stars:453robotic-transformer-pytorch
Implementation of RT1 (Robotic Transformer) in Pytorch
Python · MIT · updated 2 years agoDetails›LLM & RAG frameworks
Stars:426recurrent-memory-transformer-pytorch
Implementation of Recurrent Memory Transformer, Neurips 2022 paper, in Pytorch
Python · MIT · updated 1 year agoDetails›
Details come from each project’s own repository. Something wrong or missing? Tell us or open a pull request.