A Temporal Stochastic Bias Correction using a Machine Learning Attention model