TL;DR
skweak is an open-source Python toolkit that simplifies applying weak supervision in NLP, enabling automatic annotation of datasets through diverse labeling functions and aggregation models for tasks like NER and sentiment analysis.
Contribution
It introduces a versatile toolkit that streamlines the implementation and aggregation of weak supervision labeling functions specifically for NLP applications.
Findings
Facilitates easy implementation of diverse labeling functions
Supports unsupervised aggregation of weak labels
Applied successfully to NER and sentiment analysis tasks
Abstract
We present skweak, a versatile, Python-based software toolkit enabling NLP developers to apply weak supervision to a wide range of NLP tasks. Weak supervision is an emerging machine learning paradigm based on a simple idea: instead of labelling data points by hand, we use labelling functions derived from domain knowledge to automatically obtain annotations for a given dataset. The resulting labels are then aggregated with a generative model that estimates the accuracy (and possible confusions) of each labelling function. The skweak toolkit makes it easy to implement a large spectrum of labelling functions (such as heuristics, gazetteers, neural models or linguistic constraints) on text data, apply them on a corpus, and aggregate their results in a fully unsupervised fashion. skweak is especially designed to facilitate the use of weak supervision for NLP tasks such as text classification…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
