Update README.md
Browse files
README.md
CHANGED
@@ -17,4 +17,8 @@
|
|
17 |
model = model.cuda()
|
18 |
model.eval()
|
19 |
|
20 |
-
# model.generate, model.chat()...
|
|
|
|
|
|
|
|
|
|
17 |
model = model.cuda()
|
18 |
model.eval()
|
19 |
|
20 |
+
# model.generate, model.chat()...
|
21 |
+
|
22 |
+
# 命令行进行测试
|
23 |
+
CUDA_VISIBLE_DEVICES=0 python src/infer.py \
|
24 |
+
--checkpoint_dir path_to_checkpoint
|