Is there any difference between train textcat
of prodigy and spacy's train_textcat.py?
#6526
Replies: 3 comments
-
Also, the version of spacy and base model (en_core_web_md) is same in both the cases. |
Beta Was this translation helpful? Give feedback.
-
There are two main settings I think are important to check: which textcat architecture are you using when training with spaCy, and have you set FYI - we're working on getting all these different training scripts & methods consolidated in the upcoming spaCy 3 and the corresponding new Prodigy version! |
Beta Was this translation helpful? Give feedback.
-
Yes in my case data is mutually exclusive. and thus I have set the flag P.S. Eagerly waiting for V3. |
Beta Was this translation helpful? Give feedback.
-
After annotating the dataset on prodigy I train it using prodigy's train recipe and got 82% F1 score. Later I wanted to do some preprocessing before training the model. so switched to spacy and trained the model on the same dataset and hyperparameters but F1 score falls to 70%.
I wanted to know that is there anything else that I should keep in mind while training the model with spacy?
I am using following script for training,
https://github.com/explosion/spaCy/blob/master/examples/training/train_textcat.py
Beta Was this translation helpful? Give feedback.
All reactions