Update modeling_tunbert.py
Browse files- 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)
|