Open macheng6 opened 2 months ago
Hi @macheng6, thanks for your support.
We'll address this issue. Could you provide more details, such as the specific prompt and compressor model you used? This information will help us to reproduce and resolve the issue more effectively.
Describe the issue
In the LLMLingua project, I attempted to use the qwen model instead of modelname and oai_tokenzier in the code, when the targte token is 150, the code runs normally. But when I changed this parameter, the code reported an error: The expanded size of the tensor (270) must match the existing size (298) at non-singleton dimension 0. Target sizes: [270]. Tensor sizes: [298] I tried to change the target token parameter, but still reported an error.