chore: add autodl setup script

This commit is contained in:
FangYin Cheng 2023-09-15 18:07:41 +08:00
parent 9d85dab13a
commit 1911e177b4

View File

@ -0,0 +1,19 @@
#!/bin/bash
eval "$(conda shell.bash hook)"
source ~/.bashrc
# source /etc/network_turbo
# unset http_proxy && unset https_proxy
conda create -n dbgpt python=3.10 -y
conda activate dbgpt
apt-get update -y && apt-get install git-lfs -y
cd /root && git clone https://github.com/eosphoros-ai/DB-GPT.git
mkdir -p /root/DB-GPT/models && cd /root/DB-GPT/models
git clone https://huggingface.co/GanymedeNil/text2vec-large-chinese
git clone https://huggingface.co/THUDM/chatglm2-6b-int4