Skip to content

Hyperparameter details #2

@avinashsai

Description

@avinashsai

Hello,

Thanks for publishing inference code for selective compression. I have some questions about context_proportion and low_comp_ratio hyperparameters. I am currently testing on a different benchmark however i sometimes run into the error ValueError: Invalid encoder_indices. I see the error comes around this line

if len_for_encoder < lm_length and low_ratio_index_length > 0: raise ValueError("Invalid encoder_indices")

I am currently using same hyperparameters provided. Can you explain a bit what values are needed for overall_comp_ratio, text_proportion, low_comp_ratio to avoid these errors and what are these hyperparameters?

Thanks in advance.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions