MCPcopy Create free account
hub / github.com/BeastyZ/ConvSearch-R1 / doc_emb

Method doc_emb

index/dense/models.py:44–45  ·  view source on GitHub ↗
(self, input_ids, attention_mask)

Source from the content-addressed store, hash-verified

42
43
44 def doc_emb(self, input_ids, attention_mask):
45 return self.query_emb(input_ids, attention_mask)
46
47
48 def masked_mean_or_first(self, emb_all, mask):

Callers

nothing calls this directly

Calls 1

query_embMethod · 0.95

Tested by

no test coverage detected