Spacy with disable_pipes bug does not respect context

Hello,

When I run the example https://spacy.io/usage/training/#example-train-ner 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: https://github.com/explosion/spaCy/issues

1 Like