Transformers Open Source Projects

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

Share your experience:✍️ Write a Post❓ Ask a Question
1-60 of 452 projects
162,755 stars

huggingface/transformers

🤗 Transformers: the model-definition framework for state-of-the-art machine learning models in text, vision, audio, and multimodal models, for both inference and training.

Metrics details
Stars162,755
113,279 stars

microsoft/generative-ai-for-beginners

21 Lessons, Get Started Building with Generative AI

Metrics details
Stars113,279
73,376 stars

hiyouga/LLaMA-Factory

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

Metrics details
Stars73,376
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,946 stars

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.

Metrics details
Stars25,946
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
22,750 stars

amusi/CVPR2023-Papers-with-Code

CVPR 2023 论文和开源项目合集

Metrics details
Stars22,750
21,419 stars

huggingface/peft

🤗 PEFT: State-of-the-art Parameter-Efficient Fine-Tuning.

Metrics details
Stars21,419
18,432 stars

stas00/ml-engineering

Machine Learning Engineering Open Book

Metrics details
Stars18,432
16,182 stars

xenova/transformers.js

State-of-the-art Machine Learning for the web. Run 🤗 Transformers directly in your browser, with no need for a server!

Metrics details
Stars16,182
14,827 stars

llmware-ai/llmware

Unified framework for building enterprise RAG pipelines with small, specialized models

Metrics details
Stars14,827
14,629 stars

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.

Metrics details
Stars14,629
12,956 stars

PaddlePaddle/PaddleNLP

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

Metrics details
Stars12,956
12,738 stars

neuml/txtai

💡 All-in-one AI framework for semantic search, LLM orchestration and language model workflows

Metrics details
Stars12,738
11,695 stars

speechbrain/speechbrain

A PyTorch-based Speech Toolkit

Metrics details
Stars11,695
11,674 stars

NielsRogge/Transformers-Tutorials

This repository contains demos I made with the Transformers library by HuggingFace.

Metrics details
Stars11,674
10,897 stars

huggingface/tokenizers

💥 Fast State-of-the-Art Tokenizers optimized for Research and Production

Metrics details
Stars10,897
10,544 stars

openvinotoolkit/openvino

OpenVINO™ is an open source toolkit for optimizing and deploying AI inference

Metrics details
Stars10,544
9,788 stars

OpenLLMAI/OpenRLHF

A Ray-based High-performance RLHF framework (Support 70B+ full tuning & LoRA & Mixtral)

Metrics details
Stars9,788
9,729 stars

microsoft/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.

Metrics details
Stars9,729
8,864 stars

intel-analytics/BigDL

Accelerate LLM with low-bit (FP4 / INT4 / FP8 / INT8) optimizations using bigdl-llm

Metrics details
Stars8,864
8,272 stars

EleutherAI/gpt-neo

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

Metrics details
Stars8,272
8,124 stars

jessevig/bertviz

BertViz: Visualize Attention in Transformer Models

Metrics details
Stars8,124
7,865 stars

lucidrains/PaLM-rlhf-pytorch

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

Metrics details
Stars7,865
7,746 stars

MaartenGr/BERTopic

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

Metrics details
Stars7,746
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,468 stars

SkalskiP/courses

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

Metrics details
Stars6,468
6,293 stars

argosopentech/argos-translate

Open-source offline translation library written in Python

Metrics details
Stars6,293
5,977 stars

OFA-Sys/Chinese-CLIP

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

Metrics details
Stars5,977
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,638 stars

huggingface/alignment-handbook

Robust recipes to align language models with human and AI preferences

Metrics details
Stars5,638
5,629 stars

lucidrains/DALLE-pytorch

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

Metrics details
Stars5,629
5,485 stars

imoneoi/openchat

OpenChat: Advancing Open-source Language Models with Imperfect Data

Metrics details
Stars5,485
5,304 stars

SuperDuperDB/superduperdb

🔮 SuperDuperDB: Bring AI to your database! Build, deploy and manage any AI application directly with your existing data infrastructure, without moving your data. Including streaming inference, scalable model training and vector search.

Metrics details
Stars5,304
5,072 stars

AutoGPTQ/AutoGPTQ

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

Metrics details
Stars5,072
5,049 stars

cmhungsteve/Awesome-Transformer-Attention

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

