DB-GPT-Hub icon indicating copy to clipboard operation
DB-GPT-Hub copied to clipboard

AssertionError: Provided path (dbgpt_hub/output/adapter/llama3-sqlcoder-lora) does not contain a LoRA weight.

Open zhangsone opened this issue 6 months ago • 1 comments

进行模型预测时报错,以下是预测参数: CUDA_VISIBLE_DEVICES=0,2 python dbgpt_hub/predict/predict.py
--model_name_or_path /data/nfsshare/llama-3-sqlcoder-8b-bak/app/model
--template llama2
--finetuning_type lora
--predicted_input_filename dbgpt_hub/data/pred/text2sql_列表类.json
--checkpoint_dir dbgpt_hub/output/adapter/llama3-sqlcoder-lora
--predicted_out_filename dbgpt_hub/output/pred/pred_列表类.sql >> ${pred_log}

训练的时候也是采用lora的训练方式

zhangsone avatar Aug 14 '24 03:08 zhangsone