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
bc29aa67
Commit
bc29aa67
authored
Aug 30, 2019
by
LysandreJik
Browse files
HubConf configuration
parent
f35f6122
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
411 additions
and
3 deletions
+411
-3
hubconf.py
hubconf.py
+8
-3
hubconfs/automodels_hubconf.py
hubconfs/automodels_hubconf.py
+403
-0
No files found.
hubconf.py
View file @
bc29aa67
dependencies
=
[
'torch'
,
'tqdm'
,
'boto3'
,
'requests'
,
'regex'
]
dependencies
=
[
'torch'
,
'tqdm'
,
'boto3'
,
'requests'
,
'regex'
]
from
pytorch_transformers
import
(
from
hubconfs.automodels_hubconf
import
(
AutoTokenizer
,
AutoModel
,
AutoModelWithLMHead
,
AutoModelForSequenceClassification
,
AutoModelForQuestionAnswering
autoConfig
,
)
autoModel
,
autoModelForQuestionAnswering
,
autoModelForSequenceClassification
,
autoModelWithLMHead
,
autoTokenizer
,
)
\ No newline at end of file
hubconfs/automodels_hubconf.py
0 → 100644
View file @
bc29aa67
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