Update modeling_apex.py
Browse files- modeling_apex.py +7 -0
modeling_apex.py
CHANGED
|
@@ -63,6 +63,13 @@ class APEXModel(PreTrainedModel):
|
|
| 63 |
_keys_to_ignore_on_load_missing = [r"mert\..*", r"mert_processor\..*"]
|
| 64 |
_tied_weights_keys = []
|
| 65 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 66 |
def __init__(self, config: APEXConfig):
|
| 67 |
super().__init__(config)
|
| 68 |
|
|
|
|
| 63 |
_keys_to_ignore_on_load_missing = [r"mert\..*", r"mert_processor\..*"]
|
| 64 |
_tied_weights_keys = []
|
| 65 |
|
| 66 |
+
@property
|
| 67 |
+
def all_tied_weights_keys(self):
|
| 68 |
+
return []
|
| 69 |
+
|
| 70 |
+
def _init_weights(self, module):
|
| 71 |
+
pass
|
| 72 |
+
|
| 73 |
def __init__(self, config: APEXConfig):
|
| 74 |
super().__init__(config)
|
| 75 |
|