Skip to content

Commit b3ad6e2

Browse files
committed
Updated toc and tutorial notes.
1 parent 1bdbee4 commit b3ad6e2

File tree

6 files changed

+19
-10
lines changed

6 files changed

+19
-10
lines changed

_static/img/hybrid.png

27.2 KB
Loading

advanced_source/cpp_export.rst

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
1-
Loading a PyTorch model in C++
1+
Loading a PyTorch Model in C++
22
==============================
33

4+
This tutorial requires PyTorch 1.0 (preview) or later. For installation information
5+
visit http://pytorch.org/get-started.
6+
47
As its name suggests, the primary interface to PyTorch is the Python
58
programming language. While Python is a suitable and preferred language for
69
many scenarios requiring dynamism and ease of iteration, there are equally many

beginner_source/chatbot_tutorial.py

+3
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@
77

88

99
######################################################################
10+
# This example requires PyTorch 1.0 (preview) or later.
11+
# For installation information visit http://pytorch.org/get-started.
12+
#
1013
# In this tutorial, we explore a fun and interesting use-case of recurrent
1114
# sequence-to-sequence models. We will train a simple chatbot using movie
1215
# scripts from the `Cornell Movie-Dialogs

beginner_source/deploy_seq2seq_hybrid_frontend_tutorial.py

+6-6
Original file line numberDiff line numberDiff line change
@@ -7,17 +7,17 @@
77

88

99
######################################################################
10+
# This example requires PyTorch 1.0 (preview) or later. For installation
11+
# information visit http://pytorch.org/get-started.
12+
#
1013
# This tutorial will walk through the process of transitioning a
1114
# sequence-to-sequence model to Torch Script using PyTorch’s Hybrid
1215
# Frontend. The model that we will convert is the chatbot model from the
13-
# `Chatbot tutorial <>`__. While the `introductory hybrid frontend
14-
# tutorials <>`__ are useful for gaining an understanding of the
15-
# work-flow, purpose, and basic syntax of the feature, this document
16-
# covers a more challenging model and a more practical use-case. You can
17-
# either treat this tutorial as a “Part 2” to the `Chatbot tutorial <>`__
16+
# `Chatbot tutorial <https://pytorch.org/tutorials/beginner/chatbot_tutorial.html>`__.
17+
# You can either treat this tutorial as a “Part 2” to the Chatbot tutorial
1818
# and deploy your own pretrained model, or you can start with this
1919
# document and use a pretrained model that we host. In the latter case,
20-
# you can reference the original `Chatbot tutorial <>`__ for details
20+
# you can reference the original Chatbot tutorial for details
2121
# regarding data preprocessing, model theory and definition, and model
2222
# training.
2323
#

beginner_source/hybrid_frontend/learning_hybrid_frontend_through_example_tutorial.py

+3
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@
44
===============================================
55
**Author:** `Nathan Inkawhich <https://github.com/inkawhich>`_
66
7+
This tutorial requires PyTorch 1.0 (preview) or later. For installation
8+
information visit http://pytorch.org/get-started.
9+
710
This document is meant to highlight the syntax of the Hybrid Frontend
811
through a non-code intensive example. The Hybrid Frontend is one of the
912
new shiny features of Pytorch 1.0 and provides an avenue for developers

index.rst

+3-3
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,9 @@ Getting Started
4343
:description: :doc:`beginner/transfer_learning_tutorial`
4444

4545
.. customgalleryitem::
46-
:figure: /_static/img/hybrid_frontend/220px-KnnClassification.png
46+
:figure: /_static/img/hybrid.png
4747
:tooltip: Experiment with some of the key features of the PyTorch hybrid frontend
48-
:description: :doc:`beginner/hybrid_frontend_tutorial`
48+
:description: :doc:`beginner/deploy_seq2seq_hybrid_frontend_tutorial`
4949

5050
.. customgalleryitem::
5151
:figure: /_static/img/thumbnails/floppy.png
@@ -214,7 +214,7 @@ Production Usage
214214
beginner/data_loading_tutorial
215215
beginner/pytorch_with_examples
216216
beginner/transfer_learning_tutorial
217-
beginner/hybrid_frontend_tutorial
217+
beginner/deploy_seq2seq_hybrid_frontend_tutorial
218218
beginner/saving_loading_models
219219

220220
.. toctree::

0 commit comments

Comments
 (0)