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.
DispatchPooler
¶
Bases: Pooler
Dispatches calls to a sub-pooler based on the pooling task.
Methods:
-
replace_classifier–Replaces the classifier to the LoRA-wrapped version.
replace_classifier(new_classifier)
¶
Replaces the classifier to the LoRA-wrapped version.