Skip to content

Latest commit

 

History

History
26 lines (20 loc) · 713 Bytes

README.md

File metadata and controls

26 lines (20 loc) · 713 Bytes

GFNER

GFNER: A Unified Global Feature-aware Framework for Flat and Nested Named Entity Recognition

Setup conda enviroment

  • 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

How to use

git clone [email protected]:cjymz886/GFNER.git
cd GFNER
python run.py --mode train --config_name genia

Prediction Mode and Primary Mode

The comparison of prediction mode and primary mode:

primary_prediction

data

contain CoNLL2003,GENIA,weibo dataset, except ACE2005 since no right to share