Natural Language Processing (NLP) Tutorials (``torch-neuron``)
==============================================================

* HuggingFace pretrained BERT tutorial :ref:`[html] </src/examples/pytorch/bert_tutorial/tutorial_pretrained_bert.ipynb>` :pytorch-neuron-src:`[notebook] <bert_tutorial/tutorial_pretrained_bert.ipynb>`
* HuggingFace pretrained BERT tutorial with shared weights :ref:`[html] </src/examples/pytorch/bert_tutorial/tutorial_pretrained_bert_shared_weights.ipynb>` :pytorch-neuron-src:`[notebook] <bert_tutorial/tutorial_pretrained_bert_shared_weights.ipynb>`
* Bring your own HuggingFace pretrained BERT container to Sagemaker Tutorial :ref:`[html] </src/examples/pytorch/byoc_sm_bert_tutorial/sagemaker_container_neuron.ipynb>` :pytorch-neuron-src:`[notebook] <byoc_sm_bert_tutorial/sagemaker_container_neuron.ipynb>`
* LibTorch C++ tutorial :ref:`[html] <pytorch-tutorials-libtorch>`
* TorchServe tutorial :ref:`[html] <pytorch-tutorials-torchserve>`
* HuggingFace MarianMT tutorial :ref:`[html] </src/examples/pytorch/transformers-marianmt.ipynb>` :pytorch-neuron-src:`[notebook] <transformers-marianmt.ipynb>`


.. toctree::
   :hidden:
   :maxdepth: 1

   /src/examples/pytorch/bert_tutorial/tutorial_pretrained_bert.ipynb
   /src/examples/pytorch/bert_tutorial/tutorial_pretrained_bert_shared_weights.ipynb
   /src/examples/pytorch/byoc_sm_bert_tutorial/sagemaker_container_neuron.ipynb
   tutorial-libtorch
   tutorial-torchserve
   transformers-marianmt
