Exercise

Inspecting word vectors

In this exercise, you'll use a larger English model, which includes around 20.000 word vectors. Because vectors take a little longer to load, we're using a slightly compressed version of it than the one you can download with spaCy. The model is already pre-installed, and spacy has already been imported for you.

Instructions

100 XP
  • Load the medium 'en_core_web_md' model with word vectors.
  • Print the vector for "bananas" using the token.vector attribute.