Challenge - 5 Problems
NER Mastery Badge
Get all challenges correct to earn this badge!
Test your skills under time pressure!
🧠 Conceptual
intermediate1:00remaining
What is the main goal of Named Entity Recognition (NER)?
Choose the best description of what NER does in text processing.
Attempts:
2 left
💡 Hint
Think about what entities like people or locations are in a sentence.
✗ Incorrect
NER finds and labels important words or phrases such as names of people, places, or organizations in text.
❓ Predict Output
intermediate1:30remaining
Output of a simple NER tagging example
What is the output of this NER tagging code snippet?
ML Python
sentence = "Apple is looking at buying U.K. startup for $1 billion" entities = [('Apple', 'ORG'), ('U.K.', 'GPE'), ('$1 billion', 'MONEY')]
Attempts:
2 left
💡 Hint
ORG means organization, GPE means geopolitical entity, MONEY means monetary value.
✗ Incorrect
The entities are correctly labeled as Apple (organization), U.K. (location), and $1 billion (money).
❓ Model Choice
advanced2:00remaining
Choosing the best model type for NER
Which model type is most suitable for Named Entity Recognition tasks?
Attempts:
2 left
💡 Hint
NER requires understanding word order and context in sentences.
✗ Incorrect
RNNs and Transformers handle sequences well and are commonly used for labeling each word in a sentence with entity tags.
❓ Metrics
advanced1:30remaining
Evaluating NER model performance
Which metric is most appropriate to evaluate a Named Entity Recognition model?
Attempts:
2 left
💡 Hint
NER is a classification task at the token level.
✗ Incorrect
Accuracy or F1-score on token-level entity tags is used to measure how well the model predicts correct entity labels.
🔧 Debug
expert2:30remaining
Debugging incorrect NER predictions
Given this NER model output on the sentence "Barack Obama was born in Hawaii.":
Predicted entities: [('Barack', 'PERSON'), ('Obama', 'PERSON'), ('Hawaii', 'ORG')]
What is the likely cause of the error?
Attempts:
2 left
💡 Hint
Consider how multi-word entities should be tagged in NER.
✗ Incorrect
The model split the full name 'Barack Obama' into two separate entities instead of one combined entity, which is a common error in NER.