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
f3d1511b
Commit
f3d1511b
authored
Sep 24, 2019
by
thomwolf
Browse files
fix imports
parent
dd2d90f3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
pytorch_transformers/modeling_tf_auto.py
pytorch_transformers/modeling_tf_auto.py
+7
-7
No files found.
pytorch_transformers/modeling_tf_auto.py
View file @
f3d1511b
...
@@ -19,13 +19,13 @@ from __future__ import absolute_import, division, print_function, unicode_litera
...
@@ -19,13 +19,13 @@ from __future__ import absolute_import, division, print_function, unicode_litera
import
logging
import
logging
from
.modeling_tf_bert
import
TFBertModel
,
TFBertForMaskedLM
,
TFBertForSequenceClassification
,
TFBertForQuestionAnswering
from
.modeling_tf_bert
import
TFBertModel
,
TFBertForMaskedLM
,
TFBertForSequenceClassification
,
TFBertForQuestionAnswering
from
.modeling_openai
import
TFOpenAIGPTModel
,
TFOpenAIGPTLMHeadModel
from
.modeling_
tf_
openai
import
TFOpenAIGPTModel
,
TFOpenAIGPTLMHeadModel
from
.modeling_gpt2
import
TFGPT2Model
,
TFGPT2LMHeadModel
from
.modeling_
tf_
gpt2
import
TFGPT2Model
,
TFGPT2LMHeadModel
from
.modeling_transfo_xl
import
TFTransfoXLModel
,
TFTransfoXLLMHeadModel
from
.modeling_
tf_
transfo_xl
import
TFTransfoXLModel
,
TFTransfoXLLMHeadModel
from
.modeling_xlnet
import
TFXLNetModel
,
TFXLNetLMHeadModel
,
TFXLNetForSequenceClassification
,
TFXLNetForQuestionAnswering
from
.modeling_
tf_
xlnet
import
TFXLNetModel
,
TFXLNetLMHeadModel
,
TFXLNetForSequenceClassification
,
TFXLNetForQuestionAnswering
from
.modeling_xlm
import
TFXLMModel
,
TFXLMWithLMHeadModel
,
TFXLMForSequenceClassification
,
TFXLMForQuestionAnsweringSimple
from
.modeling_
tf_
xlm
import
TFXLMModel
,
TFXLMWithLMHeadModel
,
TFXLMForSequenceClassification
,
TFXLMForQuestionAnsweringSimple
from
.modeling_roberta
import
TFRobertaModel
,
TFRobertaForMaskedLM
,
TFRobertaForSequenceClassification
from
.modeling_
tf_
roberta
import
TFRobertaModel
,
TFRobertaForMaskedLM
,
TFRobertaForSequenceClassification
from
.modeling_distilbert
import
TFDistilBertModel
,
TFDistilBertForQuestionAnswering
,
TFDistilBertForMaskedLM
,
TFDistilBertForSequenceClassification
from
.modeling_
tf_
distilbert
import
TFDistilBertModel
,
TFDistilBertForQuestionAnswering
,
TFDistilBertForMaskedLM
,
TFDistilBertForSequenceClassification
from
.file_utils
import
add_start_docstrings
from
.file_utils
import
add_start_docstrings
...
...
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