#!/bin/sh BASEDIR=$(dirname "$0") cd $BASEDIR/../llama-factory echo Current Directory: pwd CUDA_VISIBLE_DEVICES=0 llamafactory-cli export \ --model_name_or_path internlm/internlm2_5-7b-chat-1m \ --adapter_name_or_path saves/internlm2_5_7b/lora/sft_bf16_p2_full/checkpoint-528 \ --template intern2 \ --finetuning_type lora \ --export_dir merged_models/internlm2_5-7b-chat-1m_sft_bf16_p2_full \ --export_size 2 \ --export_legacy_format False