mirror of
https://github.com/RYDE-WORK/MiniCPM.git
synced 2026-01-28 01:43:40 +08:00
9 lines
215 B
Bash
9 lines
215 B
Bash
#!/bin/bash
|
|
|
|
CHECKPOINT=$1
|
|
SAVE_TO=$2
|
|
HF_MODEL_NAME=$SAVE_TO # huggingface上的模型名
|
|
|
|
python vllm_convert_checkpoint_to_hf.py --load $CHECKPOINT --save $SAVE_TO
|
|
python inference.py --model_path=$HF_MODEL_NAME
|