Skip to content

vllm.model_executor.layers.pooler.special

Classes:

  • BOSEOSFilter –

    Filters the BOS and EOS token results from outputs.

  • DispatchPooler –

    Dispatches calls to a sub-pooler based on the pooling task.

BOSEOSFilter

Bases: Pooler

Filters the BOS and EOS token results from outputs.

DispatchPooler

Bases: Pooler

Dispatches calls to a sub-pooler based on the pooling task.

Methods:

replace_classifier(new_classifier)

Replaces the classifier to the LoRA-wrapped version.