|
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? |
Answered by
iofu728
Apr 18, 2024
Replies: 2 comments 1 reply
|
Has this been fixed yet as testing LLMLingua-2 with forced token |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi @hodgesz, thanks for your feedback.
We'll fix this issue soon.