https://github.com/Legal-NLP-EkStep/legal_NER
- For Bert, run the bert_token_classifier_ner.ipynb on a machine with GPU or Google Colab's GPU runtime (Please change labels to BILUO or BIO, and training parameters in training loop)
- For CRF, run the crf_ner.ipynb notebook on a local machine
- For Spacy tok2vec_config_1.cfg, tok2vec_config_2.cfg, tok2vec_config_3.cfg are the configuration files. To run them on a GPU runtime, pls follow tok2_vec_1.ipynb notebooks. Please replace the config files correctly in the command.