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

[DataCollatorForCompletionOnlyLM] Add more clarification / guidance in the case tokenizer.pad_token_id == tokenizer.eos_token_id #992

Merged
merged 1 commit into from
Nov 14, 2023

Conversation

younesbelkada
Copy link
Contributor

Linked issue: #976

While finding a proper fix, I propose to first clarifiy the docs a bit

As a follow up work, one needs to propose a proper fix for the case where tokenizer.pad_token_id == tokenizer.eos_token_id.

cc @lvwerra

@HuggingFaceDocBuilderDev
Copy link

HuggingFaceDocBuilderDev commented Nov 14, 2023

The documentation is not available anymore as the PR was closed or merged.

@younesbelkada younesbelkada merged commit e23a541 into main Nov 14, 2023
9 checks passed
@younesbelkada younesbelkada deleted the fix-datacollator branch November 14, 2023 18:31
lapp0 pushed a commit to lapp0/trl that referenced this pull request May 10, 2024
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