aboutsummaryrefslogtreecommitdiff
path: root/embed.h
diff options
context:
space:
mode:
Diffstat (limited to 'embed.h')
-rw-r--r--embed.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/embed.h b/embed.h
index ef36359..197ee7f 100644
--- a/embed.h
+++ b/embed.h
@@ -40,6 +40,7 @@ typedef enum {
typedef enum {
EMBED_POOL_MEAN = 0,
EMBED_POOL_LAST_TOKEN = 1,
+ EMBED_POOL_CLS = 2, /* first token; the encoder-family [CLS] sentence vector */
} embed_pooling_mode_t;
typedef struct {