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

Add Stable Vicuna Training #487

Draft
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

PhungVanDuy
Copy link
Collaborator

No description provided.

@PhungVanDuy PhungVanDuy marked this pull request as draft May 24, 2023 14:41

def reward_fn(samples, prompts, original_output, **kwargs):
samples = [s[s.find("<|prompter|>") :] for s in samples]
prompts = [p[p.find("<|prompter|>") :] for p in prompts]
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why this has to be done here? Is it to strip <|system|> from some of the prompts?

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

Successfully merging this pull request may close these issues.

2 participants