Update modeling_mcqbert.py
Browse files- modeling_mcqbert.py +2 -0
modeling_mcqbert.py
CHANGED
@@ -4,6 +4,8 @@ import torch
|
|
4 |
from .configuration_mcqbert import MCQBertConfig
|
5 |
|
6 |
class MCQBert(BertModel):
|
|
|
|
|
7 |
def __init__(self, config: MCQBertConfig):
|
8 |
super().__init__(BertConfig(**config.__dict__))
|
9 |
|
|
|
4 |
from .configuration_mcqbert import MCQBertConfig
|
5 |
|
6 |
class MCQBert(BertModel):
|
7 |
+
config_class = MCQBertConfig
|
8 |
+
|
9 |
def __init__(self, config: MCQBertConfig):
|
10 |
super().__init__(BertConfig(**config.__dict__))
|
11 |
|