Skip to content

Commit

Permalink
Addressed PR comments
Browse files Browse the repository at this point in the history
  • Loading branch information
Frost45 committed Oct 12, 2022
1 parent 1b60b1b commit f1db9a9
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion regression_tests/test_gector_roberta.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,6 @@ def predict_for_file(input_file, temp_file, model, batch_size=32):
if len(batch) == batch_size:
preds, cnt = model.handle_batch(batch)
predictions.extend(preds)
cnt_corrections += cnt
batch = []
if batch:
preds, cnt = model.handle_batch(batch)
Expand Down

0 comments on commit f1db9a9

Please sign in to comment.