LlamaFamily / Llama-Chinese

Llama中文社区,Llama3在线体验和微调模型已开放,实时汇总最新Llama3学习资料,已将所有代码更新适配Llama3,构建最好的中文Llama大模型,完全开源可商用
https://llama.family
14.01k stars 1.26k forks source link

这是否是transformer的版本问题 #224

Open GluttonousCat opened 1 year ago

GluttonousCat commented 1 year ago

Traceback (most recent call last): File "/root/Llama2-Chinese/train/sft/finetune_clm_lora.py", line 691, in main() File "/root/Llama2-Chinese/train/sft/finetune_clm_lora.py", line 281, in main model_args, data_args, training_args = parser.parse_args_into_dataclasses() File "/usr/local/lib/python3.10/site-packages/transformers/hf_argparser.py", line 338, in parse_args_into_dataclasses obj = dtype(**inputs) File "", line 112, in init File "/usr/local/lib/python3.10/site-packages/transformers/training_args.py", line 1607, in post_init self.hf_deepspeed_config = HfTrainerDeepSpeedConfig(self.deepspeed) File "/usr/local/lib/python3.10/site-packages/transformers/deepspeed.py", line 76, in init super().init__(config_file_or_dict) File "/usr/local/lib/python3.10/site-packages/transformers/deepspeed.py", line 66, in init super().init__(config_file_or_dict) File "/usr/local/lib/python3.10/site-packages/accelerate/utils/deepspeed.py", line 55, in init raise ValueError( ValueError: Expected a string path to an existing deepspeed config, or a dictionary, or a base64 encoded string. Received: ds_config_zero2.json

HoJ-Onle commented 10 months ago

我遇到了同样的问题 你解决了么