We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
使用PPO进行全参数训练时设置了cosine lr scheduler,但是打印出来的learning rate一直不变。观察到训练过程中loss在前10步先下降,之后持续增大,检查了sft和reward model没有问题。
### model model_name_or_path: models/Qwen2-7B-sft-new ref_model: models/Qwen2-7B-sft-new reward_model: models/Qwen2-7B-reward-new reward_model_type: full ### method stage: ppo do_train: true finetuning_type: full deepspeed: examples/deepspeed/ds_z2_config.json ### dataset dataset: ppo_dataset template: qwen cutoff_len: 2048 max_samples: 10000000 overwrite_cache: true preprocessing_num_workers: 16 ### output output_dir: models/Qwen2-7B-ppo-new logging_steps: 1 save_steps: 500000 plot_loss: true overwrite_output_dir: true ### train per_device_train_batch_size: 1 gradient_accumulation_steps: 8 ppo_buffer_size: 4 learning_rate: 1.0e-6 num_train_epochs: 1.0 lr_scheduler_type: cosine warmup_ratio: 0.01 bf16: true ddp_timeout: 180000000 ### generate max_new_tokens: 1024 top_k: 0 top_p: 0.9
No response
The text was updated successfully, but these errors were encountered:
求关注下这个问题
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Reminder
System Info
使用PPO进行全参数训练时设置了cosine lr scheduler,但是打印出来的learning rate一直不变。观察到训练过程中loss在前10步先下降,之后持续增大,检查了sft和reward model没有问题。
Reproduction
Expected behavior
No response
Others
No response
The text was updated successfully, but these errors were encountered: