BERT
----------------------------------------------------

``BertConfig``
~~~~~~~~~~~~~~~~~~~~~

.. autoclass:: pytorch_transformers.BertConfig
    :members:


``BertTokenizer``
~~~~~~~~~~~~~~~~~~~~~

.. autoclass:: pytorch_transformers.BertTokenizer
    :members:


``BertModel``
~~~~~~~~~~~~~~~~~~~~

.. autoclass:: pytorch_transformers.BertModel
    :members:


``BertForPreTraining``
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

.. autoclass:: pytorch_transformers.BertForPreTraining
    :members:


``BertForMaskedLM``
~~~~~~~~~~~~~~~~~~~~~~~~~~

.. autoclass:: pytorch_transformers.BertForMaskedLM
    :members:


``BertForNextSentencePrediction``
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

.. autoclass:: pytorch_transformers.BertForNextSentencePrediction
    :members:


``BertForSequenceClassification``
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

.. autoclass:: pytorch_transformers.BertForSequenceClassification
    :members:


``BertForMultipleChoice``
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

.. autoclass:: pytorch_transformers.BertForMultipleChoice
    :members:


``BertForTokenClassification``
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

.. autoclass:: pytorch_transformers.BertForTokenClassification
    :members:


``BertForQuestionAnswering``
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

.. autoclass:: pytorch_transformers.BertForQuestionAnswering
    :members:

