Language Evaluator for “Natural Language Actor-Critic”

Mathematically, compute_evaluator_loss implements the Sequence-Level Masked Cross-Entropy Loss for a causal autoregressive language model.