I’m using LangChain and had set the task as "text-generation"
in HuggingFaceHub
. It seems the model only supports the "conversational"
task.
My questions:
- How can I properly use this model with the correct task?
- Where can I find a list of supported tasks for a model or provider programmatically?
- Is there a way to fall back to another provider or model if the task isn’t supported?
Any help would be appreciated
Thanks in advance!
— Ayush