Giter Club home page Giter Club logo

Comments (3)

andreakiro avatar andreakiro commented on June 2, 2024 2

This is a problem that goes back to the way langchain loads the embeddings model. For some reason they need a full path. For a quick fix you can simply modify your .env by setting your full (exhaustive) path to the LLAMMA embeddings model. Something like:

# LLAMA_EMBEDDINGS_MODEL=~/Downloads/git/GPT_project/GPT4ALL_bin
> LLAMA_EMBEDDINGS_MODEL=/Users/d2rgaming-9000/Downloads/git/GPT_project/GPT4ALL_bin

from privategpt.

d2rgaming-9000 avatar d2rgaming-9000 commented on June 2, 2024

I did that. And I still get the same error.

I provided the full path /home/user/Downloads/....., for every variable. And it still brings the same error.

from privategpt.

d2rgaming-9000 avatar d2rgaming-9000 commented on June 2, 2024

I don't know why it seems to be setting the '=' operator as ':' by default for me. (See my .env above as an example).

I have changed it however to match yours.

But it still not working.

It did seem to have changed something.

For example I stead of error lines 1, 2, 3, .. and 5. Now I'm getting 1 and 8 lines of error references.

Line 29 and 36 in ingest.py
Lines 339 in pydantic.main.BaseModel....
Line 1102 in pydantic.main.validate...

Are all the lines that are being referenced regarding this error.

Finally I get this ``KeyError: 'model_path'`

Which is the same error that I have been receiving as can also be seen above in the initial post, which makes me assume that it is still not able to determine path.

I assumed it was normal to leave the ':' as is. Because the readme specifies only to change the variables.

Now that I have changed all the ':' to '=' operator, it is working fine. Just a little something to keep in mind for anyone who may be facing the same confusing problem in the future.

from privategpt.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.