trinity.algorithm.algorithm_manager module

AlgorithmManager for switching between SFT and RFT.

class trinity.algorithm.algorithm_manager.AlgorithmManager(config: Config)[source]

Bases: object

__init__(config: Config)[source]
get_current_algorithm_config(global_steps: int)[source]
need_save(global_steps: int)[source]