This is a project built for a simple English named entity recognition.
Put all model to backend/model
- Ner model
- Tags encoder
- Pretrained BERT
cd backend/model
git lfs install
git clone https://huggingface.co/bert-base-uncased
- Set directory for backend.
pip install -e .
- Install packages.
cd backend
pip install -r requirements.txt
- Start backend.
python app.py
Use Postman to send a post request to with a json body contains one 'text' field.
http://0.0.0.0:8000/ner/