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
8aba81a0
"git@developer.sourcefind.cn:chenpangpang/transformers.git" did not exist on "511523672b565277e9889c5d2ec422919715914c"
Commit
8aba81a0
authored
Nov 12, 2019
by
thomwolf
Browse files
fix #1789
parent
b5d330d1
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
README.md
README.md
+1
-2
No files found.
README.md
View file @
8aba81a0
...
@@ -171,8 +171,7 @@ for model_class, tokenizer_class, pretrained_weights in MODELS:
...
@@ -171,8 +171,7 @@ for model_class, tokenizer_class, pretrained_weights in MODELS:
# Each architecture is provided with several class for fine-tuning on down-stream tasks, e.g.
# Each architecture is provided with several class for fine-tuning on down-stream tasks, e.g.
BERT_MODEL_CLASSES
=
[
BertModel
,
BertForPreTraining
,
BertForMaskedLM
,
BertForNextSentencePrediction
,
BERT_MODEL_CLASSES
=
[
BertModel
,
BertForPreTraining
,
BertForMaskedLM
,
BertForNextSentencePrediction
,
BertForSequenceClassification
,
BertForMultipleChoice
,
BertForTokenClassification
,
BertForSequenceClassification
,
BertForTokenClassification
,
BertForQuestionAnswering
]
BertForQuestionAnswering
]
# All the classes for an architecture can be initiated from pretrained weights for this architecture
# All the classes for an architecture can be initiated from pretrained weights for this architecture
# Note that additional weights added for fine-tuning are only initialized
# Note that additional weights added for fine-tuning are only initialized
...
...
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