GFNER: A Unified Global Feature-aware Framework for Flat and Nested Named Entity Recognition
- pip install transformers==4.17.0
- pip install bert4keras==0.11.0
- pip install tensorflow==2.2
- conda install pytorch==1.8.0 torchvision==0.9.0 torchaudio==0.8.0 cudatoolkit=11.1 -c pytorch -c conda-forge
git clone [email protected]:cjymz886/GFNER.git
cd GFNER
python run.py --mode train --config_name genia
The comparison of prediction mode and primary mode:
contain CoNLL2003,GENIA,weibo dataset, except ACE2005 since no right to share