huggingface / trl
Train transformer language models with reinforcement learning.
β10,086Updated this week
Related projects β
Alternatives and complementary repositories for trl
- QLoRA: Efficient Finetuning of Quantized LLMsβ10,059Updated 5 months ago
- π€ PEFT: State-of-the-art Parameter-Efficient Fine-Tuning.β16,471Updated this week
- A repo for distributed training of language models with Reinforcement Learning via Human Feedback (RLHF)β4,502Updated 10 months ago
- Accessible large language models via k-bit quantization for PyTorch.β6,299Updated this week
- Fast and memory-efficient exact attentionβ14,279Updated this week
- A framework for few-shot evaluation of language models.β6,990Updated this week
- π A simple way to launch, train, and use PyTorch models on almost any device and distributed configuration, automatic mixed precision (iβ¦β7,958Updated this week
- Implementation of the LLaMA language model based on nanoGPT. Supports flash attention, Int8 and GPTQ 4bit quantization, LoRA and LLaMA-Adβ¦β5,994Updated 2 months ago
- Code for loralib, an implementation of "LoRA: Low-Rank Adaptation of Large Language Models"β10,776Updated 3 months ago
- A high-throughput and memory-efficient inference and serving engine for LLMsβ30,423Updated this week
- Large Language Model Text Generation Inferenceβ9,122Updated this week
- Ongoing research training transformer models at scaleβ10,595Updated this week
- [ICLR 2024] Fine-tuning LLaMA to follow Instructions within 1 Hour and 1.2M Parametersβ5,760Updated 8 months ago
- Retrieval and Retrieval-augmented LLMsβ7,613Updated this week
- Aligning pretrained language models with instruction data generated by themselves.β4,164Updated last year
- A modular RL library to fine-tune language models to human preferencesβ2,213Updated 8 months ago
- General technology for enabling AI capabilities w/ LLMs and MLLMsβ3,699Updated last month
- Robust recipes to align language models with human and AI preferencesβ4,680Updated last month
- SGLang is a fast serving framework for large language models and vision language models.β6,127Updated this week
- An easy-to-use LLMs quantization package with user-friendly apis, based on GPTQ algorithm.β4,497Updated last month
- Scripts for fine-tuning Meta Llama with composable FSDP & PEFT methods to cover single/multi-node GPUs. Supports default & custom datasetβ¦β15,222Updated this week
- Tools for merging pretrained large language models.β4,816Updated 2 weeks ago
- The TinyLlama project is an open endeavor to pretrain a 1.1B Llama model on 3 trillion tokens.β7,919Updated 6 months ago
- PyTorch native finetuning libraryβ4,336Updated this week
- Instruction Tuning with GPT-4β4,210Updated last year
- tiktoken is a fast BPE tokeniser for use with OpenAI's models.β12,427Updated last month
- 20+ high-performance LLMs with recipes to pretrain, finetune and deploy at scale.β10,734Updated last week
- The RedPajama-Data repository contains code for preparing large datasets for training large language models.β4,571Updated last month
- Go ahead and axolotl questionsβ7,930Updated this week