Code for "SEE-Few: Seed, Expand and Entail for Few-shot Named Entity Recognition", accepted at COLING 2022. For details of the model and experiments, please see our paper.
conda create --name see-few python=3.8
conda activate see-few
pip install -r requirements.txt
To make the experimental results more convincing and credible, we randomly sample 5 different groups of training sets and validation sets for each K. All the datasets have been uploaded to datasets.
bash scripts/run_conll.sh
We thank the authors for sharing their codes of Locate and Label, StructShot, TemplateNER and BaselineCode.
If you have any questions, please feel free to email yangzeng@seu.edu.cn
.
@inproceedings{yang-etal-2022-see,
title = "{SEE}-Few: Seed, Expand and Entail for Few-shot Named Entity Recognition",
author = "Yang, Zeng and
Zhang, Linhai and
Zhou, Deyu",
booktitle = "Proceedings of the 29th International Conference on Computational Linguistics",
month = oct,
year = "2022",
address = "Gyeongju, Republic of Korea",
publisher = "International Committee on Computational Linguistics",
url = "https://aclanthology.org/2022.coling-1.224",
pages = "2540--2550",
}