File size: 372 Bytes
ce80594 |
1 2 3 4 5 6 7 8 9 10 11 12 |
**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 |