Challenge - 5 Problems
Instruction Formatting Master
Get all challenges correct to earn this badge!
Test your skills under time pressure!
🧠 Conceptual
intermediate2:00remaining
Understanding Instruction Formatting Impact
Which of the following best describes why clear instruction formatting is important when using generative AI models?
Attempts:
2 left
💡 Hint
Think about how clear instructions affect the model's understanding.
✗ Incorrect
Clear instruction formatting guides the model to focus on the right task, improving output quality. It does not affect training time or guarantee error-free outputs.
❓ Predict Output
intermediate2:00remaining
Output of Instruction with Ambiguous Formatting
What will be the output of the following prompt given to a generative AI model?
"Generate a Python function that adds two numbers and returns the result. Use clear variable names."
Assuming the model follows instructions literally, what is the likely output?
Prompt Engineering / GenAI
def add_numbers(a, b): return a + b
Attempts:
2 left
💡 Hint
Look for the exact variable names used in the prompt.
✗ Incorrect
The prompt asks for clear variable names but does not specify them. The model likely uses generic names 'a' and 'b' as in option A, matching the prompt literally.
❓ Model Choice
advanced2:00remaining
Choosing Model Type Based on Instruction Complexity
You want to generate detailed step-by-step explanations for complex math problems using a generative AI. Which model type is best suited for this task?
Attempts:
2 left
💡 Hint
Consider the need for reasoning and detailed explanations.
✗ Incorrect
Large language models trained on diverse data can understand complex instructions and generate detailed explanations, unlike small or specialized models.
❓ Hyperparameter
advanced2:00remaining
Effect of Temperature on Instruction Output
When generating text from a generative AI model, what is the effect of increasing the 'temperature' hyperparameter?
Attempts:
2 left
💡 Hint
Think about randomness and creativity in text generation.
✗ Incorrect
Higher temperature increases randomness, making outputs more creative but less predictable. It does not affect length, speed, or grammar guarantees.
❓ Metrics
expert2:00remaining
Evaluating Instruction Following with BLEU Score
You want to measure how well a generative AI model follows instructions by comparing its output to a reference answer. Which metric is most appropriate for this task?
Attempts:
2 left
💡 Hint
Consider metrics used for comparing text similarity.
✗ Incorrect
BLEU score is widely used to evaluate text generation quality by comparing n-gram overlaps, suitable for instruction following tasks.