-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
4 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6208751
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
May I know the meaning of this change?
Right now I'm working with Alpaca models and it seems that "### Instruction:" and "### Response:" are the correct prompt words. I don't know if Assistant and Human would work as the same.
6208751
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@v2rockets this update just ensured that the prompt for the chat model would be "cacheable", currently the model only supports continuing from the end of the last context window, which meant the alpaca instruction syntax would cause a cache miss every time with the old prompt. This syntax follows the Vicuna model prompts which I would recommend at the moment for testing out chat mode as they are trained for this rather than one-off instruction responses.
However, this is a temporary change and once #17 is complete you'll be able to set a custom prompts on a per model basis.