Spaces:
Runtime error
Runtime error
Download trlx/docs/source/trainer.rst from teachyourselfcoding/chatlawv1: direct link, hf CLI and curl.
- Browser
- Download file 566 Bytes
-
https://huggingface.co/spaces/teachyourselfcoding/chatlawv1/resolve/main/trlx/docs/source/trainer.rst
- Command line
-
hf download hf://spaces/teachyourselfcoding/chatlawv1/trlx/docs/source/trainer.rst
-
curl -L -o trainer.rst https://huggingface.co/spaces/teachyourselfcoding/chatlawv1/resolve/main/trlx/docs/source/trainer.rst
566 Bytes
| .. _trainers: | |
| RL Trainers | |
| ******************* | |
| RL Trainers are what you're training with trlX. Currently, we support PPO and ILQL. | |
| Note that new trainers must be registered with ``trlx.trainer.register_trainer``. | |
| **General** | |
| .. autoclass:: trlx.trainer.BaseRLTrainer | |
| :members: | |
| .. autoclass:: trlx.trainer.accelerate_base_trainer.AccelerateRLTrainer | |
| :members: | |
| **PPO** | |
| .. autoclass:: trlx.trainer.accelerate_ppo_trainer.AcceleratePPOTrainer | |
| :members: | |
| **ILQL** | |
| .. autoclass:: trlx.trainer.accelerate_ilql_trainer.AccelerateILQLTrainer | |
| :members: | |