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

Capture huggingface message too long error #83

Open
chronark opened this issue Apr 20, 2022 · 0 comments
Open

Capture huggingface message too long error #83

chronark opened this issue Apr 20, 2022 · 0 comments
Assignees

Comments

@chronark
Copy link
Contributor

Unable to call huggingface api: {"error":"Input is too long, try to truncate or use a paramater to handle this: The expanded size of the tensor (1112) must match the existing size (514) at non-singleton dimension 1. Target sizes: [1, 1112]. Tensor sizes: [1, 514]","warnings":["Token indices sequence length is longer than the specified maximum sequence length for this model (1112 > 512). Running this sequence through the model will result in indexing errors"]}

@chronark chronark self-assigned this Apr 20, 2022
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

1 participant