Deploying Tranformer-based NER Models from any domain Link to FYP Project: https://dr.ntu.edu.sg/entities/publication/0e922184-1dda-4d50-b9d9-94f68cb6cba7
Instructions to Run:
- Clone folder to local
- Create virtual env and install requirements using 'pip install -r requirements.txt'
- Replace 'model.bin' and 'tokenizer' with your own model
- Edit model_config.yaml file to change model configurations
- Under ner_model.py, make changes to map_label() and map_color() functions to change entities and their respective colours according to the model
- Run 'python app.py' to start flask app