MCPcopy Create free account
hub / github.com/PolyAI-LDN/conversational-datasets / encode_context

Method encode_context

baselines/vector_based.py:27–36  ·  view source on GitHub ↗

Encode the given texts as vectors. Args: contexts: a list of N strings, to be encoded. Returns: an (N, d) numpy matrix of encodings.

(self, contexts)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 4

encode_responseMethod · 0.95
rank_responsesMethod · 0.45
_create_train_and_devMethod · 0.45
rank_responsesMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected