Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
chenpangpang
transformers
Commits
7a1f174a
Commit
7a1f174a
authored
Aug 30, 2019
by
thomwolf
Browse files
update names of torch.hub to simpler names - update docstring
parent
c665e0fc
Changes
2
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
63 additions
and
360 deletions
+63
-360
hubconf.py
hubconf.py
+7
-7
hubconfs/automodels_hubconf.py
hubconfs/automodels_hubconf.py
+56
-353
No files found.
hubconf.py
View file @
7a1f174a
dependencies
=
[
'torch'
,
'tqdm'
,
'boto3'
,
'requests'
,
'regex'
]
dependencies
=
[
'torch'
,
'tqdm'
,
'boto3'
,
'requests'
,
'regex'
,
'sentencepiece'
,
'sacremoses'
]
from
hubconfs.automodels_hubconf
import
(
from
hubconfs.automodels_hubconf
import
(
autoC
onfig
,
c
onfig
,
autoM
odel
,
m
odel
,
autoM
odelForQuestionAnswering
,
m
odelForQuestionAnswering
,
autoM
odelForSequenceClassification
,
m
odelForSequenceClassification
,
autoM
odelWithLMHead
,
m
odelWithLMHead
,
autoT
okenizer
,
t
okenizer
,
)
)
hubconfs/automodels_hubconf.py
View file @
7a1f174a
This diff is collapsed.
Click to expand it.
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