How do you evaluate the performance of NLP models?

Instruction: Describe the metrics and processes used for assessing NLP model quality. Practice fixture: entity spans use half-open character offsets and exact type+span matching. Gold={(0,4,PER),(10,14,ORG)}; prediction={(0,4,PER),(10,15,ORG),(20,23,LOC)}. Calculate micro precision, recall and F1 for this one example; explain why token accuracy is different.

Context: This question probes the candidate's familiarity with model evaluation techniques specific to NLP, ensuring they can not only develop but also rigorously test NLP systems.

Updated

Official answer available

Read the opening below, then unlock the full answer and practical guidance.

I evaluate NLP models at three levels: task metrics, failure patterns, and real-world usefulness...

Related Questions