Example

Example of an Unrelated Sentence Pair for NSP

An example of an input with two unrelated sentences for a Next Sentence Prediction (NSP) task is [CLS] The cat sleeps on the windowsill . [SEP] Apples grow on trees . [SEP]. Because the second sentence does not logically follow the first, this training sample is classified with the label NotNext. This serves as a negative example to train the classification system.

0

1

Updated 2026-04-17

Contributors are:

Who are from:

Tags

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

Foundations of Large Language Models

Foundations of Large Language Models Course

Computing Sciences

Related