LLaMA-Factory/examples/inference/web_demo.sh

8 lines
225 B
Bash

#!/bin/bash
CUDA_VISIBLE_DEVICES=0 python src/web_demo.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