This is the code repository for the article "Enhancing Relational Triple Extraction in Specific Domains: Semantic Enhancement and Synergy of LLMs and SLMs."
requirements
python==3.8
torch==1.7.1
transformers==4.12.5
tdqm
Place the BERT model in the root directory.
This work is used for the Confidential project. Part of the code is already in use and is restricted by a confidentiality agreement and cannot be made public. If you wish to access it, please go through our review process. Send an email to "[email protected]" for further information.