Source code for NAACL 2022 paper Weakly Supervised Text Classification using Supervision Signals from a Language Model.
We used python=3.6.8, torch-1.8.0. Other packages can be installed via pip install -r requirements.txt
To reproduce the results
sh run.sh