Skip to content
BENIBIX Learn

Google Colab

Also known as Colab, Colaboratory, Google Colaboratory

Free notebooks on the web that can borrow a GPU.

Think of it like

It is like a free lab with all the tools set out for you.

Example

Emma is learning machine learning on an old laptop. She opens a Colab notebook and turns on a free GPU. She trains her first image model in twenty minutes.

Why it matters

It takes away the setup and the cost of hardware. Those stop many people from trying machine learning.

Definition

Google Colab is a free service for running code notebooks in the browser, hosted on Google's cloud. A notebook mixes code cells, their output and notes on one page. Colab comes with the common machine learning libraries already installed. It can attach a GPU, so you can train small models without one at home. The free tier has time and usage limits, and paid plans give more. Notebooks save to Google Drive and can be shared like a document.
A code cell, its output, and a GPU borrowed from the cloud.

Common mistake

Keeping key work only in a running session. Sessions end after a while, so save your files to Drive.

Key takeaways

  1. 1
    Notebooks in a browser. Code, output, notes.
  2. 2
    A borrowed GPU. Free, with limits.
  3. 3
    Share like a doc. Saved to Drive.