ajitrajasekharan commited on
Commit
29d764f
1 Parent(s): 318ce43

Update BatchInference.py

Browse files
Files changed (1) hide show
  1. BatchInference.py +1 -1
BatchInference.py CHANGED
@@ -532,7 +532,7 @@ class BatchInference:
532
  continue
533
  if (index.startswith("#")): #subwords suggest model is trying to predict a multi word term that generally tends to be noisy. So penalize. Count and skip
534
  k += 1
535
- continue
536
  #print(index,round(float(sorted_d[index]),4))
537
  if (sent_index % 2 != 0):
538
  #CS predictions
532
  continue
533
  if (index.startswith("#")): #subwords suggest model is trying to predict a multi word term that generally tends to be noisy. So penalize. Count and skip
534
  k += 1
535
+ continue
536
  #print(index,round(float(sorted_d[index]),4))
537
  if (sent_index % 2 != 0):
538
  #CS predictions