Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

全量微调Qwen1.5模型 报错 'weight' must e 2-D #3671

Open
1 task done
Leekinxun opened this issue May 10, 2024 · 0 comments
Open
1 task done

全量微调Qwen1.5模型 报错 'weight' must e 2-D #3671

Leekinxun opened this issue May 10, 2024 · 0 comments
Labels
pending This problem is yet to be addressed.

Comments

@Leekinxun
Copy link

Reminder

  • I have read the README and searched the existing issues.

Reproduction

训练脚本如下:
CUDA_VISIBLE_DEVICES=1,2,3 python src/train.py
--deepspeed deepspeed/ds_config_zero3.json
--stage sft
--do_train
--model_name_or_path "/data02/pretrained_models/Qwen1.5-4B-Chat"
--dataset health_style
--template qwen
--finetuning_type full
--output_dir "save_models/Qwen1.5-4b_healthy"
--overwrite_cache
--per_device_train_batch_size 4
--gradient_accumulation_steps 4
--lr_scheduler_type cosine
--logging_steps 100
--save_steps 56850
--learning_rate 3e-4
--num_train_epochs 150.0
--plot_loss
--ddp_timeout 180000000
--fp16

Expected behavior

报错:‘weight' must be 2-D

System Info

No response

Others

No response

@hiyouga hiyouga added the pending This problem is yet to be addressed. label May 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pending This problem is yet to be addressed.
Projects
None yet
Development

No branches or pull requests

2 participants