Skip to content
A JupyterLab extension for annotating machine learning training sets using Prodigy
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
binder
notebooks
src
style
.gitignore
.prettierrc
LICENSE.txt
MANIFEST.in
README.md
package.json
tsconfig.json
yarn.lock

README.md

jupyterlab-prodigy

Binder

A JupyterLab extension for annotating machine learning training sets using Prodigy.

demo

Requirements

  • JupyterLab
  • Prodigy

Install

First, install the Python package:

pip install jupyterlab-prodigy # or conda install -c conda-forge jupyterlab-prodigy

Then, install the JupyterLab extension

jupyter labextension install jupyterlab-prodigy

Develop

git clone https://github.com/explosionai/jupyterlab-prodigy
cd jupyterlab-prodigy

# Install Javascript dependencies
npm install # or yarn

# Build JupyterLab extension
npm run build # or yarn build
jupyter labextension link .

To rebuild the JupyterLab extension:

npm run build
jupyter lab build

To rebuild the JupyterLab extension automatically as the source changes:

# In one terminal tab, watch the jupyterlab-prodigy directory
npm run watch # or yarn watch

# In another terminal tab, run jupyterlab with the watch flag
jupyter lab --watch

Usage

In a notebook cell:

!prodigy custom-recipe my_dataset /path/to/data.jsonl
You can’t perform that action at this time.