# Unsupervised Label Refinement Improves Dataless Text Classification

Please visit [https://github.com/ZeweiChu/ULR](https://github.com/ZeweiChu/ULR) to get more details. 

This repository contains the code and data for the paper [Unsupervised Label Refinement Improves Dataless Text Classification](https://arxiv.org/abs/2012.04194)。 

## repo structure
- dual-encoder: with cosine and L2 distances
- single-encoder
- data: pretraining data

## dependencies
- PyTorch 1.4.0
- transformers 2.6.0
- scipy 1.4.1
- numpy 1.19.1
- sklearn 
