Spaces:
Runtime error
Runtime error
quincyqiang
commited on
Commit
·
57f12d9
1
Parent(s):
2a7b7b1
feature@创建hf应用
Browse files
app.py
CHANGED
@@ -8,7 +8,7 @@ from clc.langchain_application import LangChainApplication
|
|
8 |
# 修改成自己的配置!!!
|
9 |
class LangChainCFG:
|
10 |
llm_model_name = 'THUDM/chatglm-6b-int4-qe' # 本地模型文件 or huggingface远程仓库
|
11 |
-
embedding_model_name = 'GanymedeNil/text2vec-
|
12 |
vector_store_path = './cache'
|
13 |
docs_path = './docs'
|
14 |
kg_vector_stores = {
|
|
|
8 |
# 修改成自己的配置!!!
|
9 |
class LangChainCFG:
|
10 |
llm_model_name = 'THUDM/chatglm-6b-int4-qe' # 本地模型文件 or huggingface远程仓库
|
11 |
+
embedding_model_name = 'GanymedeNil/text2vec-base-chinese' # 检索模型文件 or huggingface远程仓库
|
12 |
vector_store_path = './cache'
|
13 |
docs_path = './docs'
|
14 |
kg_vector_stores = {
|