feature@init

This commit is contained in:
yanqiang 2023-04-17 16:30:21 +08:00
parent 8941872ed7
commit 1c6e8fd7fe
1 changed files with 1 additions and 1 deletions

View File

@ -4,7 +4,7 @@ from langchain.document_loaders import UnstructuredFileLoader
from langchain.embeddings.huggingface import HuggingFaceEmbeddings
from langchain.vectorstores import FAISS
embedding_model_name = '/home/searchgpt/pretrained_models/ernie-gram-zh'
embedding_model_name = 'pretrained_models/ernie-gram-zh'
docs_path = 'docs'
embeddings = HuggingFaceEmbeddings(model_name=embedding_model_name)