awesome-repositories.com
Blog
MCP
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectMCP serverAboutHow we rankPress
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
carperai avatar

carperai/trlx

0
View on GitHub↗
4,749 stars·484 forks·Python·MIT·22 views

Trlx

trlx is a reinforcement learning library and training framework designed to align large language models using human feedback. It serves as a distributed trainer and compute orchestrator for scaling high-parameter models across multiple GPUs and nodes.

The project provides tools for reinforcement learning from human feedback and model alignment. It implements reward-model-based optimization and proximal policy optimization to refine model behavior based on goal-oriented rewards or human-labeled datasets.

The framework covers distributed training strategies, including model parallelism, parameter sharding, and multi-node gradient synchronization. It also incorporates constraints like KL-divergence to manage model drift during the reinforcement learning process.

Features

  • RLHF Alignment Algorithms - Implements RLHF alignment algorithms like PPO to align model outputs with human preferences.
  • Reward Modeling - Provides reward modeling capabilities to evaluate and score text generation for preference alignment.
  • Reinforcement Learning Fine-Tuning - Fine-tunes language models using reward signals from human feedback and RL alignment algorithms.
  • Language Model Trainers - Serves as a specialized trainer for updating the parameters of large language models across distributed nodes.
  • Distributed Training - Scales the training of high-parameter language models across multiple compute nodes to manage memory and time.
  • Reinforcement Learning Optimizers - Optimizes language model behavior and performance using reward functions and RL algorithms.
  • Transformer Reinforcement Learning Libraries - Provides a library of tools for fine-tuning and aligning transformer models using reinforcement learning.
  • RLHF Training Pipelines - Offers end-to-end training pipelines that integrate reward modeling with PPO-based policy optimization.
  • Proximal Policy Optimization Alignment - Implements Proximal Policy Optimization with a clipped objective function to ensure stable reinforcement learning updates.
  • Distributed Model Parallelism - Employs distributed model parallelism to partition computational workloads across multiple GPUs for massive models.
  • Distributed Gradient Synchronization - Coordinates gradient updates across a cluster of machines using collective communication patterns to maintain consistency.
  • Data Parallelism - Implements data parallelism to split training batches across multiple GPU nodes for faster model convergence.
  • Distributed Device Orchestration - Orchestrates computational loads and memory across multiple hardware devices during large-scale model refinement.
  • Distributed Parameter Sharding - Partitions large model tensors across multiple compute nodes to fit high-parameter architectures in memory.
  • KL-Divergence Penalties - Uses KL-divergence penalties to prevent the RL-tuned policy from drifting too far from the reference model.
  • Open Source Models - Facilitates distributed training with human feedback.
  • Reinforcement Learning Tools - Framework for fine-tuning models with reinforcement learning.
  • RLHF Frameworks - Distributed training framework for fine-tuning models with PPO and ILQL.

Star history

Star history chart for carperai/trlxStar history chart for carperai/trlx

How this analysis was created: This summary and feature list are AI-generated from collected project material and can contain mistakes. Stars, license and language are imported from GitHub. Inclusion does not mean that we have tested or audited this project. Check the source documentation for any feature you depend on. Learn more on our About page.

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Start searching with AI

Frequently asked questions

What does carperai/trlx do?

trlx is a reinforcement learning library and training framework designed to align large language models using human feedback. It serves as a distributed trainer and compute orchestrator for scaling high-parameter models across multiple GPUs and nodes.

What are the main features of carperai/trlx?

The main features of carperai/trlx are: RLHF Alignment Algorithms, Reward Modeling, Reinforcement Learning Fine-Tuning, Language Model Trainers, Distributed Training, Reinforcement Learning Optimizers, Transformer Reinforcement Learning Libraries, RLHF Training Pipelines.

Which projects share features with carperai/trlx?

Projects with overlapping indexed features include: lvwerra/trl — This project is a transformer post-training toolkit and reinforcement learning library designed to align language… infrasys-ai/aiinfra. internlm/xtuner — xtuner is a comprehensive training engine for large language models, offering a toolkit for pre-training, supervised… inclusionai/areal — AReaL is a system for agent orchestration, distributed model training, and parameter-efficient tuning. It provides a… hiyouga/easyr1 — EasyR1 is a distributed model training system and reinforcement learning framework for large language and… openrlhf/openrlhf — OpenRLHF is a training framework and alignment library designed for reinforcement learning from human feedback across…

Projects sharing features with Trlx

These projects share indexed features with Trlx. Shared tags can include platform or build tooling; verify the primary use case before treating a result as a replacement.
  • lvwerra/trllvwerra avatar

    lvwerra/trl

    18,718View on GitHub↗

    This project is a transformer post-training toolkit and reinforcement learning library designed to align language model behavior with human preferences. It provides a framework for managing the transition from supervised fine-tuning to reinforcement learning and preference optimization. The library distinguishes itself through a specialized focus on preference optimization and reward modeling, enabling the adjustment of model outputs based on preferred versus rejected examples. It also includes capabilities for training agents within controlled sandbox environments using task suites and verif

    Python
    View on GitHub↗18,718
  • infrasys-ai/aiinfraInfrasys-AI avatar

    Infrasys-AI/AIInfra

    7,414View on GitHub↗
    Jupyter Notebookaiinfraaisystem
    View on GitHub↗7,414
  • internlm/xtunerInternLM avatar

    InternLM/xtuner

    5,150View on GitHub↗

    xtuner is a comprehensive training engine for large language models, offering a toolkit for pre-training, supervised fine-tuning, and the optimization of vision-language multimodal models. It serves as a distributed training accelerator and a specialized framework for scaling Mixture-of-Experts models and aligning model behavior through reinforcement learning from human feedback. The project distinguishes itself through advanced memory and compute optimizations, such as sequence parallelism for ultra-long context windows and interleaved pipeline parallelism to reduce GPU idle time. It provide

    Pythonagentdeepseek-v3gpt-oss
    View on GitHub↗5,150
  • inclusionai/arealinclusionAI avatar

    inclusionAI/AReaL

    3,559View on GitHub↗

    AReaL is a system for agent orchestration, distributed model training, and parameter-efficient tuning. It provides a framework for developing multi-turn reasoning agents and training large models using reinforcement learning from human feedback. The project implements a toolkit for improving the visual reasoning and geometry problem solving capabilities of vision-language models. It utilizes a memory-efficient tuning system to optimize mathematical and reasoning models across different inference backends. The infrastructure supports large-scale training through tensor, pipeline, and expert p

    Pythonagentllmllm-agent
    View on GitHub↗3,559
Compare all 30 related projects→