Mismatched IDs Error and nlp.rehearse #10861
-
Have a textcat multilabel model which I am trying to update with nlp.rehearse to alleviate the catastrophic forgetting problem.
Results in......
|
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
Sorry to hear you ran into that error, I don't think we've heard of that coming up in rehearsal before. Could you provide your training config so we have more information on your pipeline architecture? Also note that while rehearsal will help avoid catastrophic forgetting, the surest way to avoid is to train from scratch, so that may be a good idea if it's an option. |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
Hey, sorry for the late reply! Currently, using We're looking into this issue #12044 and are working on a fix in this PR #12045. |
Beta Was this translation helpful? Give feedback.
Hey, sorry for the late reply!
Currently, using
nlp.rehearse
with components that useTok2VecListeners
don't work. The only current fix is to use inlinetok2vec
components.We're looking into this issue #12044 and are working on a fix in this PR #12045.