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

Support ShareGPT chat format #1098

Merged
merged 9 commits into from
Apr 11, 2024
Merged

Support ShareGPT chat format #1098

merged 9 commits into from
Apr 11, 2024

Conversation

samhavens
Copy link
Contributor

This adds support for the other common chat format. We just remap keys and add a new role.

Copy link
Contributor

@alextrott16 alextrott16 left a comment

Choose a reason for hiding this comment

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

My heart says this is all correct and good, but recommend getting the final green light from @dakinggg.

@dakinggg
Copy link
Collaborator

dakinggg commented Apr 5, 2024

tests please :) specifically some unit tests testing that having a tool role gets processed the way you think it does, and ideally a sample training run on the open hermes dataset

@eitanturok
Copy link
Contributor

eitanturok commented Apr 11, 2024

I was teaming up with Sam on this.

The run llama2-7b-chat-open-hermes-ft-dt7bh6 successfully finetunes Llama2-7b-chat for 10 batches on the OpenHermes dataset.

@alextrott16 alextrott16 merged commit 4cd2324 into main Apr 11, 2024
9 checks passed
KuuCi pushed a commit that referenced this pull request Apr 18, 2024
This adds support for the other common chat format. We just remap keys and add a new role.
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

4 participants