Colaboratory is a hosted Jupyter notebook environment that is free to use and requires no setup. You may have already seen it in Machine Learning Crash Course,’s eager execution tutorial, or on various research articles (like this one).

We wanted to offer 5 tips for using it: 1. TensorFlow is already pre-installed When you create a new notebook on, TensorFlow is already pre-installed and optimized for the hardware being used.

Just import tensorflow as tf, and start coding. 2.

Setup your libraries and data dependencies in code cells Creating a cell with !pip install or !apt-get works as you’d expect. It also makes it easy for others to reproduce your setup.

To get in your training data, you can follow these tutorials for popular data sources: BigQuery, Drive, Sheets, or Google Cloud Storage. You also have access to the shell with !, so !wget, !pwd, etc. Read more from…

thumbnail courtesy of