bi_encoders

Lightning IR module for native bi-encoder models.

This module provides the classes, configurations and tokenizer for various bi-encoders in the Lightning IR framework.

Modules

coil

Configuration, model, and embedding for COIL (Contextualized Inverted List) type models.

col

Configuration, model, and tokenizer for Col (Contextualized Late Interaction) type models.

dpr

Configuration and model for DPR (Dense Passage Retriever) type models.

mvr

Configuration, model, and tokenizer for MVR (Multi-View Representation) type models.

splade

Configuration and model for SPLADE (SParse Lexical AnD Expansion) type models.