.. role:: hidden
    :class: hidden-section
.. currentmodule:: torchtune.rlhf


truncate_sequence_at_first_stop_token
=====================================

.. autofunction:: truncate_sequence_at_first_stop_token