Get startedGet started for free

Exploring the model

Let's see how the model performs on unseen data! To speed things up a little, here's a trained model for the label 'GADGET', using the examples from the previous exercise, plus a few hundred more. The loaded model is already available as the nlp object. A list of test texts is available as TEST_DATA.

This exercise is part of the course

Advanced NLP with spaCy

View Course

Hands-on interactive exercise

Have a go at this exercise by completing this sample code.

# Process each text in TEST_DATA
for ____ in ____:
    # Print the document text and entitites
    print(____)
    print(____, '\n\n')
Edit and Run Code