Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error in ingest #59

Closed
lix2coder opened this issue May 16, 2023 · 2 comments
Closed

Error in ingest #59

lix2coder opened this issue May 16, 2023 · 2 comments
Labels

Comments

@lix2coder
Copy link

I just test the embedding function under directory of models

Python 3.9.7 (default, Sep 16 2021, 13:09:58)
[GCC 7.5.0] :: Anaconda, Inc. on linux
Type "help", "copyright", "credits" or "license" for more information.

from langchain.embeddings import HuggingFaceEmbeddings, LlamaCppEmbeddings
LlamaCppEmbeddings(model_path='./ggml-model-q4_0.bin', n_ctx=1024)
llama.cpp: loading model from ./ggml-model-q4_0.bin
非法指令 (核心已转储)

@hippalectryon-0
Copy link
Contributor

非法指令 (核心已转储) = core dumped.

  1. are you using the GPU version ?
  2. Can you retry with python 3.10 ?

@su77ungr su77ungr added the setup label May 16, 2023
@su77ungr
Copy link
Owner

@lix2coder since the codebase has been restructured lately; the switch for the sentence-transformer should fix this issue. Ping me if you are still having problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants