Learn Before
Case Study

Predictive Text Model Comparison

A data science team is comparing two simple models for a predictive text feature. The goal is to predict the next word in a sequence. They want to know which model is more effective at predicting the word 'urgent' after the phrase 'request is'.

  • Model A bases its prediction on only the single preceding word (e.g., 'is').
  • Model B bases its prediction on the two preceding words (e.g., 'request is').

Using the corpus data below, determine which model assigns a higher probability to the word 'urgent' in this context. Show the calculations for both models and state your conclusion.

0

1

Updated 2025-10-02

Contributors are:

Who are from:

Tags

Data Science

Ch.1 Pre-training - 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