ColossalAI/applications/ColossalChat/coati/trainer
Tong Li 39e2597426
[ColossalChat] Add PP support (#6001)
* support pp training

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

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

* update rm

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

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

* refactor

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

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

* update test case

* fix

* change to 4

* fix eval

* test

* add pp

* hotfix

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

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

* support pp training

* update rm

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

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

* refactor

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

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

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

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

* update test case

* fix

* change to 4

* fix eval

* test

* add pp

* hotfix

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

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

* update

* skip pp eval

* update all reduce

* update sft

* update ignore

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

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

* update no cache

* add eval

* remove fi

* remove debug

* remove parentheses to avoid warning

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

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

* Revert "add eval"

This reverts commit 3ab2f6fa32.

* add all reduce

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-08-21 10:47:39 +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 [ColossalChat] Add PP support (#6001) 2024-08-21 10:47:39 +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