Welcome to WISER (Weak and Indirect Supervision for Entity Recognition), a system for training sequence tagging models, particularly neural networks for named entity recognition (NER) and related tasks. WISER uses weak supervision in the form of rules to train these models, as opposed to hand-labeled training data.
The original WISER paper can be accessed here.
| Method | NCBI-Disease (F1) | BC5CDR (F1) | LaptopReview (F1) | | ------------- |-------------| -----| -----| | AutoNER | 75.52 | 82.13 | 65.44 | | Snorkel | 73.41 | 82.24 | 63.54 | | WISER | 79.03 | 82.94 | 69.04 |
These instructions will WISER up and running on your local machine to develop your own pipelines for weakly supervised for sequence tagging tasks.
WISER requires Python 3.7. To install the required dependencies, please run
pip install -r requirements.txt
Or alternatively
conda install --file requirements.txt
Then, inside the wiser directory, please run
pip install .
Refer to tutorial/introduction for a comprehensive introduction to using WISER to train end-to-end frameworks with weak supervision. More tutorials coming soon!
Once you're comfortable with the WISER framework, we recommend looking at our FAQ for strategies on how to write rules and debug your pipeline.
Please cite the following paper if you are using our tool. Thank you!
Esteban Safranchik, Shiying Luo, Stephen H. Bach. "Weakly Supervised Sequence Tagging From Noisy Rules". In 34th AAAI Conference on Artificial Intelligence, 2020.
@inproceedings{safranchik2020weakly,
title = {Weakly Supervised Sequence Tagging From Noisy Rules},
author = {Safranchik, Esteban and Luo, Shiying and Bach, Stephen H.},
booktitle = {AAAI},
year = 2020,
}
Bumps ipython from 7.11.1 to 8.10.0.
Sourced from ipython's releases.
See https://pypi.org/project/ipython/
We do not use GitHub release anymore. Please see PyPI https://pypi.org/project/ipython/
15ea1ed
release 8.10.0560ad10
DOC: Update what's new for 8.10 (#13939)7557ade
DOC: Update what's new for 8.10385d693
Merge pull request from GHSA-29gw-9793-fvw7e548ee2
Swallow potential exceptions from showtraceback() (#13934)0694b08
MAINT: mock slowest test. (#13885)8655912
MAINT: mock slowest test.a011765
Isolate the attack tests with setUp and tearDown methodsc7a9470
Add some regression tests for this changefd34cf5
Swallow potential exceptions from showtraceback()Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase
.
Resolved naming issues and evaluation errors
Wiser version used for the reproducibility code of the paper Weakly Supervised Sequence Tagging from Noisy Rules.
We are a machine learning research group at Brown University. We work on improving the processes by which humans teach computers.
GitHub Repository