mirror of
https://github.com/hiyouga/LLaMA-Factory.git
synced 2025-08-03 04:02:49 +08:00
11 lines
337 B
Bash
11 lines
337 B
Bash
#!/bin/bash
|
|
|
|
CUDA_VISIBLE_DEVICES= python ../../src/export_model.py \
|
|
--model_name_or_path meta-llama/Llama-2-7b-hf \
|
|
--adapter_name_or_path ../../saves/LLaMA2-7B/lora/sft \
|
|
--template default \
|
|
--finetuning_type lora \
|
|
--export_dir ../../models/llama2-7b-sft \
|
|
--export_size 2 \
|
|
--export_legacy_format False
|