vllm.model_executor.models.bert_with_rope
¶
Classes:
-
GteForSequenceClassification–GteNewForSequenceClassificationfor LoRA adapters trained on the native -
GteNewMLP–GTE's GeGLU MLP in the checkpoint's fused
[up; gate]layout (no
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.
Source code in vllm/model_executor/models/bert_with_rope.py
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.