Skip to content

Commit 0f5c258

Browse files
authored
Merge branch 'master' into master
2 parents 8deb9f5 + 7d33de7 commit 0f5c258

File tree

2 files changed

+9
-4
lines changed

2 files changed

+9
-4
lines changed

beginner_source/colab.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ At the top of the page click **Run in Google Colab**.
2020

2121
The file will open in Colab.
2222

23-
If you choose, **Runtime** then **Run All**, you'll get an error as the
23+
If you select **Runtime**, and then **Run All**, you'll get an error as the
2424
file can't be found.
2525

2626
To fix this, we'll copy the required file into our Google Drive account.
@@ -30,7 +30,7 @@ To fix this, we'll copy the required file into our Google Drive account.
3030
**cornell**.
3131
3. Visit the Cornell Movie Dialogs Corpus and download the ZIP file.
3232
4. Unzip the file on your local machine.
33-
5. Copy the file **movie\_lines.txt** to **data/cornell** folder you
33+
5. Copy the files **movie\_lines.txt** and **movie\_conversations.txt** to the **data/cornell** folder that you
3434
created in Google Drive.
3535

3636
Now we'll need to edit the file in\_ \_Colab to point to the file on
@@ -55,12 +55,12 @@ Change the two lines that follow:
5555

5656
We're now pointing to the file we uploaded to Drive.
5757

58-
Now when you click on the **Run cell** button for the code section,
58+
Now when you click the **Run cell** button for the code section,
5959
you'll be prompted to authorize Google Drive and you'll get an
6060
authorization code. Paste the code into the prompt in Colab and you
6161
should be set.
6262

63-
Rerun the notebook from **Runtime** / **Run All** menu command and
63+
Rerun the notebook from the **Runtime** / **Run All** menu command and
6464
you'll see it process. (Note that this tutorial takes a long time to
6565
run.)
6666

index.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -505,6 +505,11 @@ Additional Resources
505505
:button_link: https://github.com/pytorch/tutorials
506506
:button_text: Go To GitHub
507507

508+
.. customcalloutitem::
509+
:header: Run Tutorials on Google Colab
510+
:description: Learn how to copy tutorial data into Google Drive so that you can run tutorials on Google Colab.
511+
:button_link: beginner/colab.html
512+
:button_text: Download
508513

509514
.. End of callout section
510515

0 commit comments

Comments
 (0)