BERT_CRF model for Name Entity Recognition in pytorch
Setting up the initial requirements
pip install -r requirements.txt
For traninig a model:
Keep the training data file in the corpus directory
cd bert-crf4NER
python bert_crf.py --mode train
For testing the model:
Keep the test/dev data file in the corpus directory
cd bert-crf4NER
python bert_crf.py --mode test