Contents

NLContextualEmbeddingResult

An object that represents the embedding vector result from applying a contextual embedding to a string.

Declaration

class NLContextualEmbeddingResult

Overview

This object returns embeddings at the subword level, meaning a single word may generate multiple vectors, especially for rare or complex terms. If you need to work with whole-word embeddings or create single representations for entire text inputs, pool or combine subword vectors.

Topics

Inspecting the result

Enumerating the vectors

See Also

Applying an embedding