Unverified Commit 7d2feb3a authored by weierstrass_walker's avatar weierstrass_walker Committed by GitHub
Browse files

Update modeling_bert.py (#13129)

parent a13c8145
......@@ -1585,7 +1585,7 @@ class BertForMultipleChoice(BertPreTrainedModel):
super().__init__(config)
self.bert = BertModel(config)
self.dropout = nn.Dropout(config.hidden_dropout_prob)
self.dropout = nn.Dropout(config.classifier_dropout_prob)
self.classifier = nn.Linear(config.hidden_size, 1)
self.init_weights()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment