transformers icon indicating copy to clipboard operation
transformers copied to clipboard

Model Request: Blenderbot 2.0

Open Xirider opened this issue 4 years ago • 26 comments

🌟 New model addition

Model description

Facebook released Blenderbot 2.0, a chatbot that builds on RAG and Blenderbot 1.0. It can save interactions for later reference and use web search to find information on the web.

https://parl.ai/projects/blenderbot2/

Open source status

  • [x] the model implementation is available: in Parl.ai
  • [x] the model weights are available: https://parl.ai/docs/zoo.html#wizard-of-internet-models
  • [ ] who are the authors: (mention them, if possible by @gh-username)

Xirider avatar Jul 20 '21 11:07 Xirider

I am interested to work on this. Can we use RAG-end2end ?

shamanez avatar Jul 31 '21 04:07 shamanez

Is there any news regarding Blenderbot 2.0 with huggingface?

Mahmoud-Yasser-16 avatar Aug 29 '21 15:08 Mahmoud-Yasser-16

Any new updates? It's been three months.

rvong65 avatar Oct 23 '21 15:10 rvong65

Does anyone want to work together on this?

rvong65 avatar Nov 02 '21 13:11 rvong65

I'm interested too. FYI https://github.com/JulesGM/ParlAI_SearchEngine.

louis030195 avatar Nov 04 '21 06:11 louis030195

+1

rmiaouh avatar Nov 20 '21 10:11 rmiaouh

+1 GitHub - shamanez

On Sat, Nov 20, 2021, 23:30 RM @.***> wrote:

+1

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/huggingface/transformers/issues/12807#issuecomment-974628903, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEA4FGTW5KWREVEYFQT5PUTUM52EPANCNFSM5AVTBZYQ .

shamanez avatar Nov 20 '21 19:11 shamanez

+1 is there any progress for this?

neuromaancer avatar Dec 30 '21 09:12 neuromaancer

Hi @AlafateABULIMITI Yes, we are considering adding this model. But since this is a complex model it might take a couple of weeks to fully integrate it.

patil-suraj avatar Dec 30 '21 11:12 patil-suraj

+1

avacaondata avatar Jan 05 '22 11:01 avacaondata

Really excited for it! I think even without a search engine implementation people would use it, though examples wouldn't hurt! Also, btw, someone did a simple search engine implementation already here: https://github.com/JulesGM/ParlAI_SearchEngine

Darth-Carrotpie avatar Jan 07 '22 14:01 Darth-Carrotpie

Thank you for sharing this @Darth-Carrotpie

patil-suraj avatar Jan 07 '22 14:01 patil-suraj

Is anyone currently working on this or is it's inclusion just being discussed?

photonic-genesis avatar Feb 14 '22 16:02 photonic-genesis

I have started working on it. Should have a PR soon!

patil-suraj avatar Feb 14 '22 16:02 patil-suraj

I should probably also mention that using Newspaper (https://pypi.org/project/newspaper3k/) to extract webpage text is slightly cleaner than the custom solution provided in JulesGM's search server implementation!

photonic-genesis avatar Feb 14 '22 20:02 photonic-genesis

@patil-suraj It has been two months since your last post on Blender 2.0. Do you know when it will be included in Transformers?

infoCoachAI avatar Apr 26 '22 17:04 infoCoachAI

Blenderbot2 is obsolete now. See Seeker https://parl.ai/projects/seeker/

Unfortunately, these conversational AIs seems to be a combination bunch of models and/or APIs, so I understand that they enter with difficulty in Huggingface's transformers.

I wrote something to deploy Seeker and its API on Kubernetes: https://louis030195.medium.com/deploy-seeker-search-augmented-conversational-ai-on-kubernetes-in-5-minutes-81a61aa4e749

louis030195 avatar Apr 27 '22 00:04 louis030195

Blenderbot2 is obsolete now. See Seeker https://parl.ai/projects/seeker/

Unfortunately, these conversational AIs seems to be a combination bunch of models and/or APIs, so I understand that they enter with difficulty in Huggingface's transformers.

I wrote something to deploy Seeker and its API on Kubernetes: https://louis030195.medium.com/deploy-seeker-search-augmented-conversational-ai-on-kubernetes-in-5-minutes-81a61aa4e749

Blenderbot 2 has memory as well as search engine capabilities, so the potential to remember chat topics between sessions. Unless I'm missing something, SeeKeR doesn't seem to have this feature, so I wouldn't call Blenderbot completely obsolete just yet...

Darth-Carrotpie avatar Apr 27 '22 13:04 Darth-Carrotpie

Blenderbot 3 is out now: https://parl.ai/projects/bb3/#models

stefan-it avatar Aug 08 '22 13:08 stefan-it

Any progress? With ChatGPT and Sparrow, it seems like chatbots are increasing in both relevance and importance in NLP.

shermansiu avatar Jan 14 '23 08:01 shermansiu

I have started working on it. Should have a PR soon!

@patil-suraj Could you please create a draft PR or something so that others can pick up where you left off?

shermansiu avatar Jan 17 '23 17:01 shermansiu

(It seems like he's switched over to working on diffusers in the meantime...)

shermansiu avatar Jan 17 '23 17:01 shermansiu

@ArthurZucker @younesbelkada (the ML engineers currently in charge of the text models)

shermansiu avatar Mar 03 '23 15:03 shermansiu

Do we have any updates?

sgowdaks avatar Mar 15 '23 02:03 sgowdaks

Patil is no longer working on this issue: he's working on diffusers instead. There don't seem to be any active contributors to this issue at the moment.

I would like to contribute at some point, but I'm swamped with my other to-do items.

shermansiu avatar Mar 16 '23 02:03 shermansiu

Hey, there has not been any progress here! So currently this is not planned by someone on our team, so if you want to pick it up feel free to do so. Also since the BlenderBot model is already supported, unless the architecture is very different, adding the model should be pretty easy with transformers-cli add-new-model-like 😉 But blenderBot is a pretty complex model, so this is not a good first issue and is better fitted for someone who already added a model! 🚀 In that case we'll gladly support and be there to help!

ArthurZucker avatar Mar 16 '23 09:03 ArthurZucker

+1

Cuteistfox avatar Jun 11 '23 19:06 Cuteistfox

I guess BlenderBot 3x is also out! https://twitter.com/ylecun/status/1667196416043925505

It might be a good idea to try porting the dataset over to Huggingface and fine-tuning a better base model...

shermansiu avatar Jun 12 '23 11:06 shermansiu

I'm not sure how relevant this is anymore since Llama 2 is all the rage these days, but hopefully, I'll find the time to port all of the Parlai models over to Huggingface!

shermansiu avatar Sep 02 '23 20:09 shermansiu