capreolus.reranker.DRMM

Module Contents

Classes

DRMM_class(extractor, config)
DRMM()
capreolus.reranker.DRMM.logger[source]
class capreolus.reranker.DRMM.DRMM_class(extractor, config)[source]

Bases: torch.nn.Module

forward(self, sentence, query_sentence, query_idf)[source]
capreolus.reranker.DRMM.dtype[source]
class capreolus.reranker.DRMM.DRMM[source]

Bases: capreolus.reranker.Reranker

module_name = DRMM[source]
description = Jiafeng Guo, Yixing Fan, Qingyao Ai, and W. Bruce Croft. 2016. A Deep Relevance Matching Model for Ad-hoc Retrieval. In CIKM'16.[source]
config_spec[source]
build_model(self)[source]
score(self, d)[source]
test(self, d)[source]