emanuelaboros commited on
Commit
0f46607
·
1 Parent(s): 2bc2b78

testin the trick

Browse files
Files changed (1) hide show
  1. modeling_stacked.py +1 -1
modeling_stacked.py CHANGED
@@ -63,7 +63,7 @@ class ExtendedMultitaskModelForTokenClassification(PreTrainedModel):
63
  def forward(self, input_ids, attention_mask=None, **kwargs):
64
  # Convert input_ids to strings using tokenizer
65
  print(
66
- f"Check if it arrives here: {input_ids}, ---, {type(input_ids)} ----- {type(self.model_floret)}"
67
  )
68
  if isinstance(input_ids, str):
69
  # If the input is a single string, make it a list for floret
 
63
  def forward(self, input_ids, attention_mask=None, **kwargs):
64
  # Convert input_ids to strings using tokenizer
65
  print(
66
+ f"Check if it arrives here: {input_ids}, ---, {type(input_ids)} ----- {type(self.safe_floret)}"
67
  )
68
  if isinstance(input_ids, str):
69
  # If the input is a single string, make it a list for floret