Introduction: The Transformer algorithm has revolutionised machine learning since its inception in 2017. Its self-attention mechanism and unique architecture have reshaped natural language processing (NLP) and extended into various other domains, showcasing its unparalleled potential. Understanding the