4 ms·
txtai is an alternative approach to this. It builds a FAISS (also supports HNSW) index alongside a SQLite database. It works with sentence-transformers models.
by txtai 4y ago
txtai is an alternative approach to this. It builds a FAISS (also supports HNSW) index alongside a SQLite database. It works with sentence-transformers models. For example, this model https://huggingface.co/sentence-transformers/all-MiniLM-L6-v2 https://huggingface.co/sentence-transformers/all-MiniLM-L6-v... is 384 dimensions and works great for semantic search.
https://github.com/neuml/txtai https://github.com/neuml/txtai
https://neuml.github.io/txtai/embeddings/query/ https://neuml.github.io/txtai/embeddings/query/