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 error text in BCO and KTO tokenizing function #2286

Merged
merged 1 commit into from
Nov 11, 2024

Conversation

PhilipMay
Copy link
Contributor

The error text is saying:

"Prompt input ids and answer input ids should have the same length."

This is very misleading. The code does not compare prompt and answer in this case.

@HuggingFaceDocBuilderDev

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

@PhilipMay
Copy link
Contributor Author

I don't think the CI problems have anything to do with the changes in this PR...

@qgallouedec
Copy link
Member

Thanks @PhilipMay! Do you mind updating your branch? I don't have the writing rights on your branch.

@qgallouedec qgallouedec changed the title Fix error text in BCO and KTO tokenizer function. 🖨️ Fix error text in BCO and KTO tokenizing function Nov 5, 2024
@qgallouedec qgallouedec merged commit dde20b2 into huggingface:main Nov 11, 2024
5 of 9 checks passed
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