1 EBM can be implemented with transformers by replacing the softmax prediction head with a single energy scalar head that outputs an energy value instead of logits.
“the usual softmax prediction head is swapped for a single scalar energy head and each symbol is obtained by pushing a candidate output downhill with a few gradient descent steps on this energy surface”