Snorkel

Weak supervision system that generates training labels programmatically from labeling functions.

Open SourceSelf HostedOffline Capable
0.0 (0)

About

Instead of hand-labeling training data, Snorkel users write labeling functions: small Python heuristics, pattern matchers, or distant supervision rules that each vote noisily on a label. A generative label model then estimates the accuracy and correlations of those functions and combines their votes into probabilistic training labels, letting a downstream model learn from far more data than manual annotation could produce. The approach, called weak supervision, originated at Stanford in 2015 and became the foundational programmatic labeling project before spawning the company Snorkel AI. The library installs with pip or conda, runs on CPU, and covers labeling functions, transformation functions for data augmentation, and slicing functions for monitoring important subsets. It is Apache 2.0 licensed with documentation at snorkel.readthedocs.io and sits around 6,000 GitHub stars. The repository is now in maintenance mode, with the core team focused on the commercial Snorkel Flow platform, but it remains the reference implementation and the standard teaching codebase for weak supervision.

Should you use Snorkel?

Pick it when

Pick this when you have a large unlabeled text or tabular corpus, domain experts who can express labeling rules as Python heuristics, and no budget for hand-labeling, or when you want to learn weak supervision from its reference code.

Look elsewhere when

Skip it if you need an actively developed library, since the repo is in maintenance mode. For images, Autodistill fits better, and if a few thousand hand labels would do, doccano or Label Studio is simpler than writing labeling functions.

Alternatives to Snorkel

  • Autodistill

    Labels images with foundation models instead of hand-written rules, so no heuristics to write, but it only works for vision tasks.

  • Cleanlab

    Finds likely errors in labels you already have, a lighter add-on to a hand-labeled set than building a full labeling function pipeline.

  • Doccano

    Plain manual labeling in a browser, slower per example but with no rules or label model to tune; MIT licensed and easy to stand up.

Reviews (0)

Leave a Review

No reviews yet. Be the first to review!

Details

Price
Free
Platform
Local/Desktop
Difficulty
Intermediate (3/5)
License
Apache-2.0
Added
Jul 29, 2026

Tags