Learn Before
Concept icon
Concept

BERT Representation of Input Tokens

The forward inference of the BERT encoder (BERTEncoder) generates a contextual representation for each token in the input sequence, including the special structural tokens “” and “”. These output representations serve as the basis for computing the loss function during the model's pretraining phase.

0

1

Concept icon
Updated 2026-05-29

Contributors are:

Who are from:

References


Tags

D2L

Dive into Deep Learning @ D2L