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 output to finetuning prompt #20

Closed
wants to merge 1 commit into from

Conversation

lewtun
Copy link

@lewtun lewtun commented Mar 14, 2023

This PR adds the output to the fine-tuning prompt, which is presumably needed to train the model.

A question I have is: did you include the Below is an instruction that describes a task. Write a response that appropriately completes the request. in every example or is that just for inference? Naively I would have guessed including it in training would make the model memorize this prompt, but perhaps that's actually useful in the end :)

@lxuechen
Copy link
Collaborator

Hi, thanks for your interest. The prompt part only specifies how to format the instruction and input. You're right, we concat the output with the instruction+input.

We included the boilerplate for every example during training and inference.

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