Skip to content
This repository was archived by the owner on Jul 4, 2025. It is now read-only.

Conversation

@vansangpfiev
Copy link
Contributor

@vansangpfiev vansangpfiev commented Apr 11, 2024

Changes in llama.cpp require our interface changes.
To load the embedding model, need to set embedding flag to true, for example:

{
    "llama_model_path": "e:/workspace/model/nomic-embed-text-v1.5.f16.gguf",
    "ctx_len": 5,
    "ngl": 0,
    "n_parallel": 1,
    "embedding": true
} 

@vansangpfiev vansangpfiev requested a review from tikikun April 11, 2024 02:09
Copy link
Contributor

@tikikun tikikun left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@vansangpfiev vansangpfiev merged commit 653059f into main Apr 11, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants