Unverified Commit 7f9193ef authored by Jordan's avatar Jordan Committed by GitHub
Browse files

Fixed Style Inconsistency (#3976)

parent 64070cbb
...@@ -1079,7 +1079,7 @@ class BertForSequenceClassification(BertPreTrainedModel): ...@@ -1079,7 +1079,7 @@ class BertForSequenceClassification(BertPreTrainedModel):
self.bert = BertModel(config) self.bert = BertModel(config)
self.dropout = nn.Dropout(config.hidden_dropout_prob) self.dropout = nn.Dropout(config.hidden_dropout_prob)
self.classifier = nn.Linear(config.hidden_size, self.config.num_labels) self.classifier = nn.Linear(config.hidden_size, config.num_labels)
self.init_weights() 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