Skip to content

Can't download models anymore, not sure why. Used to work perfectly #100

@BharatBlade

Description

@BharatBlade

I got this warning and I'm having trouble understanding what to do. I recently reset my windows 11 pc running an i7-12700, 3060 ti, and 32gb ddr5 ram, and reinstalled python 3.11.7, Visual studio (including build tools), and CUDA toolkit 12.2

This happens after I run "chatdocs download"

C:\Users\j\AppData\Local\Programs\Python\Python311\Lib\site-packages\langchain\embeddings_init_.py:29: LangChainDeprecationWarning: Importing embeddings from langchain is deprecated. Importing from langchain will no longer be supported as of langchain==0.2.0. Please import from langchain-community instead:

from langchain_community.embeddings import HuggingFaceInstructEmbeddings.

To install langchain-community run pip install -U langchain-community.
warnings.warn(
C:\Users\j\AppData\Local\Programs\Python\Python311\Lib\site-packages\langchain\embeddings_init_.py:29: LangChainDeprecationWarning: Importing embeddings from langchain is deprecated. Importing from langchain will no longer be supported as of langchain==0.2.0. Please import from langchain-community instead:

from langchain_community.embeddings import HuggingFaceEmbeddings.

To install langchain-community run pip install -U langchain-community.
warnings.warn(
C:\Users\j\AppData\Local\Programs\Python\Python311\Lib\site-packages\langchain\llms_init_.py:548: LangChainDeprecationWarning: Importing LLMs from langchain is deprecated. Importing from langchain will no longer be supported as of langchain==0.2.0. Please import from langchain-community instead:

from langchain_community.llms import CTransformers.

To install langchain-community run pip install -U langchain-community.
warnings.warn(
C:\Users\j\AppData\Local\Programs\Python\Python311\Lib\site-packages\langchain\llms_init_.py:548: LangChainDeprecationWarning: Importing LLMs from langchain is deprecated. Importing from langchain will no longer be supported as of langchain==0.2.0. Please import from langchain-community instead:

from langchain_community.llms import HuggingFacePipeline.

To install langchain-community run pip install -U langchain-community.
warnings.warn(

The traceback is really long, but it ends with this:
ConnectionError: (ProtocolError('Connection aborted.', ConnectionResetError(10054, 'An existing
connection was forcibly closed by the remote host', None, 10054, None)), '(Request ID:
31c0ce51-239b-4d01-83db-b2fb46516f05)')

Any help or advice is greatly appreciated. I've had this project working in the past with amazing results and I'm extremely grateful for the work put into this and it's open source nature. I'm hoping to continue using it as I have in the past. I'm also open to work arounds such as downloading the models manually from huggingface, but would also appreciate being told where I should put them.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions