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

a decoder-only architecture is being used. #23

Open
12194916 opened this issue Apr 1, 2023 · 1 comment
Open

a decoder-only architecture is being used. #23

12194916 opened this issue Apr 1, 2023 · 1 comment

Comments

@12194916
Copy link

12194916 commented Apr 1, 2023

A decoder-only architecture is being used, but right-padding was detected! For correct generation results, please set padding_side='left' when initializing the tokenizer.

I set the padding side to left before training and after, but it did not change

@DiwakarBasnet
Copy link

@12194916 I had similar warning, degrading transformer version to 4.22.2 worked for me.

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

No branches or pull requests

2 participants