#Transformers

Showing 60 of 425 repositories tagged #transformers, ranked by stars

microsoft
microsoft
generative-ai-for-beginners

21 Lessons, Get Started Building with Generative AI

Score
100
โ˜… 112.8k โ‘‚ 60.6k +128/day
Jupyter Notebook
rasbt
rasbt
LLMs-from-scratch

Implement a ChatGPT-like LLM in PyTorch from scratch, step by step

Score
100
โ˜… 98.7k โ‘‚ 15.2k +235/day
Jupyter Notebook
hiyouga
hiyouga
LlamaFactory

Unified Efficient Fine-Tuning of 100+ LLMs & VLMs (ACL 2024)

Score
98
โ˜… 73.1k โ‘‚ 8.9k +120/day
Python
labmlai
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, ... ๐Ÿง 

Score
95
โ˜… 67.1k โ‘‚ 6.7k +11/day
Python
rohitg00
rohitg00
ai-engineering-from-scratch

Learn it. Build it. Ship it for others.

Score
97
โ˜… 37.6k โ‘‚ 6.3k +282/day
Python
deepset-ai
deepset-ai
haystack

Open-source AI orchestration framework for building context-engineered, production-ready LLM applications. Design modular pipelines and agent workflows with explicit control over retrieval, routing, memory, and generation. Built for scalable agents, RAG, multimodal applications, semantic search, and conversational systems.

Score
93
โ˜… 25.9k โ‘‚ 2.9k +2/day
MDX
lucidrains
lucidrains
vit-pytorch

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

Score
92
โ˜… 25.4k โ‘‚ 3.5k +7/day
Python
amusi
amusi
CVPR2026-Papers-with-Code

CVPR 2026 ่ฎบๆ–‡ๅ’Œๅผ€ๆบ้กน็›ฎๅˆ้›†

Score
84
โ˜… 22.8k โ‘‚ 2.8k +9/day
huggingface
huggingface
peft

๐Ÿค— PEFT: State-of-the-art Parameter-Efficient Fine-Tuning.

Score
90
โ˜… 21.4k โ‘‚ 2.4k +5/day
Python
stas00
stas00
ml-engineering

Machine Learning Engineering Open Book

Score
85
โ˜… 18.3k โ‘‚ 1.2k +18/day
Python
arc53
arc53
DocsGPT

Private AI platform for agents, assistants and enterprise search. Built-in Agent Builder, Deep research, Document analysis, Multi-model support, and API connectivity for agents.

Score
87
โ˜… 18.0k โ‘‚ 2.1k โ€”
Python
NVIDIA
NVIDIA
Megatron-LM

Ongoing research training transformer models at scale

Score
89
โ˜… 17.0k โ‘‚ 4.2k +11/day
Python
BlinkDL
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.

Score
80
โ˜… 14.6k โ‘‚ 1.0k +10/day
Python
PaddlePaddle
PaddlePaddle
PaddleNLP

Easy-to-use and powerful LLM and SLM library with awesome model zoo.

Score
82
โ˜… 13.0k โ‘‚ 3.0k โ€”
Python
neuml
neuml
txtai

๐Ÿ’ก All-in-one AI framework for semantic search, LLM orchestration and language model workflows

Score
77
โ˜… 12.7k โ‘‚ 841 +12/day
Python
speechbrain
speechbrain
speechbrain

A PyTorch-based Speech Toolkit

Score
75
โ˜… 11.7k โ‘‚ 1.7k +9/day
Python
qubvel-org
qubvel-org
segmentation_models.pytorch

Semantic segmentation models with 500+ pretrained convolutional and transformer-based backbones.

Score
79
โ˜… 11.6k โ‘‚ 1.8k +10/day
Python
huggingface
huggingface
tokenizers

๐Ÿ’ฅ Fast State-of-the-Art Tokenizers optimized for Research and Production

Score
100
โ˜… 10.9k โ‘‚ 1.1k +9/day
Rust
openvinotoolkit
openvinotoolkit
openvino

OpenVINOโ„ข is an open source toolkit for optimizing and deploying AI inference

Score
99
โ˜… 10.5k โ‘‚ 3.3k +18/day
C++
niedev
niedev
RTranslator

Open source real-time translation app for Android that runs locally

Score
100
โ˜… 10.2k โ‘‚ 938 +30/day
C++
data-privacy-stack
data-privacy-stack
presidio

An open-source framework for detecting, redacting, masking, and anonymizing sensitive data (PII) across text, images, and structured data. Supports NLP, pattern matching, and customizable pipelines.

Score
74
โ˜… 9.9k โ‘‚ 1.2k +54/day
Python
OpenRLHF
OpenRLHF
OpenRLHF

An Easy-to-use, Scalable and High-performance Agentic RL Framework based on Ray (PPO & DAPO & REINFORCE++ & VLM & TIS & vLLM & Ray & Async RL)

