Do we need any Hugging face Api key

I am unable to run the code in my own machine as it throws error regarding accessing the facebook blendor bot

2 Likes

Hello @senthilabaranji

Please share screenshot of the error you are encountering so further assistance could be provided.

You could also share codes as your codes would not be part of any graded assignment.

Regards
DP

1 Like

Hi, I bumped into it as well. On local machine you just need to get rid of the part “./models/” (which is apparently the folder in which the models got cached), so the path in your case would be: model=“facebook/blenderbot-400M-distill”.

Hope it helps.

2 Likes

Thank you @senthilabaranji for the question and @wmartinezyo for the help!
Indeed, to run locally, it is recommended to also follow the Hugging Face facebook/blenderbot-400M-distill documentation., those commands are used in the course!

1 Like