AAAI 2022 paper: Unified Named Entity Recognition as Word-Word Relation Classification
This repository corresponds to the PaddlePaddle implementation of W2NER.
- python (3.8.12)
- cuda (11.4)
- Download dataset
- Process them to fit the same format as the example in
data/
- Put the processed data into the directory
data/
>> python main.py --config ./config/example.json
>> python main.py --ckpt [Pretrained Model Path]
We provide a pretrained model, which can be downloaded from BaiduYun, keyword is: edns. You should unzip and put it in the main directory.