$\beta$-Variational autoencoders and transformers for reduced-order modelling of fluid flows