!1798 Aquila2权重转换mg-hf切换新框架

Merge pull request !1798 from qyz/master
This commit is contained in:
qyz 2024-10-31 06:36:48 +00:00 committed by i-robot
parent 3e9fd1d561
commit 44715d4fec

View File

@ -3,9 +3,9 @@ source /usr/local/Ascend/ascend-toolkit/set_env.sh
# --params-dtype bf16 结合需要使用
python convert_ckpt.py --model-type GPT \
--loader megatron \
--saver megatron \
--save-model-type save_huggingface_llama \
--load-model-type mg \
--save-model-type hf \
--model-type-hf llama2 \
--load-dir ./model_weights/Aquila2-legacy/ \
--target-tensor-parallel-size 1 \
--target-pipeline-parallel-size 1 \