col

Configuration, model, and tokenizer for Col (Contextualized Late Interaction) type models. Originally proposed in ColBERT: Efficient and Effective Passage Search via Contextualized Late Interaction over BERT as the ColBERT model. This implementation generalizes the model to work with any transformer backbone model.

Classes

ColConfig([query_length, doc_length, ...])

Configuration class for a Col model.

ColModel(config, *args, **kwargs)

Multi-vector late-interaction Col model.

ColTokenizer(*args[, query_length, ...])

LightningIRTokenizer for Col models.