Multiple Choice

A language model is defined by the following table of conditional log-probabilities, where <s> is the start-of-sequence token and <eos> is the end-of-sequence token:

| Log-Probability | Value | |---|---| | log Pr(A | <s>) | -0.5 | | log Pr(B | <s>) | -1.5 | | log Pr(B | A) | -0.2 | | log Pr(A | B) | -1.0 | | log Pr(<eos> | A) | -2.0 | | log Pr(<eos> | B) | -0.1 |

Given a training dataset D containing two sequences:

  • Sequence 1: (A, B, <eos>)
  • Sequence 2: (B, A, <eos>)

Calculate the log-likelihood for each individual sequence in the dataset. Which of the following options correctly lists the results?

0

1

Updated 2025-09-28

Contributors are:

Who are from:

Tags

Ch.2 Generative Models - Foundations of Large Language Models

Foundations of Large Language Models

Foundations of Large Language Models Course

Computing Sciences

Application in Bloom's Taxonomy

Cognitive Psychology

Psychology

Social Science

Empirical Science

Science