0
0
Prompt Engineering / GenAIml~20 mins

Key models overview (GPT, DALL-E, Stable Diffusion) in Prompt Engineering / GenAI - Practice Problems & Coding Challenges

Choose your learning style9 modes available
Challenge - 5 Problems
πŸŽ–οΈ
GenAI Mastery Badge
Get all challenges correct to earn this badge!
Test your skills under time pressure!
🧠 Conceptual
intermediate
1:30remaining
What is the primary function of GPT models?

GPT models are designed mainly to:

AEnhance audio signals for speech clarity
BGenerate and understand human-like text
CCreate detailed images from text descriptions
DPredict stock market trends using numerical data
Attempts:
2 left
πŸ’‘ Hint

Think about what GPT stands for and what it is famous for.

❓ Predict Output
intermediate
1:30remaining
Output of a Stable Diffusion image generation step

Given a text prompt, what type of output does Stable Diffusion produce?

AA sound clip related to the prompt
BA text summary describing the prompt
CA high-resolution image matching the prompt
DA 3D model file of the described object
Attempts:
2 left
πŸ’‘ Hint

Stable Diffusion is known for creating visuals from words.

❓ Model Choice
advanced
2:00remaining
Choosing the right model for text-to-image generation

You want to create an artistic image from a text description. Which model is best suited?

AStable Diffusion
BGPT
CDALL-E
DBERT
Attempts:
2 left
πŸ’‘ Hint

Consider which models specialize in image creation from text.

❓ Metrics
advanced
2:00remaining
Evaluating GPT model text generation quality

Which metric is commonly used to measure how well GPT models generate coherent and relevant text?

AFrΓ©chet Inception Distance
BInception Score
CMean Squared Error
DBLEU score
Attempts:
2 left
πŸ’‘ Hint

Think about metrics used in natural language processing.

πŸ”§ Debug
expert
2:30remaining
Why might a DALL-E model fail to generate an image from a prompt?

Given a valid text prompt, which of the following is the most likely cause for DALL-E not producing an image?

AThe prompt contains unsupported special characters causing tokenization errors
BThe model is trained only on audio data, so it cannot generate images
CThe prompt is too short, so the model refuses to run
DThe model requires GPU but is running on CPU, which is unsupported
Attempts:
2 left
πŸ’‘ Hint

Consider how text inputs are processed before image generation.