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

batch_size, seq_length = input_ids.shape ValueError: not enough values to unpack (expected 2, got 1) #18

Open
MohamedAliRashad opened this issue Jun 8, 2023 · 1 comment

Comments

@MohamedAliRashad
Copy link

Why i am getting this error ?

@yxli2123
Copy link

yxli2123 commented Nov 1, 2023

I think your input is a single sentence. Even if your input is a single sentence, you should also make it a batch.

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