[Doc] XLM + Torch in documentation

This commit is contained in:
LysandreJik
2019-09-26 10:08:56 -04:00
parent 302a4813a5
commit 7e957237e4
2 changed files with 5 additions and 4 deletions

View File

@@ -28,4 +28,5 @@ sphinxcontrib-serializinghtml==1.1.3
urllib3==1.25.3 urllib3==1.25.3
sphinx-markdown-tables==0.0.9 sphinx-markdown-tables==0.0.9
numpy==1.17.2 numpy==1.17.2
tensorflow==2.0.0rc2 tensorflow==2.0.0rc2
torch==1.1.0

View File

@@ -51,19 +51,19 @@ XLM
``TFXLMWithLMHeadModel`` ``TFXLMWithLMHeadModel``
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.. autoclass:: pytorch_transformers.TFXLMWithLMHeadModel .. autoclass:: transformers.TFXLMWithLMHeadModel
:members: :members:
``TFXLMForSequenceClassification`` ``TFXLMForSequenceClassification``
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.. autoclass:: pytorch_transformers.TFXLMForSequenceClassification .. autoclass:: transformers.TFXLMForSequenceClassification
:members: :members:
``TFXLMForQuestionAnsweringSimple`` ``TFXLMForQuestionAnsweringSimple``
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.. autoclass:: pytorch_transformers.TFXLMForQuestionAnsweringSimple .. autoclass:: transformers.TFXLMForQuestionAnsweringSimple
:members: :members: