Code for COLING 2022 paper "FactMix: Using a Few Labeled In-domain Examples to Generalize to Cross-domain Named Entity Recognition" [Paper].
You can check requirement.txt to prepare the environment.
To run the code, you can simply use the following command:
python main.py
If you find our work or code useful, please kindly cite our paper:
@inproceedings{yang2022factmix,
title={FactMix: Using a Few Labeled In-domain Examples to Generalize to Cross-domain Named Entity Recognition},
author={Linyi Yang and Lifan Yuan and Leyang Cui and Wenyang Gao and Yue Zhang},
booktitle={Proceedings of COLING}
year={2022},
}