'Can't find model 'de_core_news_sm' google colab error

I was running this colab: https://colab.research.google.com/github/bentrevett/pytorch-seq2seq/blob/master/2%20-%20Learning%20Phrase%20Representations%20using%20RNN%20Encoder-Decoder%20for%20Statistical%20Machine%20Translation.ipynb#scrollTo=RkP61K-evK2C.

But I kept having this error. Could you help me?

enter image description here



Solution 1:[1]

You can run the following command

!python -m spacy download de_core_news_sm

in a cell and then restart the kernel.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1