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
2576a5c6
Commit
2576a5c6
authored
Jun 01, 2019
by
VictorSanh
Browse files
update hubconf for gpt2 torchhub compatibility
parent
a92b6dc3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletion
+7
-1
hubconf.py
hubconf.py
+7
-1
No files found.
hubconf.py
View file @
2576a5c6
...
...
@@ -16,4 +16,10 @@ from hubconfs.gpt_hubconf import (
openAIGPTModel
,
openAIGPTLMHeadModel
,
openAIGPTDoubleHeadsModel
)
\ No newline at end of file
)
from
hubconfs.gpt2_hubconf
import
(
gpt2Tokenizer
,
gpt2Model
,
gpt2LMHeadModel
,
gpt2DoubleHeadsModel
)
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