forked from huggingface/peft
-
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.
Add Support for Mistral Model in Llama-Adapter Method (huggingface#1433)
* Support Mistral For llama-adapter * Update src/peft/tuners/adaption_prompt/layer.py Co-authored-by: Sourab Mangrulkar <13534540+pacman100@users.noreply.github.com> * Update src/peft/tuners/adaption_prompt/layer.py Co-authored-by: Sourab Mangrulkar <13534540+pacman100@users.noreply.github.com> * corrected logic and added test * removed commented out code * Added seperate test functions for mistral * missed self.assert * ruff formatting --------- Co-authored-by: Prakhar Saxena <prakharsxena11111@gmail.com> Co-authored-by: Sourab Mangrulkar <13534540+pacman100@users.noreply.github.com>
- Loading branch information
1 parent
2616ec0
commit df599a8
Showing
4 changed files
with
401 additions
and
7 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
Oops, something went wrong.