Short Answer

Architectural Implications for Prompt Comprehension

A developer is building an application that requires generating long-form text based on a detailed, multi-sentence prompt. They need the model to have the most comprehensive understanding of the entire prompt before it begins generating the response. They are considering two types of models:

  1. A model that processes the prompt tokens one by one, where each token can only attend to the ones that came before it.
  2. A model that can process the entire prompt at once, allowing every token in the prompt to attend to every other token in the prompt, before starting to generate the new text.

Which of these two approaches is better suited for the developer's goal? Justify your answer by explaining the fundamental difference in how each model builds its initial understanding of the prompt.

0

1

Updated 2025-10-05

Contributors are:

Who are from:

Tags

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