Anuj Sahani

Results 6 comments of Anuj Sahani

> > @orangetin can you give more details regarding the exact cause of this error? > > Sure @wemoveon2 ! > > When loading the model using `device_map="auto"` on a...

> @anujsahani01 I can't import your Colab file. > > The error is caused by offloading model weights incorrectly. Refer to my previous comments on how to fix it: >...

> I installed accelerate yesterday from GIT. I forgot to say. It all works OK in Google Colab. Google Colab has a 16 GB GPU and the model is loaded...

> cc @younesbelkada since this is using 8bit-loading sir please help we out with this error in would be a great help. i am using 🤗tool " accelerate " to...

> same issue Using ``` target_modules= ["q_proj", "v_proj"],``` as target module worked for me but this is specified for bart model and not for CodeGen. You may have a look...

**Solution: Using `HuggingFaceHub` with LangChain** I found an effective way to use the `HuggingFaceHub` model with LangChain. Instead of the previous method, we can simplify and enhance the configuration as...