**Usage** | |
# 环境配置 | |
git clone https://github.com/hiyouga/ChatGLM-Efficient-Tuning.git | |
conda create -n chatglm_etuning python=3.10 | |
conda activate chatglm_etuning | |
cd ChatGLM-Efficient-Tuning | |
pip install -r requirements.txt | |
# 终端输入 | |
CUDA_VISIBLE_DEVICES=0 python src/infer.py \ | |
--checkpoint_dir path_to_checkpoint # repo files |