<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def delete_model(self):
 """Delete the SageMaker model backing this pipeline model. This does not delete the list of SageMaker models used in multiple containers to build the inference pipeline. """


        if self.name is None:
            raise ValueError('The SageMaker model must be created before attempting to delete.')

        self.sagemaker_session.delete_model(self.name)