Build a website with Next.jsBuild a Discord bot with PythonBuild an app with SwiftUIPush your own modelPush a Diffusers modelPush a Transformers modelPush a model using GitHub ActionsDeploy a custom modelGet a GPU machine
Home / Get started

Run a model from Google Colab


What is Google Colab?

Google Colab is a cloud-based platform that lets you write and execute Python code right from your browser, without having to install anything or worry about setting up Python.

What are notebooks?

Colab uses notebooks: interactive documents that contain both code and other elements like paragraphs, equations, and images. Notebooks are a great prototyping tool for data scientists, researchers, and developers to create and share documents that contain live working code.

Running Replicate models on Colab

You can run any public Replicate model in a notebook with just a few lines of Python code.

To get started, check out the Replicate Python notebook