Model_fn and predict_fn called multiple times?

I am using the prebuilt SageMaker Hugging face container
In the entry_point,I include a script which carries out the batch transformation job.

‘’’
def model_fn():

def input_fn():

def predict_fn():

‘’’