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
Hi Yzhenyu
Usage examples: https://colab.research.google.com/drive/1-t5ffjZB98MLH-lfab4i_daF-_PnTBUi?usp=sharing
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