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
9b2540b5
Commit
9b2540b5
authored
Jan 29, 2019
by
thomwolf
Browse files
update __init__
parent
bd3b3aee
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
pytorch_pretrained_bert/__init__.py
pytorch_pretrained_bert/__init__.py
+6
-6
No files found.
pytorch_pretrained_bert/__init__.py
View file @
9b2540b5
...
@@ -6,15 +6,15 @@ from .tokenization_transfo_xl import (TransfoXLTokenizer, TransfoXLCorpus)
...
@@ -6,15 +6,15 @@ from .tokenization_transfo_xl import (TransfoXLTokenizer, TransfoXLCorpus)
from
.modeling
import
(
BertConfig
,
BertModel
,
BertForPreTraining
,
from
.modeling
import
(
BertConfig
,
BertModel
,
BertForPreTraining
,
BertForMaskedLM
,
BertForNextSentencePrediction
,
BertForMaskedLM
,
BertForNextSentencePrediction
,
BertForSequenceClassification
,
BertForMultipleChoice
,
BertForSequenceClassification
,
BertForMultipleChoice
,
BertForTokenClassification
,
BertForQuestionAnswering
)
BertForTokenClassification
,
BertForQuestionAnswering
,
load_tf_weights_in_bert
)
from
.modeling_openai
import
(
OpenAIGPTConfig
,
OpenAIGPTModel
,
from
.modeling_openai
import
(
OpenAIGPTConfig
,
OpenAIGPTModel
,
OpenAIGPTLMHeadModel
,
OpenAIGPTDoubleHeadsModel
)
OpenAIGPTLMHeadModel
,
OpenAIGPTDoubleHeadsModel
,
from
.modeling_transfo_xl
import
(
TransfoXLConfig
,
TransfoXLModel
)
load_tf_weights_in_openai_gpt
)
from
.modeling_transfo_xl
import
(
TransfoXLConfig
,
TransfoXLModel
,
load_tf_weights_in_transfo_xl
)
from
.optimization
import
BertAdam
from
.optimization
import
BertAdam
from
.optimization_openai
import
OpenAIAdam
from
.optimization_openai
import
OpenAIAdam
from
.convert_openai_checkpoint_to_pytorch
import
load_tf_weights_in_openai_gpt
from
.convert_tf_checkpoint_to_pytorch
import
load_tf_weights_in_bert
from
.convert_transfo_xl_checkpoint_to_pytorch
import
load_tf_weights_in_transfo_xl
from
.file_utils
import
PYTORCH_PRETRAINED_BERT_CACHE
from
.file_utils
import
PYTORCH_PRETRAINED_BERT_CACHE
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