From 191daf74111251df7327f4ef7a069d0254554d2c Mon Sep 17 00:00:00 2001 From: hiko2MSP Date: Mon, 13 Mar 2023 01:00:02 +0900 Subject: [PATCH] [chatgpt] type miss of kwargs (#3107) --- applications/ChatGPT/chatgpt/models/opt/opt_critic.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/applications/ChatGPT/chatgpt/models/opt/opt_critic.py b/applications/ChatGPT/chatgpt/models/opt/opt_critic.py index 1f5ead758..847813332 100644 --- a/applications/ChatGPT/chatgpt/models/opt/opt_critic.py +++ b/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: