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

Class VectorMappingMethod

baselines/vector_based.py:282–552  ·  view source on GitHub ↗

Applies a linear mapping to the response side and ranks with similarity. This learns a [dim, dim] weights matrix, and maps the response vector `x` to `x + weights.x`. The weights matrix is learned using gradient descent on the train set, and the dot product loss from https://arxiv.o

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected