PromtEngineer / localGPT

Chat with your documents on your local device using GPT models. No data leaves your device and 100% private.
Apache License 2.0
19.64k stars 2.2k forks source link

chromadb.errors.InvalidDimensionException: Embedding dimension 1024 does not match collection dimensionality 768 #541

Open YanaSSS opened 9 months ago

YanaSSS commented 9 months ago

I chose multilingual embedding model from the provided in constants.py file: EMBEDDING_MODEL_NAME = "intfloat/multilingual-e5-large" # Uses 2.5 GB of VRAM and when I run run_localGPT_v2.py I get the error mentioned. I have no idea how to fix it to use this model.

T0T4R4 commented 8 months ago

see https://github.com/PromtEngineer/localGPT/issues/529