Spaces:
Sleeping
Sleeping
app modified
Browse files
app.py
CHANGED
@@ -334,7 +334,8 @@ class ModeloDataset:
|
|
334 |
i=i+1
|
335 |
labels = predicted_token_class_ids
|
336 |
loss = self.model(input_ids, labels=labels).loss
|
337 |
-
|
|
|
338 |
print('tokenized_text',tokenized_text)
|
339 |
new_tokens,ig_tokens=self.reordenacion_tokens(tokenized_text) #
|
340 |
new_identificadores = self.reordenacion_identificadores(ig_tokens,_predicted_tokens_classes)#
|
|
|
334 |
i=i+1
|
335 |
labels = predicted_token_class_ids
|
336 |
loss = self.model(input_ids, labels=labels).loss
|
337 |
+
|
338 |
+
print('_predicted_tokens_classes',_predicted_tokens_classes)
|
339 |
print('tokenized_text',tokenized_text)
|
340 |
new_tokens,ig_tokens=self.reordenacion_tokens(tokenized_text) #
|
341 |
new_identificadores = self.reordenacion_identificadores(ig_tokens,_predicted_tokens_classes)#
|