Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
CTRL | |
---------------------------------------------------- | |
Note: if you fine-tune a CTRL model using the Salesforce code (https://github.com/salesforce/ctrl), | |
you'll be able to convert from TF to our HuggingFace/Transformers format using the | |
``convert_tf_to_huggingface_pytorch.py`` script (see `issue #1654 <https://github.com/huggingface/transformers/issues/1654>`_). | |
``CTRLConfig`` | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
.. autoclass:: transformers.CTRLConfig | |
:members: | |
``CTRLTokenizer`` | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
.. autoclass:: transformers.CTRLTokenizer | |
:members: | |
``CTRLModel`` | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
.. autoclass:: transformers.CTRLModel | |
:members: | |
``CTRLLMHeadModel`` | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
.. autoclass:: transformers.CTRLLMHeadModel | |
:members: | |
``TFCTRLModel`` | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
.. autoclass:: transformers.TFCTRLModel | |
:members: | |
``TFCTRLLMHeadModel`` | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
.. autoclass:: transformers.TFCTRLLMHeadModel | |
:members: | |