-
Notifications
You must be signed in to change notification settings - Fork 39
Open
Description
There is lacking documentation for the following steps in the setup of korvus in order to run the example scripts:
1. When using a Hugging Face model in a Pipeline, you need to pass a parameter "trust_remote_code": True. Look at below example:
"semantic_search": {"model": "Alibaba-NLP/gte-base-en-v1.5",
Should be:
"semantic_search": {"model": "Alibaba-NLP/gte-base-en-v1.5", "parameters": {"trust_remote_code": True, "token": hf_token}},
2. In order to run any segmentation search you need to create the extension for vectors in the Postgres Database:
$ CREATE EXTENSION IF NOT EXISTS vector;
3. You need to authenticate to Hugging Face in order to use their models in the korvus.OpenSourceAI() component.
This issue I haven't resolved yet
Metadata
Metadata
Assignees
Labels
No labels