huggingface/trl
Train transformer language models with reinforcement learning.
- Stars
- 20k
- Forks
- 3.1k
- Open issues
- 151
- Last push
- today
About trl
trl is a free, open-source machine learning tool by huggingface, written mainly in Python. Train transformer language models with reinforcement learning. It has 20k GitHub stars and 3.1k forks, and was last updated today. It's released under the Apache-2.0 license, a standard open-source license.
- License
- Apache-2.0
- Language
- Python
- Stars
- 19,570
- Last update
- today
- Runs on Mac
- Not stated
- GPU
- Not stated
- Paid API key
- Not required
- Self-hostable
- Yes
Similar free tools
align-anything4.7k stars · Align Anything: Training All-modality Model with Feedback
pytorch-image-models37k stars · The largest collection of PyTorch image encoders / backbones. Including train, eval, inference, export scripts, and pretrained weights -- ResNet, ResNeXT, EfficientNet, NFNet, Vision Transformer (ViT)
DoRA1.0k stars · [ICML2024 (Oral)] Official PyTorch implementation of DoRA: Weight-Decomposed Low-Rank Adaptation
HRM-Text2.2k stars · HRM-Text is a 1B text generation model based on the HRM architecture, strengthened by task completion and latent space reasoning.
CLUE4.3k stars · 中文语言理解测评基准 Chinese Language Understanding Evaluation Benchmark: datasets, baselines, pre-trained models, corpus and leaderboard
happy-transformer545 stars · Happy Transformer makes it easy to fine-tune and perform inference with NLP Transformer models.
trl FAQ
Is trl free?
Yes. trl is open source and free to use. It's released under the Apache-2.0 license, a standard open-source license.
Does trl run on a Mac?
Its README doesn't say. Check the installation guide on GitHub before you start.
Does trl need a GPU?
Its README doesn't state hardware needs. AI models generally run much faster with a GPU.
Is trl still maintained?
Yes. It was last updated today and has 151 open issues on GitHub.
What are alternatives to trl?
Similar free, open-source tools include align-anything, pytorch-image-models, DoRA, HRM-Text.