MCPcopy Create free account
hub / github.com/avidale/encodechka / mean_pooling

Function mean_pooling

encodechka_eval/bert_embedders.py:28–36  ·  view source on GitHub ↗
(model_output, attention_mask, norm=False)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

embed_bert_poolFunction · 0.85
embed_bert_bothFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected