How Does A Transformer Model Work