You could select a small subset of your dataset (e.g. just 10 samples) and validate your approach (e.g. if the right pos_weight was used or to further fine tune the pos_weight).
Once your model training behaves as desired, you could scale it up again.