Commit
·
2c3d9da
1
Parent(s):
a15e571
lets try to change the pipeline
Browse files- modeling_stacked.py +2 -2
modeling_stacked.py
CHANGED
|
@@ -32,8 +32,8 @@ class ExtendedMultitaskModelForTokenClassification(PreTrainedModel):
|
|
| 32 |
config_class = ImpressoConfig
|
| 33 |
_keys_to_ignore_on_load_missing = [r"position_ids"]
|
| 34 |
|
| 35 |
-
def __init__(self):
|
| 36 |
-
super().__init__()
|
| 37 |
# self.num_token_labels_dict = get_info(config.label_map)
|
| 38 |
# self.config = config
|
| 39 |
# # print(f"I dont think it arrives here: {self.config}")
|
|
|
|
| 32 |
config_class = ImpressoConfig
|
| 33 |
_keys_to_ignore_on_load_missing = [r"position_ids"]
|
| 34 |
|
| 35 |
+
def __init__(self, config):
|
| 36 |
+
super().__init__(config)
|
| 37 |
# self.num_token_labels_dict = get_info(config.label_map)
|
| 38 |
# self.config = config
|
| 39 |
# # print(f"I dont think it arrives here: {self.config}")
|