Long-term traffic flow predictions in a transformer-based framework