[Question]: How to obtain the masked and kept tokens?
Author: jamesnulliuCreated Sep 9, 2025Updated Jul 5, 2026
Labelsquestion
Describe the issue
I noticed that in PromptCompressor.get_compressed_input, there is a variable called need_idx. Is that all I need?
Source: microsoft/LLMLingua