You should increase the weight of the minority class.
Based on the class distribution, [0.1, 0.9] should work better than the other way around.
If you would like to check for correctness, you could create dummy examples misclassifying one specific class and see, how the loss is scaled up or down.
If you don’t use the GPU for your model, you don’t have to push the weights onto the device either.