How to load the thinc model associated with a trained component ? #9073
-
Hello, I'm wondering how can I load only the Context: Thanks :) |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Main point in the spaCy source to check would be |
Beta Was this translation helpful? Give feedback.
Main point in the spaCy source to check would be
from_disk
inTrainablePipe
. Basically this is just using theModel.from_disk
function in Thinc, though you have to initialize the same model first so the structures are set up correctly.