It seems (from huggingface github repo) that the “conversational” task is deprecated now, I wonder why it has been used in this new course. Or is it going to be reintroduced?
2 Likes
Yes, this is true and pretty much makes the videos obsolete. To work with it at least in a similar way to the NLP video something like this will work:
pipe = pipeline(‘text2text-generation’, model=“facebook/blenderbot-400M-distill”)
response = pipe(“Tell me a bit about the endoplasmic reticulum”)
print(f"Bot: {response[0][‘generated_text’]}")
Bot: Well, it’s basically a way of teaching students how to read, write, and communicate.
(not a great answer lol)