def METHOD_NAME(self,
                               model_id,
                               input,
                               init_kwargs={},
                               run_kwargs={}):
    pipeline_ins = pipeline(
        task=Tasks.text_generation, model=model_id, **init_kwargs)
    pipeline_ins._model_prepare = True
    result = pipeline_ins(input, **run_kwargs)
    print(result['text'])