File size: 279 Bytes
8eeb24b |
1 2 3 4 5 6 7 |
from transformers import pipeline, Conversation
converse = pipeline("conversational")
conversation_1 = Conversation("Going to the movies tonight - any suggestions?")
conversation_2 = Conversation("What's the last book you have read?")
converse([conversation_1, conversation_2]) |