Similar Items: Spiking Sequence Machines and Transformers