trl VS trlx

Compare trl vs trlx and see what are their differences.

trl

Train transformer language models with reinforcement learning. (by huggingface)

trlx

A repo for distributed training of language models with Reinforcement Learning via Human Feedback (RLHF) (by CarperAI)
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
trl trlx
13 5
8,120 4,324
4.3% 1.1%
9.7 7.9
4 days ago 4 months ago
Python Python
Apache License 2.0 MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

trl

Posts with mentions or reviews of trl. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-01-29.

trlx

Posts with mentions or reviews of trlx. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-04-09.

What are some alternatives?

When comparing trl and trlx you can also consider the following projects:

lm-human-preferences - Code for the paper Fine-Tuning Language Models from Human Preferences

alpaca-lora - Instruct-tune LLaMA on consumer hardware

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

LLaMA-8bit-LoRA - Repository for Chat LLaMA - training a LoRA for the LLaMA (1 or 2) models on HuggingFace with 8-bit or 4-bit quantization. Research only.

RL4LMs - A modular RL library to fine-tune language models to human preferences

sparsegpt-for-LLaMA - Code for the paper "SparseGPT: Massive Language Models Can Be Accurately Pruned in One-Shot" with LLaMA implementation.

text-generation-webui - A Gradio web UI for Large Language Models. Supports transformers, GPTQ, AWQ, EXL2, llama.cpp (GGUF), Llama models.

llama-recipes - Scripts for fine-tuning Meta Llama3 with composable FSDP & PEFT methods to cover single/multi-node GPUs. Supports default & custom datasets for applications such as summarization and Q&A. Supporting a number of candid inference solutions such as HF TGI, VLLM for local or cloud deployment. Demo apps to showcase Meta Llama3 for WhatsApp & Messenger.

summarize-from-feedback - Code for "Learning to summarize from human feedback"

Deep_Object_Pose - Deep Object Pose Estimation (DOPE) – ROS inference (CoRL 2018)

gigagan-pytorch - Implementation of GigaGAN, new SOTA GAN out of Adobe. Culmination of nearly a decade of research into GANs