Updating Trained Textcat Model With New Data #13265
Replies: 1 comment
-
Nice work!
If I understand you correctly, you've been updating your model with new data, which made it forget its "old" capabilities? This sounds like the typical issue of catastrophic forgetting to me. Basically what happens is that the model indeed updates its weights according to the (new) information you're giving it - and it won't automagically remember the "old" training data. Instead, what you should do in these cases is to make sure that you keep feeding the models "old" examples among the new ones, so that it will still get penalized if it gets those cases wrong, and ultimately will succeed in performing well on both datasets. |
Beta Was this translation helpful? Give feedback.
-
I am currently working on updating a Text Classification model and am seeking your assistance.
Spacy 3.7
The initial model construction process took approximately 15 hours and yielded significant success. However, I have encountered a challenge in the subsequent update. Despite my efforts to incorporate additional data for improved accuracy, the updated model appears to only recognize the new data during testing.
I find myself genuinely perplexed by this issue and have exhaustively searched for solutions without success. Your expertise and guidance on this matter would be immensely valuable.
Thank you in advance for your time and assistance.
Beta Was this translation helpful? Give feedback.
All reactions