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

Standardize system prompt format for AlpacaPrompter (instruct case) #1190

Merged
merged 1 commit into from
Jan 24, 2024

Conversation

sadaisystems
Copy link
Contributor

Description

I changed system prompt format for prompt template of Alpaca Prompter: removed ###System\n before system message, so it aligns with commonly used Alpaca template.

Motivation and Context

After a short discussion of some problems related to Alpaca template, we found out, that in axolotl implementation system prompt starts with ### System, which is however not a standard way to to this. Link to discussion message - link

Link to an example of commonly used alpaca prompt template in alpaca-lora repo - link

This change might save a lot of time for beginners that are not aware of this unconventional prompt change that was implemented in axolotl.

How has this been tested?

This change shoud not influence framework functionality, it just adjusts prompt template.

Copy link
Collaborator

@winglian winglian left a comment

Choose a reason for hiding this comment

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

thanks!

@winglian winglian merged commit af02430 into axolotl-ai-cloud:main Jan 24, 2024
7 checks passed
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.

None yet

2 participants