Skip to content

Commit

Permalink
Fix typo at peft_model.py (#588)
Browse files Browse the repository at this point in the history
Fix typo on description:
- `imputs_embeds` to `inputs_embeds`
  • Loading branch information
Beomi authored Jun 16, 2023
1 parent 9320373 commit 38e9c65
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/peft/peft_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -771,7 +771,7 @@ def forward(
if not isinstance(peft_config, PromptLearningConfig):
if self.base_model.config.model_type == "mpt":
if inputs_embeds is not None:
raise AssertionError("forward in MPTForCausalLM does not support imputs_embeds")
raise AssertionError("forward in MPTForCausalLM does not support inputs_embeds")
return self.base_model(
input_ids=input_ids,
attention_mask=attention_mask,
Expand Down

0 comments on commit 38e9c65

Please sign in to comment.