text_model/model_skeleton.py
def _get_loss(self, model_out, label):
        """
        Get model loss with inference results and labels.
        """
        ## NOTE put model loss logic here
        return { "loss" : None }

        Get model loss with inference results and labels.
        
Get model loss with inference results and labels.
Get model loss with inference results and labels .
def _get_loss(self, model_out, label):
        return { "loss" : None }
def _get_loss ( self , model_out , label ) : return { "loss" : None }
Get model loss with inference results and labels.
Get model loss with inference results and labels .
"""
        Get model loss with inference results and labels.
        """ ## NOTE put model loss logic here
self
model_out
label