Sampling and Loss Weights in Multi-Domain Training