frozen_components clarification #11338
-
I'd like to clarify the intent of Yet, when I go to train, I see the following line in the output:
According to the documentation and source code, these 2 components are not trainable. Why is it resuming training for these 2 components? When further digging into this, I see right after this message it detects if these components support rehearsing (they don't) but returns an optimizer. What exactly is going on here? Is it best to let these components be retrained, or should I included them in with |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Basically, nothing weird is going on here and you can ignore this message. The components listed in the output you see are just everything that isn't frozen, whether trainable or not - the training loop isn't actually checking the components that closely at this point. It sounds like you looked at the implementation, but as you mentioned it only does something with the components if they use the optional rehearsal feature (plus some general housekeeping for the pipeline related to the vectors and optimizer). Given that, I agree the output here is a little confusing - we'll see if we can improve it. We do want to list what components are running as usual somewhere at the start of training though, and currently this is where that's happening. |
Beta Was this translation helpful? Give feedback.
Basically, nothing weird is going on here and you can ignore this message.
The components listed in the output you see are just everything that isn't frozen, whether trainable or not - the training loop isn't actually checking the components that closely at this point. It sounds like you looked at the implementation, but as you mentioned it only does something with the components if they use the optional rehearsal feature (plus some general housekeeping for the pipeline related to the vectors and optimizer).
Given that, I agree the output here is a little confusing - we'll see if we can improve it. We do want to list what components are running as usual somewhere at the start of training …