Learn Before
Concept

Span Prediction in NLP

Span prediction is an NLP task focused on identifying a continuous segment of text. A prominent example is reading comprehension, where a model is given a query (e.g., x1...xmx_1...x_m) and a context passage (e.g., y1...yny_1...y_n) and must locate the span within the context that answers the query. This task can be conceptualized as a form of sequence labeling, where the objective is to predict for each token yjy_j in the context whether it marks the beginning or the end of the desired span.

0

1

Updated 2026-04-18

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

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