1
0
mirror of https://github.com/hpcaitech/ColossalAI.git synced 2025-09-07 03:52:01 +00:00

[chatgpt] type miss of kwargs ()

This commit is contained in:
hiko2MSP
2023-03-13 01:00:02 +09:00
committed by GitHub
parent 145ccfd7d1
commit 191daf7411

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