lmflow.pipeline.base_aligner
BaseTuner: a subclass of BasePipeline.
Module Contents
-
class lmflow.pipeline.base_aligner.BaseAligner(*args, **kwargs)[source]
Bases: lmflow.pipeline.base_pipeline.BasePipeline
A subclass of BasePipeline which is alignable.
-
_check_if_alignable(model, dataset, reward_model)[source]
-
abstract align(model, dataset, reward_model)[source]