From a2eb7e6517015b94c3fd2b2af548ae1f6ea765ed Mon Sep 17 00:00:00 2001 From: Elsa Wang Date: Tue, 30 Jul 2024 00:22:53 +0800 Subject: [PATCH] fix download_hf loc modify description to /root/llamaindex_demo add cd /root/llamaindex_demo to command --- docs/L1/LlamaIndex/readme.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/L1/LlamaIndex/readme.md b/docs/L1/LlamaIndex/readme.md index d0c7cd9d0..5907a41fe 100644 --- a/docs/L1/LlamaIndex/readme.md +++ b/docs/L1/LlamaIndex/readme.md @@ -92,8 +92,9 @@ os.environ['HF_ENDPOINT'] = 'https://hf-mirror.com' os.system('huggingface-cli download --resume-download sentence-transformers/paraphrase-multilingual-MiniLM-L12-v2 --local-dir /root/model/sentence-transformer') ``` -然后,在 /root/data 目录下执行该脚本即可自动开始下载: +然后,在 /root/llamaindex_demo 目录下执行该脚本即可自动开始下载: ```bash +cd /root/llamaindex_demo conda activate llamaindex python download_hf.py ```