Saved model .cfg file not matching the one used to create the model #9621
-
Hi there, Here's the config file I'm using:
As I mentioned, I've fiddled a bit with sourcing from a pre-trained model and tried to use a tok2vecListener. The sourcing part I based myself off mostly from this answer from StackOverflow, which I have no idea if it's correct at all. Thanks a lot for all the help you've been giving me! This community is simply amazing :) |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
If you're trying to override some settings while using It's normal that after the component has been sourced, the config gets replaced with the full config from the source model. The |
Beta Was this translation helpful? Give feedback.
If you're trying to override some settings while using
source
, this is more of a missing feature. Currentlysource
ignores any additional settings from your original config and just takes all the settings for new pipeline from the source model. This is currently on our internal to-do list, but I don't know when it will be available.It's normal that after the component has been sourced, the config gets replaced with the full config from the source model. The
source
option is never in the exported config once a pipeline has been trained or assembled. It's just used in the initial config before the pipeline is initialized. The final saved config always contains the full explicit config sett…