Learn Before
Short Answer

Analyzing a Processed Data Batch

A language model is given the following two sentences to process as a single batch:

  • Sentence 1: ['The', 'cat', 'sat']
  • Sentence 2: ['A', 'dog', 'slept', 'soundly']

After preparation for the model, the batch looks like this:

  • Processed 1: ['⟨SOS⟩', 'The', 'cat', 'sat', '⟨pad⟩']
  • Processed 2: ['⟨SOS⟩', 'A', 'dog', 'slept', 'soundly']

Explain the purpose of the two new tokens, ⟨SOS⟩ and ⟨pad⟩, that were added during this preparation step.

0

1

Updated 2025-10-08

Contributors are:

Who are from:

Tags

Ch.5 Inference - Foundations of Large Language Models

Foundations of Large Language Models

Foundations of Large Language Models Course

Computing Sciences

Analysis in Bloom's Taxonomy

Cognitive Psychology

Psychology

Social Science

Empirical Science

Science