ColossalAI/applications/ColossalChat/coati/trainer
Tong Li 4c8e85ee0d
[Coati] Train DPO using PP (#6054)
* update dpo

* remove unsupport plugin

* update msg

* update dpo

* remove unsupport plugin

* update msg

* update template

* update dataset

* add pp for dpo

* update dpo

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* add dpo fn

* update dpo

* update dpo

* update dpo

* update dpo

* minor update

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* update loss

* update help

* polish code

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-10-11 19:32:00 +08:00
..
callbacks [ColossalChat] Update RLHF V2 (#5286) 2024-03-29 14:12:29 +08:00
__init__.py add kto 2024-07-18 07:54:11 +00:00
base.py [ColossalChat] Add PP support (#6001) 2024-08-21 10:47:39 +08:00
dpo.py [Coati] Train DPO using PP (#6054) 2024-10-11 19:32:00 +08:00
kto.py [ColossalChat] Add PP support (#6001) 2024-08-21 10:47:39 +08:00
orpo.py [ColossalChat] Add PP support (#6001) 2024-08-21 10:47:39 +08:00
ppo.py Support overall loss, update KTO logging 2024-08-02 06:51:38 +00:00
rm.py [ColossalChat] Add PP support (#6001) 2024-08-21 10:47:39 +08:00
sft.py [ColossalChat] Add PP support (#6001) 2024-08-21 10:47:39 +08:00
utils.py [ColossalChat] Add PP support (#6001) 2024-08-21 10:47:39 +08:00