-
Hello, I modified LLMLingua2.ipynb from examples to work with our data. Since running on a Mac the follow is the PromptCompressor code.
Since there are important tokens we want to keep after compression, we list them in 'force_tokens'
However, we noticed after keeping the force_tokens, it adds a blank space after the token in the compressed prompt. original string - {{ mediaItems.fig-ch05_02_01 }} Is there a way to avoid this blank space? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi @hodgesz, thanks for your feedback. We'll fix this issue soon. |
Beta Was this translation helpful? Give feedback.
Hi @hodgesz, thanks for your feedback.
We'll fix this issue soon.