Notebook tips
This document contains a collection of tips and best practices for using Jupyter notebooks effectively with Snorkel.
How to use Git CLI with Snorkel
Snorkel's in-platform notebook server comes with Git CLI, which allows users to version control notebooks, data files, and more.
-
Select Notebook from the left navigation.
-
From the Other menu, select Terminal.
-
Clone your git repository using the full HTTPS URL, like
https://github.com/USERNAME/REPO.git
:$ git clone https://github.com/USERNAME/REPO.git
Username: YOUR_USERNAME
Password: YOUR_PERSONAL_ACCESS_TOKENUse your personal access token. See Using a personal access token on the command line for details.
Note that SSH URLs, like git@github.com:user/repo.git
, are not supported.
Snorkel does not come with its own internal Git repository. Please create or provide your own from GitHub or equivalent.
The Git CLI is also available through the Notebook via system shell
access
(i.e., the magic command !git
).