Learn Before
Example

Sentence Comparison in Discriminative Training

Sentence comparison is a discriminative pre-training task applied to encoder-only models. In this task, the model processes two separate sentences and encodes them into representations, such as ha\textbf{h}_{a} and hb\textbf{h}_{b}. The model is then trained to output a score that compares or relates the two representations, formulated as Score(ha,hb)\mathrm{Score}(\textbf{h}_{a}, \textbf{h}_{b}).

0

1

Updated 2026-04-17

Contributors are:

Who are from:

Tags

Foundations of Large Language Models

Ch.1 Pre-training - Foundations of Large Language Models

Foundations of Large Language Models Course

Computing Sciences