Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix: RuntimeError: 'weight' must be 2-D issue (huggingface#687)
* Update dpo_trainer.py * Fix: self.args.deepspeed > self.is_deepspeed_enabled * Update trl/trainer/dpo_trainer.py Co-authored-by: Younes Belkada <49240599+younesbelkada@users.noreply.github.com> --------- Co-authored-by: Younes Belkada <49240599+younesbelkada@users.noreply.github.com>
- Loading branch information