Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[core] Add adapter_name in get_peft_model #610

Merged
merged 1 commit into from
Jun 21, 2023

Conversation

younesbelkada
Copy link
Contributor

What does this PR do?

Fixes #597

We should add the possibility to users to pass the adapter name when calling get_peft_model for a smoother UX

Added also some nice CI tests

cc @pacman100

@HuggingFaceDocBuilderDev
Copy link

HuggingFaceDocBuilderDev commented Jun 21, 2023

The documentation is not available anymore as the PR was closed or merged.

Copy link
Contributor

@pacman100 pacman100 left a comment

Choose a reason for hiding this comment

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

Thank you @younesbelkada for adding this! 🤗

@pacman100 pacman100 merged commit 702d060 into huggingface:main Jun 21, 2023
11 checks passed
@younesbelkada younesbelkada deleted the add-kwarg-get-peft-model branch June 21, 2023 12:13
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.

The get_peft_model function cannot pass in the adapter_name parameter
3 participants