trl

Transformer model trainer

A library designed to train transformer language models with reinforcement learning using various optimization techniques and fine-tuning methods.

Train transformer language models with reinforcement learning.

GitHub

10k stars
77 watching
1k forks
Language: Python
last commit: almost 2 years ago
Linked from 1 awesome list


Backlinks from these awesome lists:

Related projects:

RepositoryDescriptionStars
carperai/trlxA framework for distributed reinforcement learning of large language models with human feedback4,537
huggingface/transformersA collection of pre-trained machine learning models for various natural language and computer vision tasks, enabling developers to fine-tune and deploy these models on their own projects.136,357
google-deepmind/trflProvides building blocks for Reinforcement Learning agents using TensorFlow3,136
huggingface/deep-rl-classA course repository containing teaching materials and resources for learning deep reinforcement learning3,931
thu-ml/tianshouA high-performance reinforcement learning library with modular interfaces and user-friendly APIs for building deep learning agents.8,069
tristandeleu/pytorch-maml-rlReplication of Model-Agnostic Meta-Learning for Fast Adaptation of Deep Networks in PyTorch for reinforcement learning tasks830
huggingface/peftAn efficient method for fine-tuning large pre-trained models by adapting only a small fraction of their parameters16,699
huggingface/transformers.jsAn open-source JavaScript library for running machine learning models in the browser without a server.12,363
tju-drl-lab/ai-optimizerA next-generation deep reinforcement learning toolkit with libraries for multiagent, self-supervised, offline, and transfer/reinforcement learning4,848
google-research/vision_transformerProvides pre-trained models and code for training vision transformers and mixers using JAX/Flax10,620
p-christ/deep-reinforcement-learning-algorithms-with-pytorchPyTorch implementations of popular deep reinforcement learning algorithms and environments.5,669
google/traxAn end-to-end deep learning library with clear code and speed8,114
huggingface/lerobotA platform providing pre-trained models, datasets, and tools for robotics with focus on imitation learning and reinforcement learning.7,874
huggingface/alignment-handbookProvides recipes and guidelines for training language models to align with human preferences and AI goals4,800
kimiyoung/transformer-xlImplementations of a neural network architecture for language modeling3,619