Optionalchunk_List of tokens that indicate the end of a chunk. The context will be split into chunks at these tokens.
Optional Alphadrop_If true, drop consecutive tokens that are forced. This is useful to avoid keeping too many forced tokens in a row.
Optionalforce_If true, reserve a digit for forced tokens.
Optionalforce_List of tokens that must be kept in the compressed prompt. These tokens will not be removed regardless of their probability.
Optionaltarget_Target number of tokens to keep after compression.
If set, this will override the rate option.
Optionaltoken_How to convert token probabilities to word probabilities. "mean" will average the probabilities of tokens in a word, "first" will take the probability of the first token in a word.
Options for compressing prompts.