:mod:`capreolus.reranker.PACRR` =============================== .. py:module:: capreolus.reranker.PACRR Module Contents --------------- Classes ~~~~~~~ .. autoapisummary:: capreolus.reranker.PACRR.PACRR_class capreolus.reranker.PACRR.PACRRConvMax2dModule capreolus.reranker.PACRR.PACRR .. py:class:: PACRR_class(extractor, config) Bases: :class:`torch.nn.Module` .. method:: forward(self, sentence, query_sentence, query_idf) .. py:class:: PACRRConvMax2dModule(shape, n_filters, k, channels) Bases: :class:`torch.nn.Module` .. method:: forward(self, simmat) .. py:class:: PACRR Bases: :class:`capreolus.reranker.Reranker` .. attribute:: module_name :annotation: = PACRR .. attribute:: description :annotation: = Kai Hui, Andrew Yates, Klaus Berberich, and Gerard de Melo. EMNLP 2017. PACRR: A Position-Aware Neural IR Model for Relevance Matching. .. attribute:: config_spec .. method:: build_model(self) .. method:: score(self, d) .. method:: test(self, d)