Top Colab Notebooks To Kickstart Your Machine Learning Journey

Colaboratory, or “Colab” for short, is a product from Google Research, which is technically a hosted Jupyter Notebook service that requires no setup to use.

With Google’s Colab, one can access its GPUs and TPUs almost for free. Now with its new paid version Colab pro, the machine learning practitioners can stay connected for up to 24 hours, compared to the 12 hours in the free version of Colab notebooks. One can also get priority access to high-memory virtual machines, which has double the memory of standard Colab VMs and has twice as many CPUs. 

In the next section, we look at a few illustrative examples on Colab notebooks that can kick start your machine learning journey in a couple of steps.

AIM Daily XO

Join our editors every weekday evening as they steer you through the most significant news of the day, introduce you to fresh perspectives, and provide unexpected moments of joy
Your newsletter subscriptions are subject to AIM Privacy Policy and Terms and Conditions.

DeepDream

This tutorial contains an implementation of DeepDream, an experiment that visualizes the patterns learned by a neural network. DeepDream looks at patterns in an image and over-interprets and enhances them.

To do this, it feeds the image through the network, then calculates the gradient of the image with respect to the activations of a particular layer. The image then undergoes modification to increase these activations, enhancing the patterns seen by the network, thereby resulting in a dream-like image. 


Download our Mobile App



Colab link.

Lucid

Lucid is a collection of infrastructure and tools for research in neural network interpretability. This tutorial quickly introduces Lucid, a network for visualizing neural networks. Lucid is a kind of a step up from DeepDream and provides flexible abstractions so that it can be used for a wide range of interpretability research. Start visualizing neural networks with no setup from your browser using Colab.

Colab link 

GANs On TensorFlow

From creating million-dollar art auctions to making up fake presidents, GANs have been quite popular for the past couple of years. This notebook consists of GANs, and its many variants that have been developed over the years such as ‘DCGAN’, ‘WGAN’, ‘WGAN-GP’, ‘LSGAN’, ‘SNGAN’, ‘RSGAN’&’RaSGAN’, ‘BEGAN’, ‘ACGAN’, ‘PGGAN’, ‘pix2pix’, ‘BigGAN’.

Colab link

Getting Started With PyTorch 

Pytorch is one of the hottest machine learning tools today. Its rise in popularity can be attributed to the fact that many AI researchers are imbibing this framework by Facebook for their research. In the Colab repo, you’ll find many basic neural network operations using PyTorch packages.

Colab repo link

Movie Review Sentiment with BERT on TF Hub

BERT’s has been added to TF Hub as a loadable module, it’s easy to add into existing TensorFlow text pipelines. In an existing pipeline, BERT can replace text embedding layers like ELMO and GloVE. Alternatively, fine-tuning BERT can provide both an accuracy boost and faster training time in many cases.

Using this notebook, one can train a model to predict whether an IMDB movie review is positive or negative using BERT in TensorFlow with the TF hub. 

Colab link

Detectron 2 Beginner Tutorial

Detectron2 was developed by Facebook AI Research to implement state-of-the-art object detection algorithms. In this official Colab tutorial of Detectron2, one can get familiarise with some basics usage of Detectron2, including running inference on images or videos with an existing Detectron2 model.

Colab link

DeOldify

This project allows one to colorize and restore old images and film footage. This project makes use of NoGAN. Firstly, the generator is trained in a conventional way by itself with just the feature loss. Next, images are generated from that, and then a binary classifier is used to distinguish between those outputs and real images. A typical GAN working principle of generator and discriminator.

Colab repo link.

GPT-2: Text Generation

This notebook by Max Woolf walks through how to retrain an advanced text generating neural network on any text dataset for free on a GPU using Colaboratory with `gpt-2-simple`, a simple Python package that wraps existing model, fine-tunes and generates scripts for OpenAI’s GPT-2 text generation model (specifically the “small” 124M and “medium” 355M hyperparameter versions).

Colab link.

For more Colab notebooks, check this Github compilation.

Sign up for The Deep Learning Podcast

by Vijayalakshmi Anandan

The Deep Learning Curve is a technology-based podcast hosted by Vijayalakshmi Anandan - Video Presenter and Podcaster at Analytics India Magazine. This podcast is the narrator's journey of curiosity and discovery in the world of technology.

Ram Sagar
I have a master's degree in Robotics and I write about machine learning advancements.

Our Upcoming Events

24th Mar, 2023 | Webinar
Women-in-Tech: Are you ready for the Techade

27-28th Apr, 2023 I Bangalore
Data Engineering Summit (DES) 2023

23 Jun, 2023 | Bangalore
MachineCon India 2023 [AI100 Awards]

21 Jul, 2023 | New York
MachineCon USA 2023 [AI100 Awards]

3 Ways to Join our Community

Telegram group

Discover special offers, top stories, upcoming events, and more.

Discord Server

Stay Connected with a larger ecosystem of data science and ML Professionals

Subscribe to our Daily newsletter

Get our daily awesome stories & videos in your inbox
MOST POPULAR

Council Post: From Promise to Peril: The Pros and Cons of Generative AI

Most people associate ‘Generative AI’ with some type of end-of-the-world scenario. In actuality, generative AI exists to facilitate your work rather than to replace it. Its applications are showing up more frequently in daily life. There is probably a method to incorporate generative AI into your work, regardless of whether you operate as a marketer, programmer, designer, or business owner.

Meet the Tech Fanatic, Deedy

Debarghya Das or Deedy is the founding engineer of internal enterprise search space Glean, a company that strives to solve workplace search queries