forked from adapter-hub/adapters
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Squashed commit with changes since version 3.2
Fix resume_from_checkpoint (adapter-hub#514) add initialization of variable so invalid checkpoints throw a understandable error Fix LoRA & (IA)³ implementation for Bart & MBart (adapter-hub#518) Fixes a critical issue in the LoRA & (IA)³ implementation of Bart & MBart, where LoRA & (IA)³ weights were not added to the intermediate and output linear layers of the model's decoder blocks. I.e., adapter configs having intermediate_lora=True or output_lora=True are added incorrectly to (M)Bart models. For LoRA, this does not affect the default config, for (IA)³ it does (intermediate_lora=True). To ensure correct addition of weights in the future, get_adapter() tests are updated to count the number of modules added per adapter. Fix python3.7 Compatibility (adapter-hub#510) Compatibility with python3.8+ and pytorch1.12.1+ Restore compatibility in GPT-2 LoRALinear bias init (adapter-hub#525) Fix compacter init weights (adapter-hub#516) Update doc chapter "Getting Started" (adapter-hub#527) Update version to 3.2.1 Fix Notebook01 Dataset column_rename (adapter-hub#543) Update doc chapter "Adapter Methods" (adapter-hub#535) Do not stale issues labeled as bugs (adapter-hub#550)
- Loading branch information
Showing
44 changed files
with
590 additions
and
383 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -26,7 +26,7 @@ | |
docs_versions = [ | ||
"adapters1.1.1", | ||
"adapters2.3.0", | ||
"adapters3.2.0", | ||
"adapters3.2.1", | ||
] | ||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.