Challenge - 5 Problems
Generative AI Mastery
Get all challenges correct to earn this badge!
Test your skills under time pressure!
🧠 Conceptual
intermediate1:30remaining
What is the main function of generative AI?
Generative AI is designed to:
Attempts:
2 left
💡 Hint
Think about what 'generative' means in everyday language.
✗ Incorrect
Generative AI creates new content such as text, images, or music, unlike models that only classify or analyze existing data.
🧠 Conceptual
intermediate1:30remaining
Why did generative AI become very popular recently?
Which of these is NOT a main reason for the recent explosion of generative AI?
Attempts:
2 left
💡 Hint
Consider what helps AI learn better and faster.
✗ Incorrect
The explosion is due to better hardware, more data, and smarter algorithms. Internet usage decreasing would not help AI progress.
❓ Metrics
advanced2: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?
Attempts:
2 left
💡 Hint
Think about comparing generated text to reference text.
✗ Incorrect
BLEU score measures how close generated text is to human-written text, unlike accuracy or error metrics used in other tasks.
❓ Model Choice
advanced2: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?
Attempts:
2 left
💡 Hint
This architecture uses attention mechanisms and is behind popular models like GPT.
✗ Incorrect
Transformers use attention to handle long-range dependencies and are state-of-the-art for text generation.
🔍 Analysis
expert2: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?
Attempts:
2 left
💡 Hint
Think about what happens if you pass None where a list or tensor is expected.
✗ Incorrect
If input_ids is None, the model.generate() method explicitly checks and raises a ValueError because input_ids must be provided as a tensor or list.