capreolus.reranker.TFCEDRKNRM
¶
Module Contents¶
Classes¶
TensorFlow implementation of CEDR-KNRM. |
Attributes¶
- class capreolus.reranker.TFCEDRKNRM.TFCEDRKNRM_Class(extractor, config, *args, **kwargs)[source]¶
Bases:
tensorflow.keras.layers.Layer
- class capreolus.reranker.TFCEDRKNRM.TFCEDRKNRM(config=None, provide=None, share_dependency_objects=False, build=True)[source]¶
Bases:
capreolus.reranker.Reranker
TensorFlow implementation of CEDR-KNRM. Equivalant to BERT-KNRM when cls=None.
CEDR: Contextualized Embeddings for Document Ranking Sean MacAvaney, Andrew Yates, Arman Cohan, and Nazli Goharian. SIGIR 2019. https://arxiv.org/pdf/1904.07094