faiss_indexer

FAISS Indexer for Lightning IR Framework

Classes

FaissFlatIndexConfig()

Configuration class for FAISS flat indexers in the Lightning IR framework.

FaissFlatIndexer(index_dir, index_config, module)

FAISS Flat Indexer for exact nearest neighbor search using FAISS.

FaissIVFIndexConfig([num_train_embeddings, ...])

Configuration class for FAISS IVF indexers in the Lightning IR framework.

FaissIVFIndexer(index_dir, index_config, module)

FAISS IVF Indexer for approximate nearest neighbor search using FAISS with Inverted File System (IVF).

FaissIVFPQIndexConfig([...])

Configuration class for FAISS IVFPQ indexers in the Lightning IR framework.

FaissIVFPQIndexer(index_dir, index_config, ...)

FAISS IVFPQ Indexer for approximate nearest neighbor search using Inverted File System (IVF) with Product Quantization (PQ).

FaissIndexConfig()

Configuration class for FAISS indexers in the Lightning IR framework.

FaissIndexer(index_dir, index_config, module)

Base class for FAISS indexers in the Lightning IR framework.

FaissPQIndexConfig([num_train_embeddings, ...])

Configuration class for FAISS PQ indexers in the Lightning IR framework.

FaissPQIndexer(index_dir, index_config, module)

FAISS PQ Indexer for approximate nearest neighbor search using Product Quantization (PQ).