I have already done some Text classification tasks with pytorch.
But when I review my  code ，I found that they are basically the same except the loss function(CrossEntropyLoss, BCEWithLogitsLoss)
In my opinion, at least the activation function should be different(softmax ,sigmoid)
So  who can tell me the difference between multiple classification and binary classification in pytorch code？