0
0
AI for Everyoneknowledge~20 mins

What is generative AI and why it exploded in AI for Everyone - Practice Questions & Exercises

Choose your learning style9 modes available
Challenge - 5 Problems
🎖️
Generative AI Mastery
Get all challenges correct to earn this badge!
Test your skills under time pressure!
🧠 Conceptual
intermediate
1:30remaining
What is the main function of generative AI?
Generative AI is designed to:
AGenerate new content like text, images, or music
BClassify images into categories
CDetect anomalies in data
DCompress large datasets efficiently
Attempts:
2 left
💡 Hint
Think about what 'generative' means in everyday language.
🧠 Conceptual
intermediate
1:30remaining
Why did generative AI become very popular recently?
Which of these is NOT a main reason for the recent explosion of generative AI?
AAdvances in computing power like GPUs
BAvailability of large datasets for training
CImproved algorithms and model architectures
DDecrease in internet usage worldwide
Attempts:
2 left
💡 Hint
Consider what helps AI learn better and faster.
Metrics
advanced
2:00remaining
Which metric best measures the quality of text generated by a generative AI model?
You want to evaluate how well a generative AI writes sentences. Which metric is most suitable?
AAccuracy
BBLEU score
CConfusion Matrix
DMean Squared Error
Attempts:
2 left
💡 Hint
Think about comparing generated text to reference text.
Model Choice
advanced
2:00remaining
Which model architecture is commonly used for generative AI in text?
Which of these model types is most commonly used to generate human-like text?
ATransformers
BRecurrent Neural Networks (RNNs)
CConvolutional Neural Networks (CNNs)
DSupport Vector Machines (SVMs)
Attempts:
2 left
💡 Hint
This architecture uses attention mechanisms and is behind popular models like GPT.
🔍 Analysis
expert
2:30remaining
What error will this code cause when generating text with a transformer model?
Consider this Python snippet using a transformer model: ```python output = model.generate(input_ids, max_length=50, do_sample=True) print(output) ``` If `input_ids` is missing or None, what error will occur?
AValueError: max_length must be positive
BAttributeError: 'NoneType' object has no attribute 'generate'
CValueError: input_ids have to be passed and be a tensor or list
DRuntimeError: CUDA out of memory
Attempts:
2 left
💡 Hint
Think about what happens if you pass None where a list or tensor is expected.