Browse Source

[chatgpt] type miss of kwargs (#3107)

pull/3105/head
hiko2MSP 2 years ago committed by GitHub
parent
commit
191daf7411
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      applications/ChatGPT/chatgpt/models/opt/opt_critic.py

2
applications/ChatGPT/chatgpt/models/opt/opt_critic.py

@ -25,7 +25,7 @@ class OPTCritic(Critic):
checkpoint: bool = False,
lora_rank: int = 0,
lora_train_bias: str = 'none',
**kargs) -> None:
**kwargs) -> None:
if pretrained is not None:
model = OPTModel.from_pretrained(pretrained)
elif config is not None:

Loading…
Cancel
Save