dandelionsllm / pandallm

Panda项目是于2023年5月启动的开源海外中文大语言模型项目,致力于大模型时代探索整个技术栈,旨在推动中文自然语言处理领域的创新和合作。
Apache License 2.0
1.07k stars 91 forks source link

RuntimeError: The size of tensor a (32000) must match the size of tensor b (32001) at non-singleton dimension 0 #1

Closed gqjia closed 1 year ago

gqjia commented 1 year ago

Traceback (most recent call last): File "/panda/apply_delta.py", line 171, in apply_delta(args.base_model_path, args.target_model_path, args.delta_path) File "/panda/apply_delta.py", line 146, in apply_delta param.data += delta.state_dict()[name] RuntimeError: The size of tensor a (32000) must match the size of tensor b (32001) at non-singleton dimension 0

SparkJiao commented 1 year ago

Now fixed. Try it again after git pull.

Thanks!