A transformer-based time series forecasting model with an efficient data preprocessing scheme