alejandro-ao / ask-multiple-pdfs

A Langchain app that allows you to chat with multiple PDFs
1.66k stars 939 forks source link

TypeError: INSTRUCTOR._load_sbert_model() got an unexpected keyword argument 'token' #58

Open aniii08112002 opened 5 months ago

aniii08112002 commented 5 months ago

Please help me resolve this issue this shown after the process of chunking and during embedding

vishnuthumpudi commented 5 months ago

Ciao aniii

If you are getting token error : Do - (if u are using virtual environment do pip install in venv else in normal environment) pip install sentence-transformers==2.2.2 pip install langchain==0.1.2 sentence_transformers==2.2.2

I hope your issue will get resolved.