mirror of https://github.com/hpcaitech/ColossalAI
[chatgpt] type miss of kwargs (#3107)
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:
|
||||||
|
|
Loading…
Reference in New Issue