ipex-llm icon indicating copy to clipboard operation
ipex-llm copied to clipboard

[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]

Open JamieVC opened this issue 1 year ago • 2 comments

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

JamieVC avatar May 20 '24 09:05 JamieVC

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

Oscilloscope98 avatar May 21 '24 04:05 Oscilloscope98

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. :)

JinBridger avatar May 23 '24 05:05 JinBridger