Metrics details
Stars5,049
5,017 stars

marqo-ai/marqo

Ecommerce Search and Discovery - marqo.ai

Metrics details
Stars5,017
5,003 stars

kermitt2/grobid

A machine learning software for extracting information from scholarly documents

Metrics details
Stars5,003
4,714 stars

trigaten/Learn_Prompting

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

Metrics details
Stars4,714
4,663 stars

cvg/LightGlue

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

Metrics details
Stars4,663
4,622 stars

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

Metrics details
Stars4,622
4,610 stars

bentrevett/pytorch-sentiment-analysis

Tutorials on getting started with PyTorch and TorchText for sentiment analysis.

Metrics details
Stars4,610
4,320 stars

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

Metrics details
Stars4,320
4,270 stars

CLUEbenchmark/CLUE

中文语言理解测评基准 Chinese Language Understanding Evaluation Benchmark: datasets, baselines, pre-trained models, corpus and leaderboard

Metrics details
Stars4,270
4,253 stars

ThilinaRajapakse/simpletransformers

Transformers for Information Retrieval, Text Classification, NER, QA, Language Modelling, Language Generation, T5, Multi-Modal, and Conversational AI

Metrics details
Stars4,253
4,144 stars

JohnSnowLabs/spark-nlp

State of the Art Natural Language Processing

Metrics details
Stars4,144
4,123 stars

IDEA-CCNL/Fengshenbang-LM

Fengshenbang-LM(封神榜大模型)是IDEA研究院认知计算与自然语言研究中心主导的大模型开源体系,成为中文AIGC和认知智能的基础设施。

Metrics details
Stars4,123
4,077 stars

huggingface/course

The Hugging Face course on Transformers

Metrics details
Stars4,077
4,071 stars

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.

Metrics details
Stars4,071
4,029 stars

zyds/transformers-code

手把手带你实战 Huggingface Transformers 课程视频同步更新在B站与YouTube

Metrics details
Stars4,029
3,830 stars

yuanzhoulvpi2017/zero_nlp

中文nlp解决方案(大模型、数据、模型、训练、推理)

Metrics details
Stars3,830
3,819 stars

google-research/scenic

Scenic: A Jax Library for Computer Vision Research and Beyond

Metrics details
Stars3,819
3,816 stars

predibase/lorax

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

Metrics details
Stars3,816
3,792 stars

0hq/WebGPT

Run GPT model on the browser with WebGPU. An implementation of GPT inference in less than ~1500 lines of vanilla Javascript.

Metrics details
Stars3,792
3,719 stars

hiyouga/ChatGLM-Efficient-Tuning

Fine-tuning ChatGLM-6B with PEFT | 基于 PEFT 的高效 ChatGLM 微调

Metrics details
Stars3,719
3,690 stars

christianversloot/machine-learning-articles

🧠💬 Articles I wrote about machine learning, archived from MachineCurve.com.

Metrics details
Stars3,690
3,528 stars

iryna-kondr/scikit-llm

Seamlessly integrate LLMs into scikit-learn.

Metrics details
Stars3,528
3,447 stars

huggingface/optimum

🚀 Accelerate inference and training of 🤗 Transformers, Diffusers, TIMM and Sentence Transformers with easy to use hardware optimization tools

Metrics details
Stars3,447
3,420 stars

iusztinpaul/hands-on-llms

🦖 𝗟𝗲𝗮𝗿𝗻 about 𝗟𝗟𝗠𝘀, 𝗟𝗟𝗠𝗢𝗽𝘀, and 𝘃𝗲𝗰𝘁𝗼𝗿 𝗗𝗕𝘀 for free by designing, training, and deploying a real-time financial advisor LLM system ~ 𝘴𝘰𝘶𝘳𝘤𝘦 𝘤𝘰𝘥𝘦 + 𝘷𝘪𝘥𝘦𝘰 & 𝘳𝘦𝘢𝘥𝘪𝘯𝘨 𝘮𝘢𝘵𝘦𝘳𝘪𝘢𝘭𝘴

Metrics details
Stars3,420
3,337 stars

xenova/whisper-web

ML-powered speech recognition directly in your browser

Metrics details
Stars3,337
1-60 of 452 projects
Get A Weekly Email With Trending Transformers Projects
Stay updated on Transformers plus related topics you pick below.

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