skweak: Weak Supervision Made Easy for NLP
Lison, Pierre, Barnes, Jeremy, Hubin, Aliaksandr
–arXiv.org Artificial Intelligence
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 and sequence labelling. We illustrate the use of skweak for NER and sentiment analysis. skweak is released under an open-source license and is available at: https://github.com/NorskRegnesentral/skweak
arXiv.org Artificial Intelligence
Apr-19-2021
- Country:
- Oceania > Australia
- New South Wales > Sydney (0.04)
- North America
- United States
- New Mexico > Santa Fe County
- Santa Fe (0.04)
- Louisiana > Orleans Parish
- New Orleans (0.04)
- Georgia > Fulton County
- Atlanta (0.04)
- California
- San Francisco County > San Francisco (0.04)
- Los Angeles County > Los Angeles (0.04)
- New Mexico > Santa Fe County
- Canada > British Columbia
- United States
- Europe
- Spain > Canary Islands (0.04)
- Sweden > Östergötland County
- Linköping (0.04)
- Norway > Eastern Norway
- Oslo (0.05)
- Italy > Tuscany
- Florence (0.04)
- Germany > Saarland
- Saarbrücken (0.04)
- France > Provence-Alpes-Côte d'Azur
- Bouches-du-Rhône > Marseille (0.04)
- Finland > Southwest Finland
- Turku (0.04)
- Belgium > Brussels-Capital Region
- Brussels (0.04)
- Asia
- Singapore (0.04)
- Japan
- Kyūshū & Okinawa > Kyūshū
- Miyazaki Prefecture > Miyazaki (0.04)
- Honshū > Kansai
- Osaka Prefecture > Osaka (0.04)
- Kyūshū & Okinawa > Kyūshū
- Oceania > Australia
- Genre:
- Research Report (0.50)
- Industry:
- Technology: