Short Answer

Forming the Candidate Set in a Search Algorithm

An algorithm is generating a sequence using a search process that keeps track of the 2 most likely options at each step (K=2). At a certain point, it considers extending the current options, resulting in four potential new sequences with the following scores (higher is better):

  • 'The cat sat on' (Score: 0.9)
  • 'The cat sat by' (Score: 0.6)
  • 'The dog ran to' (Score: 0.8)
  • 'The dog ran from' (Score: 0.5)

According to the procedure for forming the candidate set for the next step, which sequences will be included in this set?

0

1

Updated 2025-10-03

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

Application in Bloom's Taxonomy

Cognitive Psychology

Psychology

Social Science

Empirical Science

Science