Score
72
โ˜… 9.8k โ‘‚ 982 +65/day
Python
intel
intel
ipex-llm

Accelerate local LLM inference and finetuning (LLaMA, Mistral, ChatGLM, Qwen, DeepSeek, Mixtral, Gemma, Phi, MiniCPM, Qwen-VL, MiniCPM-V, etc.) on Intel XPU (e.g., local PC with iGPU and NPU, discrete GPU such as Arc, Flex and Max); seamlessly integrate with llama.cpp, Ollama, HuggingFace, LangChain, LlamaIndex, vLLM, DeepSpeed, Axolotl, etc.

Score
54
โ˜… 8.9k โ‘‚ 1.4k +2/day
Python
FoundationVision
FoundationVision
VAR

[NeurIPS 2024 Best Paper Award][GPT beats diffusion๐Ÿ”ฅ] [scaling laws in visual generation๐Ÿ“ˆ] Official impl. of "Visual Autoregressive Modeling: Scalable Image Generation via Next-Scale Prediction". An *ultra-simple, user-friendly yet state-of-the-art* codebase for autoregressive image generation!

Score
92
โ˜… 8.7k โ‘‚ 569 +1/day
Jupyter Notebook
NVlabs
NVlabs
Sana

SANA: Efficient High-Resolution Image Synthesis with Linear Diffusion Transformer

Score
69
โ˜… 8.5k โ‘‚ 676 +22/day
Python
EleutherAI
EleutherAI
gpt-neo

An implementation of model parallel GPT-2 and GPT-3-style models using the mesh-tensorflow library.

Score
43
โ˜… 8.3k โ‘‚ 959 โ€”
Python
FareedKhan-dev
FareedKhan-dev
train-llm-from-scratch

A straightforward method for training your LLM, from downloading data to generating text.

Score
70
โ˜… 8.2k โ‘‚ 1.1k +121/day
Python
jessevig
jessevig
bertviz

BertViz: Visualize Attention in Transformer Models

Score
51
โ˜… 8.1k โ‘‚ 884 +6/day
Python
lucidrains
lucidrains
PaLM-rlhf-pytorch

Implementation of RLHF (Reinforcement Learning with Human Feedback) on top of the PaLM architecture. Basically ChatGPT but with PaLM

Score
62
โ˜… 7.9k โ‘‚ 674 +2/day
Python
MaartenGr
MaartenGr
BERTopic

Leveraging BERT and c-TF-IDF to create easily interpretable topics.

Score
61
โ˜… 7.7k โ‘‚ 907 +8/day
Python
Blaizzy
Blaizzy
mlx-audio

A text-to-speech (TTS), speech-to-text (STT) and speech-to-speech (STS) library built on Apple's MLX framework, providing efficient speech analysis on Apple Silicon.

Score
66
โ˜… 7.5k โ‘‚ 661 +25/day
Python
EleutherAI
EleutherAI
gpt-neox

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

Score
67
โ˜… 7.4k โ‘‚ 1.1k +2/day
Python
vladmandic
vladmandic
sdnext

SD.Next: All-in-one WebUI for AI generative image and video creation, captioning and processing

Score
64
โ˜… 7.2k โ‘‚ 564 +3/day
Python
SkalskiP
SkalskiP
courses

This repository is a curated collection of links to various courses and resources about Artificial Intelligence (AI)

Score
36
โ˜… 6.5k โ‘‚ 596 +2/day
Python
argosopentech
argosopentech
argos-translate

Open-source offline translation library written in Python

Score
59
โ˜… 6.3k โ‘‚ 474 +30/day
Python
argmaxinc
argmaxinc
argmax-oss-swift

On-device Speech AI for Apple Silicon

Score
75
โ˜… 6.3k โ‘‚ 579 +14/day
Swift
OFA-Sys
OFA-Sys
Chinese-CLIP

Chinese version of CLIP which achieves Chinese cross-modal retrieval and representation generation.

Score
99
โ˜… 6.0k โ‘‚ 548 +7/day
Jupyter Notebook
lucidrains
lucidrains
x-transformers

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

Score
57
โ˜… 5.9k โ‘‚ 516 +2/day
Python
lucidrains
lucidrains
DALLE-pytorch

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

Score
34
โ˜… 5.6k โ‘‚ 643 +1/day
Python
huggingface
huggingface
alignment-handbook

Robust recipes to align language models with human and AI preferences

Score
52
โ˜… 5.6k โ‘‚ 492 +3/day
Python
Michael-A-Kuykendall
Michael-A-Kuykendall
shimmy

โšก Pure-Rust WebGPU inference engine โ€” OpenAI-API compatible, GGUF native, runs on any GPU. No Python. No llama.cpp. Single binary.

Score
50
โ˜… 5.6k โ‘‚ 541 +7/day
Rust
amazon-science
amazon-science
chronos-forecasting

Chronos: Pretrained Models for Time Series Forecasting

Score
56
โ˜… 5.6k โ‘‚ 666 +25/day
Python
imoneoi
imoneoi
openchat

