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

Method encode_response

baselines/vector_based.py:38–48  ·  view source on GitHub ↗

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

(self, responses)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 4

rank_responsesMethod · 0.45
_create_train_and_devMethod · 0.45
rank_responsesMethod · 0.45
test_encode_responseMethod · 0.45

Calls 1

encode_contextMethod · 0.95

Tested by 1

test_encode_responseMethod · 0.36