You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to add adapters to the codet5p-110m-embedding model, but I encountered an error stating that the architecture is not supported and that I need to specify the modified modules manually.
I provided the modules explicitly, for example: modified_modules = ['encoder.block.1.layer.0.SelfAttention']
When I visualize the model, I can see that an adapter layer has been inserted at the specified module. However, the adapter layer appears empty, and upon debugging, I noticed that the instantiate function in the AdapterLayer class is not being executed at all.
Do I need to modify anything in the code beyond specifying the modified_modules parameter to ensure the adapters are instantiated and functional?
Hello,
I'm trying to add adapters to the
codet5p-110m-embedding
model, but I encountered an error stating that the architecture is not supported and that I need to specify the modified modules manually.I provided the modules explicitly, for example:
modified_modules = ['encoder.block.1.layer.0.SelfAttention']
When I visualize the model, I can see that an adapter layer has been inserted at the specified module. However, the adapter layer appears empty, and upon debugging, I noticed that the instantiate function in the AdapterLayer class is not being executed at all.
Do I need to modify anything in the code beyond specifying the modified_modules parameter to ensure the adapters are instantiated and functional?
Thank you for your help!
The text was updated successfully, but these errors were encountered: