Challenge - 5 Problems
Content Writing AI Master
Get all challenges correct to earn this badge!
Test your skills under time pressure!
🧠 Conceptual
intermediate2:00remaining
How does a language model generate text?
Imagine a language model trained to write stories. How does it decide the next word to write?
Attempts:
2 left
💡 Hint
Think about how sentences flow naturally when you speak or write.
✗ Incorrect
Language models generate text by predicting the next word based on the words that came before, using patterns learned from training data.
❓ Predict Output
intermediate2:00remaining
Output of simple text generation code
What is the output of this Python code simulating a simple text generation step?
Prompt Engineering / GenAI
import random words = ['hello', 'world', 'machine', 'learning'] context = ['machine'] next_word = random.choice(words) print(next_word)
Attempts:
2 left
💡 Hint
Look at how random.choice works on a list.
✗ Incorrect
random.choice picks one element randomly from the list, so output can be any word from the list.
❓ Model Choice
advanced2:00remaining
Choosing a model for content writing assistance
You want to build a content writing assistant that can generate long, coherent articles. Which model type is best?
Attempts:
2 left
💡 Hint
Think about models that understand language context deeply.
✗ Incorrect
Transformer-based language models are designed to generate coherent and context-aware text, suitable for long articles.
❓ Metrics
advanced2:00remaining
Evaluating content writing model quality
Which metric is most appropriate to evaluate how well a content writing model generates fluent and relevant text?
Attempts:
2 left
💡 Hint
Think about metrics that compare generated text to human-written text.
✗ Incorrect
BLEU score measures how similar generated text is to reference text, useful for evaluating text generation quality.
🔧 Debug
expert3:00remaining
Debugging unexpected repetitive output in text generation
A content writing model keeps repeating the same phrase over and over. What is the most likely cause?
Attempts:
2 left
💡 Hint
Consider how randomness affects text diversity.
✗ Incorrect
A low temperature makes the model pick the highest probability word repeatedly, causing repetitive output.