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
python examples/scripts/nash_md.py \ --model_name_or_path ../../autodl-tmp/models/qwen2_7B \ --reward_model ../../autodl-tmp/models/qwen2_reward_0_5B \ --dataset_name ../datas/hh-rlhf-helpful-base \ --max_length 1024 \ --learning_rate 1.0e-5 \ --output_dir ../../autodl-tmp/saves/qwen2_7B_nash_KLfree \ --per_device_train_batch_size 1 \ --gradient_accumulation_steps 8 \ --num_train_epochs 1 \ --max_new_tokens 128 \ --warmup_ratio 0.1 \ --use_peft True \ --lora_task_type "CAUSAL_LM" \ --lora_dropout 0.1 \ --lora_r 8 \ --lora_alpha 16 \ --lora_target_modules "q_proj,k_proj,v_proj" \ --mixture_coef 0 \ --run_name nash \ --temperature 0.7 \ --max_steps 375 \ --report_to wandb
The text was updated successfully, but these errors were encountered:
try using deepspeed zero stage 3 and trim the length of the input text or the length of the generated text.
Sorry, something went wrong.
I also encountered this problem. I solved it by downgrading the trl version to 0.13.0.
0.13.0
No branches or pull requests
Reproduction
System Info
Checklist
The text was updated successfully, but these errors were encountered: