how to use

#2
by Yzhenyu - opened

I have downloaded the model, but I don't know how to run it after looking the usage
from transformers import pipeline

pipe = pipeline('summarization', "dominguesm/positive-reframing-en")

text = "['growth']: totally fed up with this bid now! :-( haven't even thought about my presentation yet :-("

pipe(text, max_length=1024)
do someone know how to use this model, please reply this discussion

thank you very much,I have run it successfully. I didn't expect you to reply so promptly, thank you again!

dominguesm changed discussion status to closed

Sign up or log in to comment