Commit
·
4e298b5
1
Parent(s):
05327a7
lets try to change the pipeline
Browse files- modeling_stacked.py +1 -0
modeling_stacked.py
CHANGED
|
@@ -37,6 +37,7 @@ class ExtendedMultitaskModelForTokenClassification(PreTrainedModel):
|
|
| 37 |
|
| 38 |
# Load floret model
|
| 39 |
self.model_floret = floret.load_model(self.config.filename)
|
|
|
|
| 40 |
|
| 41 |
def forward(self, input_ids, attention_mask=None, **kwargs):
|
| 42 |
# Convert input_ids to strings using tokenizer
|
|
|
|
| 37 |
|
| 38 |
# Load floret model
|
| 39 |
self.model_floret = floret.load_model(self.config.filename)
|
| 40 |
+
print(f"Model loaded: {self.model_floret}")
|
| 41 |
|
| 42 |
def forward(self, input_ids, attention_mask=None, **kwargs):
|
| 43 |
# Convert input_ids to strings using tokenizer
|