Background
- RNN's Long-range dependency issues over 50 words. With transformers, long-range dependencies have the same likelihood of being taken into account as any other short-range dependencies
- RNNs Suffers from exploding/vanishing gradients. Residual connections and layer norm minimizes gradient issues
- RNNs need many steps to converge with longer sequence lengths. Transformers use a fixed number of layers regardless of seq length, reduces training complexity
- RNN processes tokens sequentially blocking GPU parallelism, Transformers process all tokens simultaneously ~ Parallelized







Limitations: can produce hallucinated information
Self-Attention Numerical 😈
