LLaMA-Factory/examples/inference/cli_demo.sh

8 lines
231 B
Bash
Raw Normal View History

2024-04-02 12:07:43 +00:00
#!/bin/bash
2024-04-02 12:51:21 +00:00
CUDA_VISIBLE_DEVICES=0 python ../../src/cli_demo.py \
2024-04-02 12:07:43 +00:00
--model_name_or_path meta-llama/Llama-2-7b-hf \
--adapter_name_or_path ../../saves/LLaMA2-7B/lora/sft \
--template default \
--finetuning_type lora