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

Fix func docstring #2087

Merged
merged 2 commits into from
Sep 23, 2024
Merged

Conversation

kwonmha
Copy link
Contributor

@kwonmha kwonmha commented Sep 23, 2024

Fix docstring of function load_adapter.

  1. model_id type hint
    add Pathlike to keep consistency with other functions that call load_adapter.

  2. add missing model_id docstring

  3. remove peft_config docstring as peft_config argument doesn't exist.

@HuggingFaceDocBuilderDev

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

Copy link
Member

@BenjaminBossan BenjaminBossan left a comment

Choose a reason for hiding this comment

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

Thanks for adjusting the type annotation and fixing the docstring.

@BenjaminBossan BenjaminBossan merged commit f4cf170 into huggingface:main Sep 23, 2024
14 checks passed
yaswanth19 pushed a commit to yaswanth19/peft that referenced this pull request Sep 23, 2024
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.

3 participants