Transformers routinely process context windows of thousands, even millions, of tokens, a massive leap compared to the few hundreds of tokens LSTMs could effectively manage before vanishing gradient issues limited their memory.
Open the full topic