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

[langchain-chatchat] ERROR: The expanded size of the tensor (559) must match the existing size (512) at non-singleton dimension 1. Target sizes: [1, 559]. Tensor sizes: [1, 512] #11076

Open
JamieVC opened this issue May 20, 2024 · 2 comments
Assignees

Comments

@JamieVC
Copy link

JamieVC commented May 20, 2024

Hi,
I download langchain-chatchat and follow README.md.
After that, putting two files to ingest. ( one is PDF, and the other is txt)
image

It shows errors.
image

@Oscilloscope98 Oscilloscope98 self-assigned this May 20, 2024
@intel-analytics intel-analytics deleted a comment from JamieVC May 21, 2024
@Oscilloscope98
Copy link
Contributor

Oscilloscope98 commented May 21, 2024

Hi @JamieVC , we have reproduced this issue. We will have a look on how to resolve it and let you know the progress :)

@JinBridger
Copy link
Member

JinBridger commented May 23, 2024

Hi @JamieVC! Could you please try to reduce the max length of each text (e.g. 120) and try again?

image

Feel free to ask if there's any further problem. :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants