Source code for our paper: "Empowering Few-Shot Relation Extraction with The Integration of Traditional RE Methods and Large Language Models" [1] at DASFAA2024.
The codes are partically learned from [2,3].
[1] Ye Liu, Kai Zhang, Aoran Gan, Linan Yue, Feng Hu, Qi Liu, Enhong Chen. Empowering Few-Shot Relation Extraction with The Integration of Traditional RE Methods and Large Language Models. DASFAA 2024.
[2] Zhou W, Chen M. An Improved Baseline for Sentence-level Relation Extraction[J]. AACL-IJCNLP 2022, 2022: 161.
[3] Xu X, Zhu Y, Wang X, et al. How to Unleash the Power of Large Language Models for Few-shot Relation Extraction?[C]//Proceedings of The Fourth Workshop on Simple and Efficient Natural Language Processing (SustaiNLP). 2023: 190-200.\