mirror of
https://github.com/mudler/LocalAI.git
synced 2025-06-03 09:24:59 +00:00
feat(aio): entrypoint, update workflows (#1872)
This commit is contained in:
parent
743095b7d8
commit
abc9360dc6
9 changed files with 191 additions and 16 deletions
|
@ -1,13 +1,18 @@
|
|||
name: all-minilm-l6-v2
|
||||
backend: sentencetransformers
|
||||
backend: bert-embeddings
|
||||
embeddings: true
|
||||
f16: true
|
||||
|
||||
gpu_layers: 90
|
||||
mmap: true
|
||||
name: text-embedding-ada-002
|
||||
|
||||
parameters:
|
||||
model: all-MiniLM-L6-v2
|
||||
model: huggingface://mudler/all-MiniLM-L6-v2/ggml-model-q4_0.bin
|
||||
|
||||
usage: |
|
||||
You can test this model with curl like this:
|
||||
|
||||
curl http://localhost:8080/embeddings -X POST -H "Content-Type: application/json" -d '{
|
||||
"input": "Your text string goes here",
|
||||
"model": "all-minilm-l6-v2"
|
||||
"model": "text-embedding-ada-002"
|
||||
}'
|
Loading…
Add table
Add a link
Reference in a new issue