README.md 762 Bytes
Newer Older
yangzhong's avatar
yangzhong committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
## privateGPT相关示例脚本

具体使用方法参考:https://github.com/ymcui/Chinese-LLaMA-Alpaca-2/wiki/privategpt_zh

Detailed usage: https://github.com/ymcui/Chinese-LLaMA-Alpaca-2/wiki/privategpt_en

The following codes are adapted from https://github.com/imartinez/privateGPT/blob/main/privateGPT.py

### privateGPT.py

嵌套Alpaca-2指令模板的主程序入口示例代码。由于第三方库更新频繁,请勿直接使用。建议对照教程自行修改。

Example with Alpaca-2 template. Please do not use this script directly, as third-party library may change over time. Please follow our wiki to adapt to new code.

### privateGPT_refine.py

使用`refine`策略的主程序入口示例代码。

Example that uses `refine` strategy.