OpenChat: Advancing Open-source Language Models with Imperfect Data

Score
33
โ˜… 5.5k โ‘‚ 432 +1/day
Python
superduper-io
superduper-io
superduper

Superduper: End-to-end framework for building custom AI applications and agents.

Score
39
โ˜… 5.3k โ‘‚ 542 +2/day
Python
AutoGPTQ
AutoGPTQ
AutoGPTQ

An easy-to-use LLMs quantization package with user-friendly apis, based on GPTQ algorithm.

Score
91
โ˜… 5.1k โ‘‚ 540 โ€”
Python
cmhungsteve
cmhungsteve
Awesome-Transformer-Attention

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

Score
90
โ˜… 5.0k โ‘‚ 497 +2/day
grobidOrg
grobidOrg
grobid

A machine learning software for extracting information from scholarly documents

Score
99
โ˜… 5.0k โ‘‚ 560 โ€”
Java
datawhalechina
datawhalechina
tiny-universe

ใ€Šๅคงๆจกๅž‹็™ฝ็›’ๅญๆž„ๅปบๆŒ‡ๅ—ใ€‹๏ผšไธ€ไธชๅ…จๆ‰‹ๆ“็š„Tiny-Universe

Score
93
โ˜… 4.9k โ‘‚ 471 +5/day
Jupyter Notebook
trigaten
trigaten
Learn_Prompting

Prompt Engineering, Generative AI, and LLM Guide by Learn Prompting | Join our discord for the largest Prompt Engineering learning community

Score
74
โ˜… 4.7k โ‘‚ 669 +2/day
MDX
cvg
cvg
LightGlue

LightGlue: Local Feature Matching at Light Speed (ICCV 2023)

Score
98
โ˜… 4.6k โ‘‚ 542 +14/day
Python
changyeyu
changyeyu
LLM-RL-Visualized

๐ŸŒŸ100+ ๅŽŸๅˆ› LLM / RL ๅŽŸ็†ๅ›พ๐Ÿ“š๏ผŒใ€Šๅคงๆจกๅž‹็ฎ—ๆณ•ใ€‹ไฝœ่€…ๅทจ็Œฎ๏ผ๐Ÿ’ฅ๏ผˆ100+ LLM/RL Algorithm Maps ๏ผ‰

Score
97
โ˜… 4.6k โ‘‚ 442 +19/day
Python
promptslab
promptslab
Promptify

Prompt Engineering | Prompt Versioning | Use GPT or other prompt based models to get structured output. Join our discord for Prompt-Engineering, LLMs and other latest research

Score
94
โ˜… 4.6k โ‘‚ 362 +1/day
Python
lucidrains
lucidrains
deep-daze

Simple command line tool for text to image generation using OpenAI's CLIP and Siren (Implicit neural representation network). Technique was originally created by https://twitter.com/advadnoun

Score
88
โ˜… 4.3k โ‘‚ 311 +1/day
Python
JohnSnowLabs
JohnSnowLabs
spark-nlp

State of the Art Natural Language Processing

Score
98
โ˜… 4.1k โ‘‚ 743 +1/day
Scala
SwanHubX
SwanHubX
SwanLab

โšก๏ธSwanLab - an open-source, modern-design AI training tracking and visualization tool. Supports Cloud / Self-hosted use. Integrated with PyTorch / Transformers / verl / LLaMA Factory / ms-swift / Ultralytics / MMEngine / Keras etc.

Score
49
โ˜… 4.1k โ‘‚ 210 +2/day
Python
huggingface
huggingface
course

The Hugging Face course on Transformers

Score
100
โ˜… 4.0k โ‘‚ 1.4k +11/day
MDX
google-research
google-research
scenic

Scenic: A Jax Library for Computer Vision Research and Beyond

Score
98
โ˜… 3.8k โ‘‚ 478 +4/day
Python
predibase
predibase
lorax

Multi-LoRA inference server that scales to 1000s of fine-tuned LLMs

Score
95
โ˜… 3.8k โ‘‚ 323 +2/day
Python
hiyouga
hiyouga
ChatGLM-Efficient-Tuning

Fine-tuning ChatGLM-6B with PEFT | ๅŸบไบŽ PEFT ็š„้ซ˜ๆ•ˆ ChatGLM ๅพฎ่ฐƒ

Score
72
โ˜… 3.7k โ‘‚ 462 +1/day
Python
christianversloot
christianversloot
machine-learning-articles

๐Ÿง ๐Ÿ’ฌ Articles I wrote about machine learning, archived from MachineCurve.com.

Score
88
โ˜… 3.7k โ‘‚ 762 +1/day
Related Topics
#deep-learning#pytorch#llm#machine-learning#nlp#large-language-models#python#ai#language-model#gpt#computer-vision#natural-language-processing

ยฉ 2026 GitRepoTrend ยท GitHub repositories by topic ยท Updated weekly