PaLM-rlhf-pytorch
trlx
PaLM-rlhf-pytorch | trlx | |
---|---|---|
25 | 6 | |
7,593 | 4,324 | |
- | 1.1% | |
4.6 | 7.9 | |
4 months ago | 4 months ago | |
Python | Python | |
MIT License | MIT License |
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.
PaLM-rlhf-pytorch
-
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?
trlx
-
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?
What are some alternatives?
nanoGPT - The simplest, fastest repository for training/finetuning medium-sized GPTs.
alpaca-lora - Instruct-tune LLaMA on consumer hardware
GLM-130B - GLM-130B: An Open Bilingual Pre-Trained Model (ICLR 2023)
trl - Train transformer language models with reinforcement learning.
text-generation-webui - A Gradio web UI for Large Language Models. Supports transformers, GPTQ, AWQ, EXL2, llama.cpp (GGUF), Llama models.
RL4LMs - A modular RL library to fine-tune language models to human preferences
ggml - Tensor library for machine learning
Open-Assistant - OpenAssistant is a chat-based assistant that understands tasks, can interact with third-party systems, and retrieve information dynamically to do so.
summarize-from-feedback - Code for "Learning to summarize from human feedback"
Rath - Next generation of automated data exploratory analysis and visualization platform.
gigagan-pytorch - Implementation of GigaGAN, new SOTA GAN out of Adobe. Culmination of nearly a decade of research into GANs