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

Input validation error: inputs must have less than 512 tokens #369

Open
ellahe-git opened this issue Aug 6, 2024 · 4 comments
Open

Input validation error: inputs must have less than 512 tokens #369

ellahe-git opened this issue Aug 6, 2024 · 4 comments

Comments

@ellahe-git
Copy link

text-embeddings-router start an embedding serving, but always got the error 【 Input validation error: inputs must have less than 512 tokens】,which param should i use to change max tokens of input?512 is too short, i can not find true param in RAEDME or --help

To solve the issue of 'Input validation error: inputs must have less than 512 tokens', I added the auto truncate parameter to' true 'when starting the Docker image, but the image failed to start. What is the reason for this?
The startup command is as follows:
Docker run -- rm -- gpus all - d - p 18082:80-- name multilingual-e5-large-v 'model mount address'' mirror address' -- model id 'model id' --auto-truncate true

@vjsrinath
Copy link

I am also facing the same issue. Looks like --max-input-tokens flag has not been written to allow us to specify it during the startup.

@lluck42
Copy link

lluck42 commented Aug 21, 2024

I am also facing the same issue, too

@atlas-comstock
Copy link

same here

@lluck42
Copy link

lluck42 commented Aug 30, 2024

this is a problem of model but not TEI. You can see on other issue. issue365

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

4 participants