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
ed302a73
Commit
ed302a73
authored
Nov 30, 2018
by
thomwolf
Browse files
add new token classification model
parent
89d47230
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
pytorch_pretrained_bert/__init__.py
pytorch_pretrained_bert/__init__.py
+2
-1
No files found.
pytorch_pretrained_bert/__init__.py
View file @
ed302a73
from
.tokenization
import
BertTokenizer
,
BasicTokenizer
,
WordpieceTokenizer
from
.modeling
import
(
BertConfig
,
BertModel
,
BertForPreTraining
,
BertForMaskedLM
,
BertForNextSentencePrediction
,
BertForSequenceClassification
,
BertForQuestionAnswering
)
BertForSequenceClassification
,
BertForTokenClassification
,
BertForQuestionAnswering
)
from
.optimization
import
BertAdam
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