SpanRepresentationKind

Enums · AiDotNet.NeuralNetworks.Layers

How a SpanRepresentationScorerLayer represents a span before classifying it.

Fields

Field Summary
SpanRepresentationKind Endpoints PURE (Zhong and Chen 2021, section 3.2): the start and end token states and a learned width embedding, classified by a two-layer feed-forward network.
SpanRepresentationKind MaxPool SpERT (Eberts and Ulges 2020, section 3.1): the max-pooled token states of the span, a learned width embedding and a sentence context vector, classified by a linear layer.
int value__