Definition

Segment Embedding

A segment embedding, denoted as eseg\mathbf{e}_{\mathrm{seg}}, is a new type of embedding that specifies whether a token belongs to the first sentence, SentA\mathrm{Sent}_{A}, or the second sentence, SentB\mathrm{Sent}_{B}. It is used alongside the regular token embedding and positional embedding to help the model distinguish between sentences.

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