Spaces:
Sleeping
Sleeping
Keldos commited on
Commit ·
dbd4513
1
Parent(s): cef64b2
doc: 去除故障排除中的gradio更新步骤并增加支持模型列表
Browse files- 更正日语翻译,补上了缺失的日语标题
origin commit: 4e1a42ae07c129a2ddad050ff06a3eba398ec912
- README.md +18 -8
- readme/README_en.md +13 -4
- readme/README_ja.md +13 -4
README.md
CHANGED
|
@@ -42,8 +42,22 @@
|
|
| 42 |
|
| 43 |
## 目录
|
| 44 |
|
| 45 |
-
| [使用技巧](#使用技巧) | [安装方式](https://github.com/GaiZhenbiao/ChuanhuChatGPT/wiki/使用教程) | [常见问题](https://github.com/GaiZhenbiao/ChuanhuChatGPT/wiki/常见问题) | [给作者买可乐🥤](#捐款) |
|
| 46 |
-
| ----------
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 47 |
|
| 48 |
## 使用技巧
|
| 49 |
|
|
@@ -64,7 +78,7 @@ cd ChuanhuChatGPT
|
|
| 64 |
pip install -r requirements.txt
|
| 65 |
```
|
| 66 |
|
| 67 |
-
在项目文件夹中复制一份 `config_example.json`,并将其重命名为 `config.json`,在其中填入 `API-Key` 等设置。
|
| 68 |
|
| 69 |
```shell
|
| 70 |
python ChuanhuChatbot.py
|
|
@@ -78,7 +92,7 @@ python ChuanhuChatbot.py
|
|
| 78 |
|
| 79 |
## 疑难杂症解决
|
| 80 |
|
| 81 |
-
在遇到各种问题查阅相关信息前,您可以先尝试手动拉取本项目的最新更改并更新
|
| 82 |
|
| 83 |
1. 点击网页上的 `Download ZIP` 下载最新代码,或
|
| 84 |
```shell
|
|
@@ -88,10 +102,6 @@ python ChuanhuChatbot.py
|
|
| 88 |
```
|
| 89 |
pip install -r requirements.txt
|
| 90 |
```
|
| 91 |
-
3. 更新gradio
|
| 92 |
-
```
|
| 93 |
-
pip install gradio --upgrade --force-reinstall
|
| 94 |
-
```
|
| 95 |
|
| 96 |
很多时候,这样就可以解决问题。
|
| 97 |
|
|
|
|
| 42 |
|
| 43 |
## 目录
|
| 44 |
|
| 45 |
+
| [支持模型](#支持模型) | [使用技巧](#使用技巧) | [安装方式](https://github.com/GaiZhenbiao/ChuanhuChatGPT/wiki/使用教程) | [常见问题](https://github.com/GaiZhenbiao/ChuanhuChatGPT/wiki/常见问题) | [给作者买可乐🥤](#捐款) |
|
| 46 |
+
| ----- | ----- | ----- | ----- | ----- |
|
| 47 |
+
|
| 48 |
+
|
| 49 |
+
## 支持模型
|
| 50 |
+
**通过API调用的语言模型**:
|
| 51 |
+
- [ChatGPT](https://chat.openai.com) ([GPT-4](https://openai.com/product/gpt-4))
|
| 52 |
+
- [Inspur Yuan 1.0](https://air.inspur.com/home)
|
| 53 |
+
- [MiniMax](https://api.minimax.chat/)
|
| 54 |
+
- [XMChat](https://github.com/MILVLG/xmchat)
|
| 55 |
+
|
| 56 |
+
**本地部署语言模型**:
|
| 57 |
+
- [ChatGLM](https://github.com/THUDM/ChatGLM-6B)
|
| 58 |
+
- [LLaMA](https://github.com/facebookresearch/llama)
|
| 59 |
+
- [StableLM](https://github.com/Stability-AI/StableLM)
|
| 60 |
+
- [MOSS](https://github.com/OpenLMLab/MOSS)
|
| 61 |
|
| 62 |
## 使用技巧
|
| 63 |
|
|
|
|
| 78 |
pip install -r requirements.txt
|
| 79 |
```
|
| 80 |
|
| 81 |
+
然后,在项目文件夹中复制一份 `config_example.json`,并将其重命名为 `config.json`,在其中填入 `API-Key` 等设置。
|
| 82 |
|
| 83 |
```shell
|
| 84 |
python ChuanhuChatbot.py
|
|
|
|
| 92 |
|
| 93 |
## 疑难杂症解决
|
| 94 |
|
| 95 |
+
在遇到各种问题查阅相关信息前,您可以先尝试手动拉取本项目的最新更改并更新依赖库,然后重试。步骤为:
|
| 96 |
|
| 97 |
1. 点击网页上的 `Download ZIP` 下载最新代码,或
|
| 98 |
```shell
|
|
|
|
| 102 |
```
|
| 103 |
pip install -r requirements.txt
|
| 104 |
```
|
|
|
|
|
|
|
|
|
|
|
|
|
| 105 |
|
| 106 |
很多时候,这样就可以解决问题。
|
| 107 |
|
readme/README_en.md
CHANGED
|
@@ -44,6 +44,19 @@
|
|
| 44 |
</p>
|
| 45 |
</div>
|
| 46 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 47 |
## Usage Tips
|
| 48 |
|
| 49 |
- To better control the ChatGPT, use System Prompt.
|
|
@@ -87,10 +100,6 @@ When you encounter problems, you should try manually pulling the latest changes
|
|
| 87 |
```
|
| 88 |
pip install -r requirements.txt
|
| 89 |
```
|
| 90 |
-
3. Update Gradio
|
| 91 |
-
```
|
| 92 |
-
pip install gradio --upgrade --force-reinstall
|
| 93 |
-
```
|
| 94 |
|
| 95 |
Generally, you can solve most problems by following these steps.
|
| 96 |
|
|
|
|
| 44 |
</p>
|
| 45 |
</div>
|
| 46 |
|
| 47 |
+
## Supported LLM Models
|
| 48 |
+
**LLM models via API**:
|
| 49 |
+
- [ChatGPT](https://chat.openai.com) ([GPT-4](https://openai.com/product/gpt-4))
|
| 50 |
+
- [Inspur Yuan 1.0](https://air.inspur.com/home)
|
| 51 |
+
- [MiniMax](https://api.minimax.chat/)
|
| 52 |
+
- [XMChat](https://github.com/MILVLG/xmchat)
|
| 53 |
+
|
| 54 |
+
**LLM models via local deployment**:
|
| 55 |
+
- [ChatGLM](https://github.com/THUDM/ChatGLM-6B)
|
| 56 |
+
- [LLaMA](https://github.com/facebookresearch/llama)
|
| 57 |
+
- [StableLM](https://github.com/Stability-AI/StableLM)
|
| 58 |
+
- [MOSS](https://github.com/OpenLMLab/MOSS)
|
| 59 |
+
|
| 60 |
## Usage Tips
|
| 61 |
|
| 62 |
- To better control the ChatGPT, use System Prompt.
|
|
|
|
| 100 |
```
|
| 101 |
pip install -r requirements.txt
|
| 102 |
```
|
|
|
|
|
|
|
|
|
|
|
|
|
| 103 |
|
| 104 |
Generally, you can solve most problems by following these steps.
|
| 105 |
|
readme/README_ja.md
CHANGED
|
@@ -44,6 +44,19 @@
|
|
| 44 |
</p>
|
| 45 |
</div>
|
| 46 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 47 |
## 使う上でのTips
|
| 48 |
|
| 49 |
- ChatGPTをより適切に制御するために、システムプロンプトを使用できます。
|
|
@@ -86,10 +99,6 @@ python ChuanhuChatbot.py
|
|
| 86 |
```
|
| 87 |
pip install -r requirements.txt
|
| 88 |
```
|
| 89 |
-
3. Gradioを更新
|
| 90 |
-
```
|
| 91 |
-
pip install gradio --upgrade --force-reinstall
|
| 92 |
-
```
|
| 93 |
|
| 94 |
一般的に、以下の手順でほとんどの問題を解決することができます。
|
| 95 |
|
|
|
|
| 44 |
</p>
|
| 45 |
</div>
|
| 46 |
|
| 47 |
+
## サポートされている大規模言語モデル
|
| 48 |
+
**APIを通じてアクセス可能な大規模言語モデル**:
|
| 49 |
+
- [ChatGPT](https://chat.openai.com) ([GPT-4](https://openai.com/product/gpt-4))
|
| 50 |
+
- [Inspur Yuan 1.0](https://air.inspur.com/home)
|
| 51 |
+
- [MiniMax](https://api.minimax.chat/)
|
| 52 |
+
- [XMChat](https://github.com/MILVLG/xmchat)
|
| 53 |
+
|
| 54 |
+
**ローカルに展開された大規模言語モデル**:
|
| 55 |
+
- [ChatGLM](https://github.com/THUDM/ChatGLM-6B)
|
| 56 |
+
- [LLaMA](https://github.com/facebookresearch/llama)
|
| 57 |
+
- [StableLM](https://github.com/Stability-AI/StableLM)
|
| 58 |
+
- [MOSS](https://github.com/OpenLMLab/MOSS)
|
| 59 |
+
|
| 60 |
## 使う上でのTips
|
| 61 |
|
| 62 |
- ChatGPTをより適切に制御するために、システムプロンプトを使用できます。
|
|
|
|
| 99 |
```
|
| 100 |
pip install -r requirements.txt
|
| 101 |
```
|
|
|
|
|
|
|
|
|
|
|
|
|
| 102 |
|
| 103 |
一般的に、以下の手順でほとんどの問題を解決することができます。
|
| 104 |
|