Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
赵月辉
/
fastgpt-migrated
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Unverified
Commit
8323c2d2
authored
Mar 27, 2025
by
Shixian Sheng
Committed by
GitHub
Mar 28, 2025
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复了几个链接 (#4377)
* Update bge-rerank.md * Update bge-rerank.md * Update chatglm2.md * Update README.md
parent
4f86a059
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
7 deletions
+7
-7
docSite/content/zh-cn/docs/development/custom-models/bge-rerank.md
+3
-3
docSite/content/zh-cn/docs/development/custom-models/chatglm2.md
+1
-1
plugins/model/rerank-bge/README.md
+3
-3
No files found.
docSite/content/zh-cn/docs/development/custom-models/bge-rerank.md
View file @
8323c2d2
...
@@ -31,9 +31,9 @@ weight: 920
...
@@ -31,9 +31,9 @@ weight: 920
3 个模型代码分别为:
3 个模型代码分别为:
1.
[
https://github.com/labring/FastGPT/tree/main/plugins/
rerank-bge/bge-reranker-base
](
https://github.com/labring/FastGPT/tree/main/plugins
/rerank-bge/bge-reranker-base
)
1.
[
https://github.com/labring/FastGPT/tree/main/plugins/
model/rerank-bge/bge-reranker-base
](
https://github.com/labring/FastGPT/tree/main/plugins/model
/rerank-bge/bge-reranker-base
)
2.
[
https://github.com/labring/FastGPT/tree/main/plugins/
rerank-bge/bge-reranker-large
](
https://github.com/labring/FastGPT/tree/main/plugins
/rerank-bge/bge-reranker-large
)
2.
[
https://github.com/labring/FastGPT/tree/main/plugins/
model/rerank-bge/bge-reranker-large
](
https://github.com/labring/FastGPT/tree/main/plugins/model
/rerank-bge/bge-reranker-large
)
3.
[
https://github.com/labring/FastGPT/tree/main/plugins/
rerank-bge/bge-reranker-v2-m3
](
https://github.com/labring/FastGPT/tree/main/plugins
/rerank-bge/bge-reranker-v2-m3
)
3.
[
https://github.com/labring/FastGPT/tree/main/plugins/
model/rerank-bge/bge-reranker-v2-m3
](
https://github.com/labring/FastGPT/tree/main/plugins/model
/rerank-bge/bge-reranker-v2-m3
)
### 3. 安装依赖
### 3. 安装依赖
...
...
docSite/content/zh-cn/docs/development/custom-models/chatglm2.md
View file @
8323c2d2
...
@@ -46,7 +46,7 @@ ChatGLM2-6B 是开源中英双语对话模型 ChatGLM-6B 的第二代版本,
...
@@ -46,7 +46,7 @@ ChatGLM2-6B 是开源中英双语对话模型 ChatGLM-6B 的第二代版本,
### 源码部署
### 源码部署
1.
根据上面的环境配置配置好环境,具体教程自行 GPT;
1.
根据上面的环境配置配置好环境,具体教程自行 GPT;
2.
下载
[
python 文件
](
https://github.com/labring/FastGPT/blob/main/
files/models/
ChatGLM2/openai_api.py
)
2.
下载
[
python 文件
](
https://github.com/labring/FastGPT/blob/main/
plugins/model/llm-
ChatGLM2/openai_api.py
)
3.
在命令行输入命令
`pip install -r requirements.txt`
;
3.
在命令行输入命令
`pip install -r requirements.txt`
;
4.
打开你需要启动的 py 文件,在代码的
`verify_token`
方法中配置 token,这里的 token 只是加一层验证,防止接口被人盗用;
4.
打开你需要启动的 py 文件,在代码的
`verify_token`
方法中配置 token,这里的 token 只是加一层验证,防止接口被人盗用;
5.
执行命令
`python openai_api.py --model_name 16`
。这里的数字根据上面的配置进行选择。
5.
执行命令
`python openai_api.py --model_name 16`
。这里的数字根据上面的配置进行选择。
...
...
plugins/model/rerank-bge/README.md
View file @
8323c2d2
...
@@ -22,9 +22,9 @@
...
@@ -22,9 +22,9 @@
3 个模型代码分别为:
3 个模型代码分别为:
1.
[
https://github.com/labring/FastGPT/tree/main/p
ython/bge-rerank/bge-reranker-base
](
https://github.com/labring/FastGPT/tree/main/python/bge-rerank
/bge-reranker-base
)
1.
[
https://github.com/labring/FastGPT/tree/main/p
lugins/model/rerank-bge/bge-reranker-base
](
https://github.com/labring/FastGPT/tree/main/plugins/model/rerank-bge
/bge-reranker-base
)
2.
[
https://github.com/labring/FastGPT/tree/main/p
ython/bge-rerank/bge-reranker-large
](
https://github.com/labring/FastGPT/tree/main/python/bge-rerank
/bge-reranker-large
)
2.
[
https://github.com/labring/FastGPT/tree/main/p
lugins/model/rerank-bge/bge-reranker-large
](
https://github.com/labring/FastGPT/tree/main/plugins/model/rerank-bge
/bge-reranker-large
)
3.
[
https://github.com/labring/FastGPT/tree/main/p
ython/bge-rerank/bge-reranker-v2-m3
](
https://github.com/labring/FastGPT/tree/main/python/bge-rerank
/bge-reranker-v2-m3
)
3.
[
https://github.com/labring/FastGPT/tree/main/p
lugins/model/rerank-bge/bge-reranker-v2-m3
](
https://github.com/labring/FastGPT/tree/main/plugins/model/rerank-bge
/bge-reranker-v2-m3
)
### 3. 安装依赖
### 3. 安装依赖
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment