2024
Can Transformers Learn n-gram Language Models?
EMNLP 2024main
Much theoretical work has described the ability of transformers to represent formal languages. However, linking theoretical results to empirical performance is not straightforward due to the complex interplay between the architecture, the learning algorithm, and training data. To test whether theore…