trlx
A repo for distributed training of language models with Reinforcement Learning via Human Feedback (RLHF) (by CarperAI)
PaLM-rlhf-pytorch
Implementation of RLHF (Reinforcement Learning with Human Feedback) on top of the PaLM architecture. Basically ChatGPT but with PaLM (by lucidrains)
trlx | PaLM-rlhf-pytorch | |
---|---|---|
6 | 25 | |
4,332 | 7,598 | |
1.2% | - | |
7.9 | 4.6 | |
4 months ago | 4 months ago | |
Python | Python | |
MIT License | 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.
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.
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 2024-05-02.
-
Recapping the AI, Machine Learning and Data Science Meetup — May 2, 2024
Transformer Reinforcement Learning X on GitHub
-
Why did Stability not copy Midjourney's RLHF process? And what's the future of Stable Diffusion?
We drove and released the top RLHF framework TRLX for example from our Carper AI lab used by some of the biggest companies in the world: https://github.com/CarperAI/trlx
-
[R] Stanford-Alpaca 7B model (an instruction tuned version of LLaMA) performs as well as text-davinci-003
If you checkout the trlx repo they have some examples and they have an example of how they trained sft and ppo on the hh dataset. So it’s basically that but with llama. https://github.com/CarperAI/trlx/blob/main/examples/hh/sft_hh.py
-
Sam Altman: OpenAI’s GPT-4 will launch only when they can do it safely & responsibly. “In general we are going to release technology much more slowly than people would like. We're going to sit on it for much longer…”. Also confirmed video model in the works.
We’ll release our first trained model with Stability AI soon. If you want to start tinkering with RLHF now, we’re also helping develop TRLX: https://github.com/CarperAI/trlx — the open source library for reinforcement learning with transformers.
-
[P] RLHF Learning to Summarize: Implementation by CarperAI with trlX
trlX library here: https://github.com/CarperAI/trlx
- Will we ever see an open source alternative to ChatGPT?
PaLM-rlhf-pytorch
Posts with mentions or reviews of PaLM-rlhf-pytorch.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-05-18.
-
How should I get an in-depth mathematical understanding of generative AI?
ChatGPT isn't open sourced so we don't know what the actual implementation is. I think you can read Open Assistant's source code for application design. If that is too much, try Open Chat Toolkit's source code for developer tools . If you need very bare implementation, you should go for lucidrains/PaLM-rlhf-pytorch.
-
[P] Open-source PaLM models trained at 8k context length
AFAIK, it is not. They are using the open-source re-implementation of Phil Wang (aka lucidrains), which is available here: https://github.com/lucidrains/PaLM-rlhf-pytorch
-
Should AI language models be free software?
Not sure what do you mean by putting source code in double quote, but I don't think the source code is petabytes of text. GPT-2 implementation is few hundred lines of Python (in HuggingFace). PaLM + RLHF - Pytorch (Basically ChatGPT but with PaLM) is less than 1000 lines.
- Would a decentralized open-source platform of ChatGPT work?
- Exciting new shit.
-
Top 10 Best Open Source GitHub repos for Developers 2023
GitHub Link: https://github.com/lucidrains/PaLM-rlhf-pytorch
-
Gather up great coders and make a better Character.Ai
Well... Not necessarily. Actually, if you want to be extra thrifty, you could even go without an ML expert. Just use an open-source one, like LaMDA or PaLM. After that, use chatGPT to build you a basic front end (which would still be better than CAI lol).
-
Open-Source competitor to OpenAI?
and PaLM with RLHF from Phil Wang (open model, needs to be trained): https://github.com/lucidrains/PaLM-rlhf-pytorch
-
Microsoft in talks to acquire a 49% stake in ChatGPT owner OpenAI
Closest you can get is probably with Google T5-Flan [1].
It is not the size of the model or the text it was trained on that makes ChatGPT so performant. It is the additional human assisted training to make it respond well to instructions. Open source versions of that are just starting to see the light of day [2].
[1] https://huggingface.co/google/flan-t5-xxl
[2] https://github.com/lucidrains/PaLM-rlhf-pytorch
- Will we have a free version of ChatGPT (GPT-3) similar to Stable Diffusion?
What are some alternatives?
When comparing trlx and PaLM-rlhf-pytorch you can also consider the following projects:
alpaca-lora - Instruct-tune LLaMA on consumer hardware
nanoGPT - The simplest, fastest repository for training/finetuning medium-sized GPTs.