Skip to content

Conversation

jon-tow
Copy link
Collaborator

@jon-tow jon-tow commented Jan 8, 2023

  • Makes delta_kwargs an optional config; previously it defaulted to an empty dict which breaks the delta handlers for runs that do not use delta-tuning. Discovered by @PhungVanDuy

  • Removes gpt2 from the default MODIFIED_MODULES_DICT as its MLP layers are implemented as Conv1D layers which are not supported by the OpenDelta pacakge; see this line here (Conv1D does not contain in/out_features attrs)

Copy link
Contributor

@LouisCastricato LouisCastricato left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@jon-tow jon-tow merged commit 4bfe339 into CarperAI:main Jan 9, 2023
@jon-tow jon-tow deleted the fix-default-delta-args branch January 9, 2023 00:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants