Short Answer

Constructing a Few-Shot Prompt for a Novel Calculation

You need to teach a language model to perform a specific two-step calculation: first, find the product of two numbers, and second, subtract the sum of those two numbers doubled from that product. Construct a complete few-shot prompt with at least three distinct demonstration examples that would guide the model to correctly solve for the input pair 10, 8.

0

1

Updated 2025-10-04

Contributors are:

Who are from:

Tags

Ch.3 Prompting - Foundations of Large Language Models

Foundations of Large Language Models

Foundations of Large Language Models Course

Computing Sciences

Creation in Bloom's Taxonomy

Cognitive Psychology

Psychology

Social Science

Empirical Science

Science