From c6ade0a14b87053d4a19cbac121d03af48cbf515 Mon Sep 17 00:00:00 2001 From: Onur Gündüz Date: Mon, 15 Jun 2026 12:16:33 +0200 Subject: all: support GTE-Qwen2 embeddings --- embed_internal.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'embed_internal.h') diff --git a/embed_internal.h b/embed_internal.h index 7d6977c..0536692 100644 --- a/embed_internal.h +++ b/embed_internal.h @@ -14,6 +14,9 @@ typedef struct { embed_weight_ref_t wk; /* [kv_dim, hidden] */ embed_weight_ref_t wv; /* [kv_dim, hidden] */ embed_weight_ref_t wo; /* [hidden, q_dim] */ + const float *q_bias; /* [q_dim], optional */ + const float *k_bias; /* [kv_dim], optional */ + const float *v_bias; /* [kv_dim], optional */ const float *q_norm; /* [head_dim] */ const float *k_norm; /* [head_dim] */ const float *input_norm; /* [hidden] */ -- cgit v1.3.1