diff --git a/README.md b/README.md index da81a929..601f67a9 100644 --- a/README.md +++ b/README.md @@ -320,7 +320,7 @@ huggingface-cli login > Installation is mandatory. ```bash -git clone https://github.com/hiyouga/LLaMA-Factory.git +git clone --depth 1 https://github.com/hiyouga/LLaMA-Factory.git cd LLaMA-Factory pip install -e .[torch,metrics] ``` diff --git a/README_zh.md b/README_zh.md index b8f5e6ab..27b122b0 100644 --- a/README_zh.md +++ b/README_zh.md @@ -320,7 +320,7 @@ huggingface-cli login > 此步骤为必需。 ```bash -git clone https://github.com/hiyouga/LLaMA-Factory.git +git clone --depth 1 https://github.com/hiyouga/LLaMA-Factory.git cd LLaMA-Factory pip install -e .[torch,metrics] ```