Multiple Choice

A developer is testing different ways to ask a language model to translate the English sentence 'The cat sat on the mat' into French. Consider the following three approaches:

  1. Translate the following English text to French: The cat sat on the mat
  2. English: The cat sat on the mat Question: What is the French translation of this English sentence? Answer:
  3. `def translate_to_french(english_text): """Translates the given English text to French.""" return model.translate(english_text)

input = "The cat sat on the mat" output = translate_to_french(input)`

Which option correctly identifies the format of each approach?

0

1

Updated 2025-09-26

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

Analysis in Bloom's Taxonomy

Cognitive Psychology

Psychology

Social Science

Empirical Science

Science