Associative Learning Models: From Hebb to Transformers