Bootstrap

window下使用命令行启动llamafactory报错AttributeError: can‘t set attribute

报错信息

Traceback (most recent call last):
  File "C:\Users\admin\.conda\envs\llf\lib\runpy.py", line 194, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "C:\Users\admin\.conda\envs\llf\lib\runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "C:\Users\admin\.conda\envs\llf\Scripts\llamafactory-cli.exe\__main__.py", line 7, in <module>
    sys.exit(main())
  File "C:\zbcx\chenyaqi\mymodel\my_new_llamafactory\LLaMA-Factory\src\llamafactory\cli.py", line 111, in main
    run_exp()
  File "C:\zbcx\chenyaqi\mymodel\my_new_llamafactory\LLaMA-Factory\src\llamafactory\train\tuner.py", line 50, in run_exp
    run_sft(model_args, data_args, training_args, finetuning_args, generating_args, callbacks)
  File "C:\zbcx\chenyaqi\mymodel\my_new_llamafactory\LLaMA-Factory\src\llamafactory\train\sft\workflow.py", line 46, in run_sft
    template = get_template_and_fix_tokenizer(tokenizer, data_args)
  File "C:\zbcx\chenyaqi\mymodel\my_new_llamafactory\LLaMA-Factory\src\llamafactory\data\template.py", line 386, in get_template_and_fix_tokenizer
    _add_or_replace_eos_token(tokenizer, eos_token=stop_words[0])
  File "C:\zbcx\chenyaqi\mymodel\my_new_llamafactory\LLaMA-Factory\src\llamafactory\data\template.py", line 275, in _add_or_replace_eos_token
    num_added_tokens = tokenizer.add_special_tokens({"eos_token": eos_token})
  File "C:\Users\admin\.conda\envs\llf\lib\site-packages\transformers\tokenization_utils_base.py", line 994, in add_special_tokens
    setattr(self, key, value)
AttributeError: can't set attribute
;