Simple example transformer

I want to understand how the transformer works with a simple example. For example, predict the next word. All the examples that I have found for me while complex. If anyone has a simple example, so that I can understand, I would be very grateful.