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
chenpangpang
transformers
Commits
d302d88b
"...git@developer.sourcefind.cn:chenpangpang/transformers.git" did not exist on "a1c4b63076ed11946a24a3d2e3ab7d7e77819546"
Unverified
Commit
d302d88b
authored
Jan 19, 2021
by
Sylvain Gugger
Committed by
GitHub
Jan 19, 2021
Browse files
Fix GPT conversion script (#9676)
parent
053efc5d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
src/transformers/models/openai/convert_openai_original_tf_checkpoint_to_pytorch.py
...penai/convert_openai_original_tf_checkpoint_to_pytorch.py
+3
-3
No files found.
src/transformers/models/openai/convert_openai_original_tf_checkpoint_to_pytorch.py
View file @
d302d88b
...
@@ -19,9 +19,9 @@ import argparse
...
@@ -19,9 +19,9 @@ import argparse
import
torch
import
torch
from
...file_utils
import
CONFIG_NAME
,
WEIGHTS_NAME
from
transformers
import
OpenAIGPTConfig
,
OpenAIGPTModel
,
load_tf_weights_in_openai_gpt
from
...utils
import
logging
from
transformers.file_utils
import
CONFIG_NAME
,
WEIGHTS_NAME
from
.
import
OpenAIGPTConfig
,
OpenAIGPTModel
,
load_tf_weights_in_openai_gpt
from
transformers.utils
import
logging
logging
.
set_verbosity_info
()
logging
.
set_verbosity_info
()
...
...
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