src/transformers/file_utils.py/ModelOutput/update
class ModelOutput:    def update(self, *args, **kwargs):
        raise Exception(f"You cannot use ``update`` on a {self.__class__.__name__} instance.")