Instructions to use facebook/blenderbot-400M-distill with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use facebook/blenderbot-400M-distill with Transformers:
# Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("facebook/blenderbot-400M-distill") model = AutoModelForSeq2SeqLM.from_pretrained("facebook/blenderbot-400M-distill", device_map="auto") - Notebooks
- Google Colab
- Kaggle
fine tuning
can someone tell me how to train this model with custom data
how did you call it ?
because i get error here
chatbot = pipeline(task="conversational",
model="./models/facebook/blenderbot-400M-distill")
here is the error
Incorrect path_or_model_id: './models/facebook/blenderbot-400M-distill'. Please provide either the path to a local folder or the repo_id of a model on the Hub.
how did you call it ?
because i get error here
chatbot = pipeline(task="conversational",
model="./models/facebook/blenderbot-400M-distill")here is the error
Incorrect path_or_model_id: './models/facebook/blenderbot-400M-distill'. Please provide either the path to a local folder or the repo_id of a model on the Hub.
Use this code instead.
model="facebook/blenderbot-400M-distill"
Hi, I am getting error that conversational task is not supported suddenly.I was working fine until today.
I am using transformers-4.42.3 and tried with transformers-4.41.2 also.
Changed the pipeline to text2text-generation but after that Conversation function is not supported.
---> from transformers import Conversation .
Please suggest.