Skip to content

Commit

Permalink
Merge pull request #1 from namanvats/bug/fix-mixed-models-docstring
Browse files Browse the repository at this point in the history
Fix PeftMixedModel docstring huggingface#1824
  • Loading branch information
namanvats authored Jun 12, 2024
2 parents 47b3d74 + 31f1ca7 commit 95d1c31
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/peft/mixed_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,6 @@ class PeftMixedModel(PushToHubMixin, torch.nn.Module):
Example:
```py
>>> from peft import get_peft_model
>>> base_model = ... # load the base model, e.g. from transformers
>>> peft_model = PeftMixedModel.from_pretrained(base_model, path_to_adapter1, "adapter1").eval()
Expand Down

0 comments on commit 95d1c31

Please sign in to comment.