From c5b147aeb7054797f8d3aab7d4291f25e3e92942 Mon Sep 17 00:00:00 2001 From: woclass Date: Mon, 24 Jul 2023 15:14:42 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E9=BB=98=E8=AE=A4=E4=BB=85=20clone=20?= =?UTF-8?q?=E6=9C=80=E6=96=B0=E7=9A=84=E4=BB=A3=E7=A0=81=EF=BC=8C=E5=87=8F?= =?UTF-8?q?=E5=B0=8F=20git=20clone=20=E7=9A=84=E5=A4=A7=E5=B0=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 386d2d05bd..9def37942b 100644 --- a/README.md +++ b/README.md @@ -93,7 +93,7 @@ Latex论文一键校对 | [函数插件] 仿Grammarly对Latex文章进行语法 1. 下载项目 ```sh -git clone https://github.com/binary-husky/gpt_academic.git +git clone --depth=1 https://github.com/binary-husky/gpt_academic.git cd gpt_academic ``` From 2f019ce3593d2a33e58ce0ad122cf938cb6e9d4d Mon Sep 17 00:00:00 2001 From: woclass Date: Mon, 24 Jul 2023 15:14:48 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E4=BC=98=E5=8C=96=20README.md=20=E4=B8=AD?= =?UTF-8?q?=E7=9A=84=E5=85=B6=E4=BB=96=20git=20clone?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 9def37942b..a850c88966 100644 --- a/README.md +++ b/README.md @@ -126,7 +126,7 @@ python -m pip install -r request_llm/requirements_chatglm.txt # 【可选步骤II】支持复旦MOSS python -m pip install -r request_llm/requirements_moss.txt -git clone https://github.com/OpenLMLab/MOSS.git request_llm/moss # 注意执行此行代码时,必须处于项目根路径 +git clone --depth=1 https://github.com/OpenLMLab/MOSS.git request_llm/moss # 注意执行此行代码时,必须处于项目根路径 # 【可选步骤III】确保config.py配置文件的AVAIL_LLM_MODELS包含了期望的模型,目前支持的全部模型如下(jittorllms系列目前仅支持docker方案): AVAIL_LLM_MODELS = ["gpt-3.5-turbo", "api2d-gpt-3.5-turbo", "gpt-4", "api2d-gpt-4", "chatglm", "newbing", "moss"] # + ["jittorllms_rwkv", "jittorllms_pangualpha", "jittorllms_llama"] @@ -149,7 +149,7 @@ python main.py [![basiclatex](https://github.com/binary-husky/gpt_academic/actions/workflows/build-with-latex.yml/badge.svg?branch=master)](https://github.com/binary-husky/gpt_academic/actions/workflows/build-with-latex.yml) ``` sh -git clone https://github.com/binary-husky/gpt_academic.git # 下载项目 +git clone --depth=1 https://github.com/binary-husky/gpt_academic.git # 下载项目 cd gpt_academic # 进入路径 nano config.py # 用任意文本编辑器编辑config.py, 配置 “Proxy”, “API_KEY” 以及 “WEB_PORT” (例如50923) 等 docker build -t gpt-academic . # 安装