Implementation of Hybrid-scales Contrastive learning based TCM Regularities Discovering model
The code has been tested running under Python 3.8. The required packages are listed in requirements.txt
chp
is the ChP dataset mentioned in paper, built from Pharmacopeia of the People's Republic of China 2015 Edition.
tcm_extract
is the TCMRel mentioned in paper.
run.py
is the main python file to run the model & downstream tasks.