Body
Colaboratory, or "Colab" for short, allows you to write and execute Python in your browser, with
- Zero configuration required
- Free access to GPUs
- Easy sharing
Whether you're a student, a data scientist or an AI researcher, Colab can make your work easier. Watch Introduction to Colab to learn more, or just get started below!
Getting started with Colab at Dartmouth:
- Navigate to https://drive.google.com/ and log in to Google Drive with your Dartmouth credentials.
- Open a new tab and navigate to https://colab.research.google.com/
Some Dartmouth credentials, including Geisel Medical School accounts, are restricted from using Colab. In this case, you may choose accessed from your personal Gmail account.
Official Documentation:
Opening a link to a Colab Notebook (.ipynb file) in Google Drive
If you are sent a link to a Colab (or Jupyter) Notebook file from/hosed in a Google Drive, you can choose to:
- Click on the link
- When presented with the "preview", you may either download the file to your computer (no need to be signed in) or open in Colab (must sign in)
- To download the file to your computer, click on the download icon (down-arrow-into-a-tray, red circle in screenshot below, or
- Sign in (green circle below) with your Dartmouth credentials or personal Gmail account (Geisel affiliates do not have access to Colab via their institutional account) if prompted:
- When signed in, choose "Open with Google Colaboratory" at the top of the screen. If the option is not displayed, you need to connect Colab to your account by:
- drop down the arrow at the top of the screen
- select "Connect more apps"
- search for "colab" using the magnifying glass icon in the newly opened window
- select Google Colaboratory (orange logo)
- This will open the Colab/Jupyter Notebook in Google Colab.
- Make sure to save a copy of the notebook to your GDrive (File->Save a copy in Drive), as the owner of the original notebook may not allow you to save changes.