Multiple Choice

A language model is tasked with finding an answer span within a text. After processing the text, it produces the following log-probabilities for each token being the start or the end of the answer. To find the best span, one must find the start index (j1j_1) and end index (j2j_2) that maximize the sum of their log-probabilities, with the constraint that the start index cannot be after the end index (j1j2j_1 \le j_2).

IndexTokenStart Log-ProbEnd Log-Prob
1The-5.1-8.1
2first-4.2-7.2
3person-4.5-6.5
4was-5.5-5.5
5Neil-0.9-3.1
6Armstrong-2.1-0.5

Given the table above, what is the predicted answer span?

0

1

Updated 2025-09-29

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