zhihan1996 commited on
Commit
0109f62
1 Parent(s): 7e37201

Update bert_layers.py

Browse files
Files changed (1) hide show
  1. bert_layers.py +1 -1
bert_layers.py CHANGED
@@ -522,7 +522,7 @@ class BertPredictionHeadTransform(nn.Module):
522
  return hidden_states
523
 
524
 
525
- class BertModel(PreTrainedModel):
526
  """Overall BERT model.
527
 
528
  Args:
 
522
  return hidden_states
523
 
524
 
525
+ class BertModel(BertPreTrainedModel):
526
  """Overall BERT model.
527
 
528
  Args: