Support for SPLADE sparse models in Milvus #29524
Replies: 2 comments 1 reply
-
Yes, you can use SPLADE sparse embedding models in the Milvus hybrid retriever. The retriever is designed to handle both dense and sparse embeddings, allowing for hybrid search capabilities. You can implement a sparse embedding function for SPLADE and use it in the retriever setup, similar to how the BM25 algorithm is used for sparse embeddings [1]. To continue talking to Dosu, mention @dosu. Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Other |
Beta Was this translation helpful? Give feedback.
-
@dosu a Separate class similar to the BM25 (https://python.langchain.com/api_reference/_modules/langchain_milvus/utils/sparse.html#BM25SparseEmbedding) would have to be created? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Is there a way to use SPLADE sparse embedding models in the milvus hybrid retriever?
Beta Was this translation helpful? Give feedback.
All reactions