Commit
·
2bc2b78
1
Parent(s):
f729b09
testin the trick
Browse files- modeling_stacked.py +1 -1
modeling_stacked.py
CHANGED
|
@@ -102,7 +102,7 @@ class ExtendedMultitaskModelForTokenClassification(PreTrainedModel):
|
|
| 102 |
print("Ignoring state_dict since model has no parameters.")
|
| 103 |
|
| 104 |
def get_floret_model(self):
|
| 105 |
-
return self.
|
| 106 |
|
| 107 |
def get_extended_attention_mask(
|
| 108 |
self, attention_mask, input_shape, device=None, dtype=torch.float
|
|
|
|
| 102 |
print("Ignoring state_dict since model has no parameters.")
|
| 103 |
|
| 104 |
def get_floret_model(self):
|
| 105 |
+
return self.safe_floret
|
| 106 |
|
| 107 |
def get_extended_attention_mask(
|
| 108 |
self, attention_mask, input_shape, device=None, dtype=torch.float
|