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


mask_messages
=============

.. autofunction:: mask_messages