capreolus.reranker.DRMM

Module Contents

Classes

DRMM_class

DRMM

Jiafeng Guo, Yixing Fan, Qingyao Ai, and W. Bruce Croft. 2016. A Deep Relevance Matching Model for Ad-hoc Retrieval. In CIKM'16.

Attributes

logger

dtype

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(config=None, provide=None, share_dependency_objects=False, build=True)[source]

Bases: capreolus.reranker.Reranker

Jiafeng Guo, Yixing Fan, Qingyao Ai, and W. Bruce Croft. 2016. A Deep Relevance Matching Model for Ad-hoc Retrieval. In CIKM’16.

module_name = DRMM[source]
config_spec[source]
build_model(self)[source]
score(self, d)[source]
test(self, d)[source]