not-lain commited on
Commit
7e5912b
·
1 Parent(s): 7f17a63

Update modeling_tunbert.py

Browse files
Files changed (1) hide show
  1. modeling_tunbert.py +1 -0
modeling_tunbert.py CHANGED
@@ -14,6 +14,7 @@ class classifier(nn.Module):
14
 
15
 
16
  class TunBERT(PreTrainedModel):
 
17
  def __init__(self, config):
18
  super().__init__(config)
19
  self.BertModel = BertModel(config)
 
14
 
15
 
16
  class TunBERT(PreTrainedModel):
17
+ config_class = AutoConfig
18
  def __init__(self, config):
19
  super().__init__(config)
20
  self.BertModel = BertModel(config)