.. role:: hidden
    :class: hidden-section

torchtext.models
===========================

.. automodule:: torchtext.models
.. currentmodule:: torchtext.models

RobertaBundle
-------------

.. autoclass:: RobertaBundle
   :members: transform

   .. automethod:: get_model

XLMR_BASE_ENCODER
-----------------

.. container:: py attribute

   .. autodata:: XLMR_BASE_ENCODER
      :no-value:


XLMR_LARGE_ENCODER
------------------

.. container:: py attribute

   .. autodata:: XLMR_LARGE_ENCODER
      :no-value:

ROBERTA_BASE_ENCODER
--------------------

.. container:: py attribute

   .. autodata:: ROBERTA_BASE_ENCODER
      :no-value:


ROBERTA_LARGE_ENCODER
---------------------

.. container:: py attribute

   .. autodata:: ROBERTA_LARGE_ENCODER
      :no-value:
