Views
No views yet
1from transformers import pipeline 2 3pipe = pipeline('text2text-generation', model="cardiffnlp/flan-t5-small-tweet-sentiment") 4output = pipe("context: Thanks to @user I just may be switching over to @user, target: @microsoft")