Sorry for not seeing it earlier, but _, predictions = torch.max(outputs.data, 1) won’t work if your output only contains a single output unit.
If your model is defined as:
binaryClassifier(
  (linear): Linear(in_features=26, out_features=1, bias=True)
)

you should get the prediction from the logits as preds = output > 0.0 in the default use case.
You could of course change the threshold later.