Traceback (most recent call last):
File "/home.py", line 16, in <module>
from config import get_config, save_config, get_model_config, get_training_args
File "/home.py", line 66, in <module>
script_args, fed_args = parser.parse_args_into_dataclasses()
File "/home.py", line 347, in parse_args_into_dataclasses
raise ValueError(f"Some specified arguments are not used by the HfArgumentParser: {remaining_args}")
ValueError: Some specified arguments are not used by the HfArgumentParser: ['\\']
错误原代码,末位多了个\
CUDA_VISIBLE_DEVICES=$gpu python main_sft.py \
--output_dir $output_dir \
--template "alpaca" \
修正为
CUDA_VISIBLE_DEVICES=$gpu python main_sft.py \
--output_dir $output_dir \
--template "alpaca"