src/transformers/modelcard.py/ModelCard/to_dict
class ModelCard:    def to_dict(self):
        """Serializes this instance to a Python dictionary."""
        output = copy.deepcopy(self.__dict__)
        return output