Kernel Identification Through Transformers