from transformers import pipeline nlp = pipeline('text2text-generation',model ='.\\',trust_remote_code=True) # response = nlp