在InternStudio平台中选择A100 (1/4)
的配置,镜像选择Cuda11.7-conda
,可以选择已有的开发机langchain
;
mkdir /root/pdf_project
git clone https://gitee.com/tcexeexe/pdf-reading-assistant.git
mkdir -p /home/tcexeexe/data
mkdir -p /home/tcexeexe/data && ln -s /root/pdf_project/data /home/tcexeexe/data
pip install PyPDF2
mkdir -p /home/tcexeexe/data/model && ln -sf /root/data/model/sentence-transformer /home/tcexeexe/data/model/sentence-transformer
mkdir -p /root/pdf_project/data/pdf-reading-assistant/data_base/vector_db/pdf
python /root/pdf_project/data/pdf-reading-assistant/make_knowledge_repository.py