emanuelaboros commited on
Commit
6111322
·
verified ·
1 Parent(s): 5bcae76

Update generic_nel.py

Browse files
Files changed (1) hide show
  1. generic_nel.py +1 -1
generic_nel.py CHANGED
@@ -151,7 +151,7 @@ class NelPipeline(Pipeline):
151
  sequence_confidence = torch.exp(log_prob_sum)
152
  percentage = sequence_confidence.cpu().numpy() * 100.0
153
 
154
- print(wikipedia_prediction, enclosed_entity, lOffset, rOffset, percentage)
155
 
156
  # Return the predictions along with the extracted entity, lOffset, and rOffset
157
  return wikipedia_prediction, enclosed_entity, lOffset, rOffset, percentage
 
151
  sequence_confidence = torch.exp(log_prob_sum)
152
  percentage = sequence_confidence.cpu().numpy() * 100.0
153
 
154
+ # print(wikipedia_prediction, enclosed_entity, lOffset, rOffset, percentage)
155
 
156
  # Return the predictions along with the extracted entity, lOffset, and rOffset
157
  return wikipedia_prediction, enclosed_entity, lOffset, rOffset, percentage