huggingface / trl
Train transformer language models with reinforcement learning.
β11,688Updated this week
Alternatives and similar repositories for trl:
Users that are interested in trl are comparing it to the libraries listed below
- π€ PEFT: State-of-the-art Parameter-Efficient Fine-Tuning.β17,319Updated this week
- Fast and memory-efficient exact attentionβ15,503Updated this week
- Accessible large language models via k-bit quantization for PyTorch.β6,658Updated this week
- A repo for distributed training of language models with Reinforcement Learning via Human Feedback (RLHF)β4,585Updated last year
- π A simple way to launch, train, and use PyTorch models on almost any device and distributed configuration, automatic mixed precision (iβ¦β8,325Updated this week
- QLoRA: Efficient Finetuning of Quantized LLMsβ10,242Updated 8 months ago
- A framework for few-shot evaluation of language models.β7,825Updated this week
- Code for loralib, an implementation of "LoRA: Low-Rank Adaptation of Large Language Models"β11,290Updated 2 months ago
- Ongoing research training transformer models at scaleβ11,377Updated this week
- Robust recipes to align language models with human and AI preferencesβ4,994Updated 2 months ago
- Large Language Model Text Generation Inferenceβ9,756Updated this week
- Tools for merging pretrained large language models.β5,249Updated last week
- Go ahead and axolotl questionsβ8,620Updated this week
- A modular RL library to fine-tune language models to human preferencesβ2,274Updated 11 months ago
- The TinyLlama project is an open endeavor to pretrain a 1.1B Llama model on 3 trillion tokens.β8,201Updated 9 months ago
- An Easy-to-use, Scalable and High-performance RLHF Framework (70B+ PPO Full Tuning & Iterative DPO & LoRA & RingAttention & RFT)β4,729Updated this week
- A high-throughput and memory-efficient inference and serving engine for LLMsβ38,093Updated this week
- Reference implementation for DPO (Direct Preference Optimization)β2,372Updated 6 months ago
- SGLang is a fast serving framework for large language models and vision language models.β9,679Updated 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β¦β16,206Updated this week
- [ICLR 2024] Fine-tuning LLaMA to follow Instructions within 1 Hour and 1.2M Parametersβ5,807Updated 11 months ago
- Implementation of the LLaMA language model based on nanoGPT. Supports flash attention, Int8 and GPTQ 4bit quantization, LoRA and LLaMA-Adβ¦β6,034Updated 5 months ago
- 20+ high-performance LLMs with recipes to pretrain, finetune and deploy at scale.β11,568Updated 2 weeks ago
- General technology for enabling AI capabilities w/ LLMs and MLLMsβ3,844Updated last month
- [NeurIPS'23 Oral] Visual Instruction Tuning (LLaVA) built towards GPT-4V level capabilities and beyond.β21,444Updated 6 months ago
- [ICLR 2024] Efficient Streaming Language Models with Attention Sinksβ6,792Updated 7 months ago
- Simple and efficient pytorch-native transformer text generation in <1000 LOC of python.β5,784Updated 2 months ago
- An easy-to-use LLMs quantization package with user-friendly apis, based on GPTQ algorithm.β4,697Updated 3 weeks ago
- Retrieval and Retrieval-augmented LLMsβ8,518Updated this week
- OpenLLaMA, a permissively licensed open source reproduction of Meta AIβs LLaMA 7B trained on the RedPajama datasetβ7,440Updated last year