Skip to content

vllm.model_executor.models.bert_with_rope

Classes:

GteForSequenceClassification

Bases: GteNewForSequenceClassification

GteNewForSequenceClassification for LoRA adapters trained on the native Transformers GTE (model_type: gte), whose split q/k/v_proj and gate/up_proj pack into the fused layers. Checkpoint weights load as for GteNewForSequenceClassification.

GteNewMLP

Bases: Module

GTE's GeGLU MLP in the checkpoint's fused [up; gate] layout (no up_gate_proj bias), so LoRA adapters on up_gate_proj apply as trained.