不做复杂的流水账,就是简单记录关键点
首先把显卡搞定
然后cuda,dnnn,tensflow等等
source activate thudm_chatglm2_6b
git clone https://github.com/hiyouga/ChatGLM-Efficient-Tuning.git
cd ChatGLM-Efficient-Tuning
pip install -r requirements.txt
pip install --upgrade huggingface_hub
git clone https://huggingface.co/THUDM/chatglm2-6b
cd chatglm2-6b
python web_demo2.py
模型自动下载,缺什么安装什么即可。
千万不要自己下载模型。过程会自动下载。