Hello!
I have a question. I am wondering if there is a way to package/convert the output folder from the trained model as a single binary file?
Thank you very much!
Hello!
I have a question. I am wondering if there is a way to package/convert the output folder from the trained model as a single binary file?
Thank you very much!
Hi! The model you export after running Prodigy's train
command is a regular spaCy model. You can read more about saving and loading spaCy models and components here: https://spacy.io/usage/saving-loading
Models typically consist of several files, the binary weights for each trained component, as well as meta data. If you want one artifact, you could pickle it all – however, if it's mostly about the distribution and deployment, you might want to use spacy package
to package your model as a Python package instead: https://spacy.io/usage/saving-loading#models-generating