Spacy with disable_pipes bug does not respect context


When I run the example the with disable_pipes does not properly restore the pipes at the end so the saved model only contains the ner pipe (assuming that I load a pretrained model). However if I do the normal disabled.restore() it works fine.

Seems like a bug to me but wondering if others can reproduce.

Using v2.3

Hi, the spaCy issue tracker is a better place for this kind of bug report:

1 Like