Embedder

Contents

Embedder#

class Embedder(config)#

Bases: BatchedStep

The Embedder step converts a word or phrase into a vector of numbers. This vector can then be used downstream in various models.

Parameters:
  • step (str) – embedder

  • type (str) – Type of Embedder

  • input_field (str) – Field to embed

  • output_field (str) – Field to write embedding