AIAnytime / Llama2-Medical-Chatbot

This is a medical bot built using Llama2 and Sentence Transformers. The bot is powered by Langchain and Chainlit. The bot runs on a decent CPU machine with a minimum of 16GB of RAM.
MIT License
296 stars 218 forks source link

Errors #5

Open EdamChaye opened 1 year ago

EdamChaye commented 1 year ago

I got these two errors while running the code:

1/ Could not load library with AVX2 support due to: ModuleNotFoundError("No module named 'faiss.swigfaiss_avx2'")

2/NotImplementedError: Async generation not implemented for this LLM.

Any solution please?

adeelhasan19 commented 1 year ago

@EdamChaye update your langchain library

vijay-khanna commented 1 year ago

am getting the same error " Async generation not implemented for this LLM., i tried pip install langchain[llms]

is there any other way to update the langchain Library, or to resolve this error.

vijay-khanna commented 1 year ago

adeelhasan19

am getting the same error on Windows " Async generation not implemented for this LLM., i tried pip install langchain[llms]

is there any other way to update the langchain Library, or to resolve this error.