LLMLingua icon indicating copy to clipboard operation
LLMLingua copied to clipboard

[Question]: How to obtain the masked and kept tokens?

Open jamesnulliu opened this issue 4 months ago • 0 comments

Describe the issue

I noticed that in PromptCompressor.get_compressed_input, there is a variable called need_idx. Is that all I need?

jamesnulliu avatar Sep 09 '25 21:09 jamesnulliu