Thanks for the clarification.
If I understand the question correctly, you are wondering why the output values of the last linear take values such as [4.2354, -4.1672]?
The last linear layer outputs logits, which are raw prediction values and are not bounded to a specific range.
The lower the value, the lower the probability and vice versa.
In your case your model is pretty confident that the current sample belongs to class0. You can see the probabilities using softmax (which you’ve already done) and see that the class0 probability would correspond to ~98.6%.