0
0
Prompt Engineering / GenAIml~20 mins

Model selection (GPT-4, GPT-3.5) in Prompt Engineering / GenAI - Practice Problems & Coding Challenges

Choose your learning style9 modes available
Challenge - 5 Problems
🎖️
Model Selection Master
Get all challenges correct to earn this badge!
Test your skills under time pressure!
🧠 Conceptual
intermediate
2:00remaining
Choosing a model for complex language tasks
You need to select a model for a task that requires understanding subtle context and generating detailed explanations. Which model is best suited?
AGPT-4 because it handles complex context and nuanced language better
BGPT-3.5 because it is faster and cheaper for all tasks
CGPT-3.5 because it has more training data
DGPT-4 because it is optimized for short answers only
Attempts:
2 left
💡 Hint
Think about which model is designed for deeper understanding and more detailed outputs.
Predict Output
intermediate
2:00remaining
Output difference between GPT-3.5 and GPT-4
Given the prompt: 'Explain why the sky is blue in simple terms.' Which model output is more likely to be detailed and accurate?
AGPT-4 output: 'The sky appears blue because molecules in the air scatter blue light from the sun more than other colors.'
BGPT-3.5 output: 'The sky is blue because of the sun.'
CGPT-3.5 output: 'The sky is blue because it reflects the ocean.'
DGPT-4 output: 'The sky is blue because of the moonlight.'
Attempts:
2 left
💡 Hint
Look for the option that explains the scientific reason clearly and correctly.
Hyperparameter
advanced
2:00remaining
Choosing model size for cost and performance
You want to balance cost and quality for a chatbot. Which choice best fits a use case needing moderate quality and low cost?
AUse GPT-4 for all queries regardless of cost
BUse GPT-3.5 for simple queries and GPT-4 for complex queries
CUse GPT-4 only for short queries and GPT-3.5 for long queries
DUse GPT-3.5 for all queries to minimize cost
Attempts:
2 left
💡 Hint
Consider mixing models based on query complexity to optimize cost and quality.
Metrics
advanced
2:00remaining
Evaluating model performance on accuracy
You test GPT-3.5 and GPT-4 on a dataset. GPT-3.5 achieves 75% accuracy, GPT-4 achieves 85%. What does this tell you?
AAccuracy is not useful; only speed matters
BGPT-3.5 is better because lower accuracy means less overfitting
CBoth models are equally good because accuracy difference is small
DGPT-4 is better because higher accuracy means it predicts more correctly
Attempts:
2 left
💡 Hint
Higher accuracy means the model makes more correct predictions.
🔧 Debug
expert
2:00remaining
Identifying cause of unexpected GPT-4 output
You use GPT-4 for a task but get very short, vague answers instead of detailed ones. What is the most likely cause?
AGPT-4 is not capable of detailed answers
BThe model is overloaded and returns errors silently
CThe prompt is too vague or lacks detail, confusing the model
DYou accidentally used GPT-3.5 instead of GPT-4
Attempts:
2 left
💡 Hint
Think about how input affects output quality.