Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reproduce Constitutional AI Steps #2

Open
7 tasks
Mistobaan opened this issue Apr 13, 2023 · 0 comments
Open
7 tasks

Reproduce Constitutional AI Steps #2

Mistobaan opened this issue Apr 13, 2023 · 0 comments

Comments

@Mistobaan
Copy link

Overview

This issue captures some of the key steps required to reproduce the Constitutional AI paper steps to fine tune a RLHF model with feedback generated by a RLAIF model.

Phase One

image

  • Gather a dataset of harmful prompts
  • Create a base script to compose prompts using a base constitution
  • Generate a new dataset of prompts + responses using Carper's GPT-J RLHF to review / critique the output
  • Fine-tune the original model on revised responses using supervised learning

Phase Two

image

  • Sample the fine tuned model using the dataset of harmful prompts to create a new dataset with multiple outputs
  • Train a "reward model' (i.e. https://github.com/Dahoas/reward-modeling) to select the best result (fine tuned preference model)
  • Use RLAIF training to fine tune the RLHF model
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant