Offsetting Gambling Gains Against Losses In Transformer