Create README.md
Browse files
README.md
ADDED
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
**Usage**
|
2 |
+
|
3 |
+
# 环境配置
|
4 |
+
git clone https://github.com/hiyouga/ChatGLM-Efficient-Tuning.git
|
5 |
+
conda create -n chatglm_etuning python=3.10
|
6 |
+
conda activate chatglm_etuning
|
7 |
+
cd ChatGLM-Efficient-Tuning
|
8 |
+
pip install -r requirements.txt
|
9 |
+
|
10 |
+
# 终端输入
|
11 |
+
CUDA_VISIBLE_DEVICES=0 python src/infer.py \
|
12 |
+
--checkpoint_dir path_to_checkpoint # repo files
|