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

Gemma special case handled #20

Merged
merged 4 commits into from
Aug 10, 2024
Merged

Gemma special case handled #20

merged 4 commits into from
Aug 10, 2024

Conversation

ShayekhBinIslam
Copy link
Collaborator

Gemma does not support system prompts and FastChat template does not work in the current setup. Fixed by concatenating system and user prompts using double-newline and applying tokenizer's chat template.

Gemma does not support system prompts and FastChat template does not work in the current setup. Fixed by concatenating system and user prompts using double-newline and applying tokenizer's chat template.
@ljvmiranda921
Copy link
Collaborator

Thank you for the fix!

@ljvmiranda921 ljvmiranda921 merged commit 168f8b7 into main Aug 10, 2024
1 check passed
@ljvmiranda921 ljvmiranda921 deleted the shayekh/gemma-generative branch August 10, 2024 22:28
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