Train transformer language models with reinforcement learning.
β18,547Jun 5, 2026Updated this week
Alternatives and similar repositories for trl
Users that are interested in trl are comparing it to the libraries listed below. We may earn a commission when you buy through links labeled 'Ad' on this page.
Sorting:
- π€ PEFT: State-of-the-art Parameter-Efficient Fine-Tuning.β21,226Updated this week
- An Easy-to-use, Scalable and High-performance Agentic RL Framework based on Ray (PPO & DAPO & REINFORCE++ & VLM & TIS & vLLM & Ray & Asyβ¦β9,594May 28, 2026Updated last week
- A repo for distributed training of language models with Reinforcement Learning via Human Feedback (RLHF)β4,748Jan 8, 2024Updated 2 years ago
- verl/HybridFlow: A Flexible and Efficient RL Post-Training Frameworkβ21,699Updated this week
- A modular RL library to fine-tune language models to human preferencesβ2,387Mar 1, 2024Updated 2 years ago
- Managed Kubernetes at scale on DigitalOcean β’ AdDigitalOcean Kubernetes includes the control plane, bandwidth allowance, container registry, automatic updates, and more for free.
- A high-throughput and memory-efficient inference and serving engine for LLMsβ81,909Updated this week
- Fast and memory-efficient exact attentionβ24,037Updated this week
- Fully open reproduction of DeepSeek-R1β26,024Apr 2, 2026Updated 2 months ago
- Unified Efficient Fine-Tuning of 100+ LLMs & VLMs (ACL 2024)β71,697May 26, 2026Updated last week
- DeepSpeed is a deep learning optimization library that makes distributed training and inference easy, efficient, and effective.β42,412Updated this week
- Robust recipes to align language models with human and AI preferencesβ5,604May 26, 2026Updated last week
- Ongoing research training transformer models at scaleβ16,519Updated this week
- A framework for few-shot evaluation of language models.β12,783May 11, 2026Updated 3 weeks ago
- An open platform for training, serving, and evaluating large language models. Release repo for Vicuna and Chatbot Arena.β39,479May 1, 2026Updated last month
- Deploy on Railway without the complexity - Free Credits Offer β’ AdConnect your repo and Railway handles the rest with instant previews. Quickly provision container image services, databases, and storage volumes.
- Large Language Model Text Generation Inferenceβ10,857Mar 21, 2026Updated 2 months ago
- Reference implementation for DPO (Direct Preference Optimization)β2,891Aug 11, 2024Updated last year
- SGLang is a high-performance serving framework for large language models and multimodal models.β28,512Updated this week
- π A simple way to launch, train, and use PyTorch models on almost any device and distributed configuration, automatic mixed precision (iβ¦β9,711Updated this week
- Code and documentation to train Stanford's Alpaca models, and generate the data.β30,248Jul 17, 2024Updated last year
- [NeurIPS'23 Oral] Visual Instruction Tuning (LLaVA) built towards GPT-4V level capabilities and beyond.β24,848Aug 12, 2024Updated last year
- Example models using DeepSpeedβ6,819May 20, 2026Updated 2 weeks ago
- QLoRA: Efficient Finetuning of Quantized LLMsβ10,918Jun 10, 2024Updated last year
- Large-scale Self-supervised Pre-training Across Tasks, Languages, and Modalitiesβ22,139Jan 23, 2026Updated 4 months ago
- Deploy on Railway without the complexity - Free Credits Offer β’ AdConnect your repo and Railway handles the rest with instant previews. Quickly provision container image services, databases, and storage volumes.
- π€ Transformers: the model-definition framework for state-of-the-art machine learning models in text, vision, audio, and multimodal modelβ¦β161,309Updated this week
- Accessible large language models via k-bit quantization for PyTorch.β8,236May 27, 2026Updated last week
- Unsloth Studio is a web UI for training and running open models like Gemma 4, Qwen3.6, DeepSeek, gpt-oss locally.β65,620Updated this week
- Inference code for Llama modelsβ59,438Jan 26, 2025Updated last year
- A curated list of reinforcement learning with human feedback resources (continually updated)β4,371May 20, 2026Updated 2 weeks ago
- Instruct-tune LLaMA on consumer hardwareβ18,922Jul 29, 2024Updated last year
- Tools for merging pretrained large language models.β7,108May 6, 2026Updated last month
- Simple RL training for reasoningβ3,860Dec 23, 2025Updated 5 months ago
- Aligning pretrained language models with instruction data generated by themselves.β4,600Mar 27, 2023Updated 3 years ago
- 1-Click AI Models by DigitalOcean Gradient β’ AdDeploy popular AI models on DigitalOcean Gradient GPU virtual machines with just a single click. Zero configuration with optimized deployments.
- Code for the paper Fine-Tuning Language Models from Human Preferencesβ1,392Jul 25, 2023Updated 2 years ago
- Making large AI models cheaper, faster and more accessibleβ41,385May 25, 2026Updated last week
- Go ahead and axolotl questionsβ12,001Updated this week
- Welcome to the Llama Cookbook! This is your go to guide for Building with Llama: Getting started with Inference, Fine-Tuning, RAG. We alsβ¦β18,337May 19, 2026Updated 2 weeks ago
- Minimal reproduction of DeepSeek R1-Zeroβ13,120Feb 27, 2026Updated 3 months ago
- AllenAI's post-training codebaseβ3,740Updated this week
- Use PEFT or Full-parameter to CPT/SFT/DPO/GRPO 600+ LLMs (Qwen3.6, DeepSeek-V4, GLM-5.1, InternLM3, Llama4, ...) and 300+ MLLMs (Qwen3-VLβ¦β14,338Updated this week