Hi @honnibal, I have a follow up question about this. I have a spaCy project where I train two separate textcat
models. I'd like to include both in the Python package when I run spacy package
however, there are a few things I'm not sure about.
Is it possible to change the name of the textcat
pipelines in the config file of the project e.g. textcat_x
and textcat_y
? Would I need to specifically state the Language.factory
for each of them then too? Is it possible to package these models using spacy package
or would I need to write a custom script for packaging them? If I wanted them to write to doc._.cats_x
and doc._.cats_y
do I need to subclass TextCategorizer
and treat it like a custom pipeline component?