Commit Graph

23 Commits

Author SHA1 Message Date
hiyouga
89f2bd8c8c fix #4198 2024-06-11 15:38:38 +08:00
hiyouga
f8d8690bf4 tiny fix 2024-06-07 05:19:21 +08:00
hiyouga
4489d73ac7 fix ppo trainer save zero3 model
accelerator.get_state_dict(ds_model) should be called at all ranks
2024-06-07 05:14:19 +08:00
hiyouga
2702d7e952 fix ppo in trl 0.8.6 2024-06-07 04:48:29 +08:00
hiyouga
f9e818d79c fix #4120 2024-06-07 04:18:05 +08:00
hiyouga
74f96efef9 rename files 2024-06-07 00:09:06 +08:00
hiyouga
76c61905b2 fix ppo+zero3 #3108 2024-06-06 23:30:07 +08:00
hiyouga
149610c636 fix ppo dataset bug #4012 2024-06-06 19:03:20 +08:00
hiyouga
fad2591e31 update trainers 2024-06-06 18:45:49 +08:00
hiyouga
67fe822324 fix #4090 2024-06-06 00:50:32 +08:00
hiyouga
f9a206509e remove gc warnings in DPO&KTO 2024-06-03 22:53:54 +08:00
hoshi-hiyouga
24499f40dc Update trainer.py 2024-06-03 22:08:38 +08:00
enji.zhou
34a2c5087a fix KTO Trainer Sampler 2024-06-03 21:32:38 +08:00
Uminosachi
14e97dc119 Set scheduler_specific_kwargs to get_scheduler 2024-05-31 13:45:39 +09:00
hiyouga
65cd8bdbdb 10x generate in ppo w/ zero3
https://github.com/huggingface/trl/pull/1483
2024-05-29 00:23:23 +08:00
hiyouga
7c8e01bb74 update dpo, kto trainer 2024-05-29 00:14:29 +08:00
hiyouga
900e1ea622 clean kto trainer 2024-05-28 21:43:26 +08:00
hiyouga
cb63b32986 support SimPO #3900 2024-05-26 23:46:33 +08:00
hiyouga
3a023bca2a refactor data preprocessing, fix mllm rlhf 2024-05-24 04:08:25 +08:00
hiyouga
a851056229 improve data process logger 2024-05-18 22:02:42 +08:00
hiyouga
c450ee87a3 improve KTO impl., replace datasets 2024-05-18 03:44:56 +08:00
enji.zhou
db1d5a4f51 add kto 2024-05-17 13:09:17 +08:00
hiyouga
308edbc426 rename package 2024-05-16 18:39:08 +08:00