Skip to content

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

Description

@jamesnulliu

Describe the issue

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions