Commit
·
200f4e7
1
Parent(s):
e2fdfd0
testin the trick
Browse files- modeling_stacked.py +2 -2
modeling_stacked.py
CHANGED
|
@@ -53,8 +53,8 @@ class ExtendedMultitaskModelForTokenClassification(PreTrainedModel):
|
|
| 53 |
|
| 54 |
# Load floret model
|
| 55 |
self.dummy_param = nn.Parameter(torch.zeros(1))
|
| 56 |
-
self.safe_floret = SafeFloretWrapper(self.config.filename)
|
| 57 |
-
print(self.config.config)
|
| 58 |
print(type(self.config))
|
| 59 |
print(self.config.config.filename)
|
| 60 |
# self.model_floret = SafeFloretWrapper(model_floret)
|
|
|
|
| 53 |
|
| 54 |
# Load floret model
|
| 55 |
self.dummy_param = nn.Parameter(torch.zeros(1))
|
| 56 |
+
self.safe_floret = SafeFloretWrapper(self.config.config.filename)
|
| 57 |
+
# print(self.config.config)
|
| 58 |
print(type(self.config))
|
| 59 |
print(self.config.config.filename)
|
| 60 |
# self.model_floret = SafeFloretWrapper(model_floret)
|