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

Chat fomating template changes #784

Merged
merged 2 commits into from
Dec 8, 2023
Merged

Conversation

rajammanabrolu
Copy link
Contributor

Changes to the jinja template for chat formatting to use the add_generation_prompt arg which is useful for formatting prompts at inference (ends with assistant\n) and other changes around using defined system prompts vs default ones. Wrote tests for all.

Copy link
Collaborator

@dakinggg dakinggg left a comment

Choose a reason for hiding this comment

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

LGTM, leaving approval for @samhavens .

@rajammanabrolu rajammanabrolu enabled auto-merge (squash) December 8, 2023 00:56
@rajammanabrolu rajammanabrolu merged commit ef60e8e into main Dec 8, 2023
10 checks passed
@rajammanabrolu rajammanabrolu deleted the raj/tiktoken-chat-formatting branch December 10, 2023 05:04
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

3 participants