feat: bert.cpp token embeddings (#241)

This commit is contained in:
Ettore Di Giacinto
2023-05-12 17:16:49 +02:00
committed by GitHub
parent b4241d0a0d
commit 2488c445b6
4 changed files with 38 additions and 6 deletions

6
tests/fixtures/embeddings.yaml vendored Normal file
View File

@@ -0,0 +1,6 @@
name: text-embedding-ada-002
parameters:
model: bert
threads: 14
backend: bert-embeddings
embeddings: true