I manually annotated a set of data, and then trained a model using
prodigy train model --ner dataset,eval:eval-dataset -m en_core_web_trf --gpu-id 0
I then try to use the trained model with
prodigy ner.correct new-dataset model/model-best/ ~/data/data.jsonl --exclude dataset
ValueError: Cannot deserialize model: mismatched structure
This seems to be the same problem as NER training produces invalid config.cfg? - #4 by bob_ln. Is there a workaround that would allow me to correct this trained model? I tried removing
tagger, parser, attribute_ruler from
config.cfg, which allows the model to load, but results in loads of warnings.