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

Fix apply_chat_template function for dpo and unknown task #30

Merged
merged 5 commits into from
Nov 21, 2023
Merged

Fix apply_chat_template function for dpo and unknown task #30

merged 5 commits into from
Nov 21, 2023

Conversation

alvarobartt
Copy link
Member

@alvarobartt alvarobartt commented Nov 15, 2023

Hi to whoever is reading this! 🤗

Description

This PR solves an issue with the error message when the task in alignment.data.apply_chat_template was not being recognised as it was incorrect, and also moved some lines under the dpo task.

Besides that, also some duplicated # coding=utf-8 lines have been removed.

Copy link
Member

@lewtun lewtun left a comment

Choose a reason for hiding this comment

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

Thanks a lot for the fix @alvarobartt - this looks great 🤗 !

@lewtun lewtun merged commit c9d9035 into huggingface:main Nov 21, 2023
@alvarobartt alvarobartt deleted the fix-data-formatting branch November 21, 2023 14:39
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