trl
trl copied to clipboard
Move `masked_mean`, `masked_var` and `masked_whiten` to `ppo.py`
These functions are now only used in PPO, so we should move them there. I'd would either have no notice, or only a 1 version notice ("this functions are now in trl.trainer.ppo_trainer, please import it from there").
There are probably other function that are only used in PPO, in such case, they should also be moved to ppo.py
Hi, I really want to work on this