Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
ColossalAI
Commits
191daf74
Unverified
Commit
191daf74
authored
Mar 13, 2023
by
hiko2MSP
Committed by
GitHub
Mar 13, 2023
Browse files
[chatgpt] type miss of kwargs (#3107)
parent
145ccfd7
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
applications/ChatGPT/chatgpt/models/opt/opt_critic.py
applications/ChatGPT/chatgpt/models/opt/opt_critic.py
+1
-1
No files found.
applications/ChatGPT/chatgpt/models/opt/opt_critic.py
View file @
191daf74
...
...
@@ -25,7 +25,7 @@ class OPTCritic(Critic):
checkpoint
:
bool
=
False
,
lora_rank
:
int
=
0
,
lora_train_bias
:
str
=
'none'
,
**
kargs
)
->
None
:
**
k
w
args
)
->
None
:
if
pretrained
is
not
None
:
model
=
OPTModel
.
from_pretrained
(
pretrained
)
elif
config
is
not
None
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment