You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: beginner_source/basics/intro.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -34,7 +34,7 @@
34
34
------------------
35
35
You can run this tutorial in a couple of ways:
36
36
37
-
- **In the cloud**: This is the easiest way to get started! Each section has a "Run in Microsoft Learn" link at the top, which opens an integrated notebook in Microsoft Learn with the code in a fully-hosted environment.
37
+
- **In the cloud**: This is the easiest way to get started! Each section has a "Run in Microsoft Learn" and "Run in Google Colab" link at the top, which opens an integrated notebook in Microsoft Learn or Google Colab, respectively, with the code in a fully-hosted environment.
38
38
- **Locally**: This option requires you to setup PyTorch and TorchVision first on your local machine (`installation instructions <https://pytorch.org/get-started/locally/>`_). Download the notebook or copy the code into your favorite IDE.
Copy file name to clipboardExpand all lines: beginner_source/dist_overview.rst
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -126,7 +126,7 @@ DDP materials are listed below:
126
126
described in the
127
127
`Single-Machine Model Parallel Best Practices <../intermediate/model_parallel_tutorial.html>`__
128
128
tutorial.
129
-
3. The `Launching and configuring distributed data parallel applications <https://github.com/pytorch/examples/blob/stable/distributed/ddp/README.md>`__
129
+
3. The `Launching and configuring distributed data parallel applications <https://github.com/pytorch/examples/blob/main/distributed/ddp/README.md>`__
130
130
document shows how to use the DDP launching script.
131
131
4. The `Shard Optimizer States With ZeroRedundancyOptimizer <../recipes/zero_redundancy_optimizer.html>`__
132
132
recipe demonstrates how `ZeroRedundancyOptimizer <https://pytorch.org/docs/stable/distributed.optim.html>`__
- How to train a translation model from scratch using Transformer.
7
-
- Use tochtext library to access `Multi30k <http://www.statmt.org/wmt16/multimodal-task.html#task1>`__ dataset to train a German to English translation model.
6
+
- How to train a translation model from scratch using Transformer.
7
+
- Use torchtext library to access `Multi30k <http://www.statmt.org/wmt16/multimodal-task.html#task1>`__ dataset to train a German to English translation model.
8
8
"""
9
9
10
10
@@ -14,12 +14,12 @@
14
14
#
15
15
# `torchtext library <https://pytorch.org/text/stable/>`__ has utilities for creating datasets that can be easily
16
16
# iterated through for the purposes of creating a language translation
17
-
# model. In this example, we show how to use torchtext's inbuilt datasets,
17
+
# model. In this example, we show how to use torchtext's inbuilt datasets,
18
18
# tokenize a raw text sentence, build vocabulary, and numericalize tokens into tensor. We will use
19
19
# `Multi30k dataset from torchtext library <https://pytorch.org/text/stable/datasets.html#multi30k>`__
20
-
# that yields a pair of source-target raw sentences.
20
+
# that yields a pair of source-target raw sentences.
21
21
#
22
-
# To access torchtext datasets, please install torchdata following instructions at https://github.com/pytorch/data.
22
+
# To access torchtext datasets, please install torchdata following instructions at https://github.com/pytorch/data.
0 commit comments