Gleb Vinarskis
commited on
Commit
·
4aee592
1
Parent(s):
4c31efb
test
Browse files- modeling_stacked.py +1 -1
modeling_stacked.py
CHANGED
@@ -16,7 +16,7 @@ def get_info(label_map):
|
|
16 |
return num_token_labels_dict
|
17 |
|
18 |
|
19 |
-
class ExtendedMultitaskModelForTokenClassification():
|
20 |
def __init__(self, config):
|
21 |
super().__init__(config)
|
22 |
self.config = config
|
|
|
16 |
return num_token_labels_dict
|
17 |
|
18 |
|
19 |
+
class ExtendedMultitaskModelForTokenClassification(PreTrainedModel):
|
20 |
def __init__(self, config):
|
21 |
super().__init__(config)
|
22 |
self.config = config
|