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

Change tokenizer padding_side to left for eval #96

Merged
merged 1 commit into from
Aug 22, 2024

Conversation

zqhuang211
Copy link
Contributor

text_tokenizer.padding_side=right is used during model training but needs to be changed to left (as expected by the LocalInference class to support batch inference and for consistency) for model inference at the end of training run.

@zqhuang211 zqhuang211 merged commit 052bfef into main Aug 22, 2024
1 check 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