capreolus.reranker.DRMMTKS

Module Contents

Classes

DRMMTKS_class

DRMMTKS

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.DRMMTKS.logger[source]
class capreolus.reranker.DRMMTKS.DRMMTKS_class(extractor, config)[source]

Bases: torch.nn.Module

forward(self, doc, query, query_idf)[source]
capreolus.reranker.DRMMTKS.dtype[source]
class capreolus.reranker.DRMMTKS.DRMMTKS(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 = DRMMTKS[source]
config_spec[source]
build_model(self)[source]
score(self, d)[source]
test(self, d)[source]