-
Hello, Does LocalAI support models other than bert-MiniLM-L6-v2q4_0? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
yes, it does support anything supported by sentencetransformers and transformers for embeddings - you need to switch the model name appropriately in the YAML config file. See also the docs here: https://localai.io/features/embeddings/#huggingface-embeddings |
Beta Was this translation helpful? Give feedback.
-
I found bge-m3 model which has 8k size and 1024 dimensions. I think it's useful.
|
Beta Was this translation helpful? Give feedback.
-
I managed to extend transformers backend and use bge-m3 as both embeddings (via openai route/schema) and reranker (via jina route/schema). The cool thing is it uses same model instance for both. Also I managed to easily enable "mps" for any transformer (this is worth separate PR) |
Beta Was this translation helpful? Give feedback.
I found bge-m3 model which has 8k size and 1024 dimensions. I think it's useful.
Config: