Trainer
==================================

Users could freely customize the training process, and can also use our ``Runner`` API to conduct classification or generation,
while in this case you need to construct a ``config.yml`` file, see :ref:`ref_config`.


Classification Runner
---------------------------------

.. autoclass:: openprompt.trainer.ClassificationRunner
   :members:


Generation Runner
---------------------------------

.. autoclass:: openprompt.trainer.GenerationRunner
   :members:

LM-BFF Classification Runner
---------------------------------
.. autoclass:: openprompt.lm_bff_trainer.LMBFFClassificationRunner
   :members: