def state_dict(self):
        """Return the LR scheduler state dict."""
        return {
            "best": self.lr_scheduler.best,
            "last_epoch": self.lr_scheduler.last_epoch,
        }
Return the LR scheduler state dict.
structured_prompting/fairseq-version/fairseq/fairseq/optim/lr_scheduler/reduce_lr_on_plateau.py