Pytorch implementation of "Enhancing Chinese Pre-trained Language Model via Heterogeneous Linguistics Graph", ACL 2022
All configuration are described in args.py
:
python3 run_class.py --help
python3 run_match.py --help
Please download pre-trained language models and configure the corresponding path in args.py
.
python3 run_class.py --exp_name <exp name> --do_train
Part of the processed datasets are uploaded in dataset
folder.
If you want to conduct experiments on other datasets, please follow the format of these datasets.
Please refer to collate
function in dataloader/classifier.py
or dataloader/matcher.py
.
Please refer to model.py
.
Not released, will consider if necessary.