Skip to content

Commit

Permalink
HubConf configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
LysandreJik committed Aug 30, 2019
1 parent f35f612 commit bc29aa6
Show file tree
Hide file tree
Showing 2 changed files with 411 additions and 3 deletions.
11 changes: 8 additions & 3 deletions hubconf.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
dependencies = ['torch', 'tqdm', 'boto3', 'requests', 'regex']

from pytorch_transformers import (
AutoTokenizer, AutoModel, AutoModelWithLMHead, AutoModelForSequenceClassification, AutoModelForQuestionAnswering
)
from hubconfs.automodels_hubconf import (
autoConfig,
autoModel,
autoModelForQuestionAnswering,
autoModelForSequenceClassification,
autoModelWithLMHead,
autoTokenizer,
)
Loading

0 comments on commit bc29aa6

Please sign in to comment.