.\scripts\run_chatbot.sh .\output_models\llama_7b_lora\ run error ........
(lmflow) PS E:\LMFlow-main\LMFlow-main> bash .\scripts\run_chatbot.sh .\output_models\llama_7b_lora
[2023-04-24 22:29:37,085] [WARNING] [runner.py:190:fetch_hostfile] Unable to find hostfile, will proceed with training with local resources only.
Detected CUDA_VISIBLE_DEVICES=0: setting --include=localhost:0
[2023-04-24 22:29:37,119] [INFO] [runner.py:540:main] cmd = D:\UserSoftware\Anaconda3\envs\lmflow\python.exe -u -m deepspeed.launcher.launch --world_info=eyJsb2NhbGhvc3QiOiBbMF19 --master_addr=127.0.0.1 --master_port=29500 --enable_each_rank_log=None examples/chatbot.py --deepspeed configs/ds_config_chatbot.json --model_name_or_path .\output_models\llama_7b_lora
[2023-04-24 22:29:38,823] [INFO] [launch.py:229:main] WORLD INFO DICT: {'localhost': [0]}
[2023-04-24 22:29:38,823] [INFO] [launch.py:235:main] nnodes=1, num_local_procs=1, node_rank=0
[2023-04-24 22:29:38,823] [INFO] [launch.py:246:main] global_rank_mapping=defaultdict(<class 'list'>, {'localhost': [0]})
[2023-04-24 22:29:38,823] [INFO] [launch.py:247:main] dist_world_size=1
[2023-04-24 22:29:38,823] [INFO] [launch.py:249:main] Setting CUDA_VISIBLE_DEVICES=0
configs/ds_config_chatbot.json
Traceback (most recent call last):
File "E:\LMFlow-main\LMFlow-main\examples\chatbot.py", line 155, in
bash .\scripts\run_chatbot.sh 后面接两个参数,第一个参数是llama-7b模型的地址,第二个参数是robin-7b lora的地址。
举个例子,可以参考:
bash .\scripts\run_chatbot.sh pinkmanlove/llama-7b-hf .\output_models\llama_7b_lora
When running bash .\scripts\run_chatbot.sh, two parameters should be provided. The first parameter is the address of the llama-7b model and the second parameter is the address of the robin-7b lora.
For example, you can use the following command as a reference:
bash .\scripts\run_chatbot.sh pinkmanlove/llama-7b-hf .\output_models\llama_7b_lora
python ./scripts/convert_llama_weights_to_hf.py --input_dir ${llama-path} --model_size 7B --output_dir ${llama-hf-path}/llama-7b-hf 我应该少执行这一步
This issue has been marked as stale because it has not had recent activity. If you think this still needs to be addressed please feel free to reopen this issue. Thanks