Skip to content

Improve the current chat template system #38

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

Merged
merged 5 commits into from
Feb 22, 2024
Merged

Conversation

clefourrier
Copy link
Member

  • adds system prompt
  • formats the choices too with assistant template

@clefourrier
Copy link
Member Author

@lewtun I'd love your insight on how we implemented it if possible.
There was already the multi turn aspect when doing few shot, now I've added the system prompt + chat template on the multiple choices :)

tokenizer=tokenizer,
example=example,
instruction=instruction,
fewshot_ex=fewshot_ex,
Copy link
Member

Choose a reason for hiding this comment

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

Does this wrap the examples in user/assistant turns? I think that was the main thing Eleuther was struggling to agree on vs just putting all the examples in a single user turn

Copy link
Member Author

@clefourrier clefourrier Feb 16, 2024

Choose a reason for hiding this comment

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

@clefourrier clefourrier merged commit 81fc8fd into main Feb 22, 2024
hynky1999 pushed a commit that referenced this pull request May 22, 2025
- adds system prompt
- formats the choices too with assistant template
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.

3 participants