Repository files navigation
The project contain the following notebooks:
parse_data.ipynb - heavy notebook, it's results are stored in data directory, so that you can start from the explore_conll2003_en.ipynb
explore_conll2003_en.ipynb - lighweight notebook with data exploration
train_ner_spacy_conll2003.ipynb - can train on CPU in reasonable time
Steps to create docker container and run it (ner_spacy_ns is a container name, you can change it):
cd ner_proj/docker_ns
docker build -t ner_spacy_ns .
docker run -d -p 5000:5000 -it ner_spacy_ns
To run inference example (or same url from browser):
To run NER on your text from the command line
If you need to stop and remove other containers that take the ports above:
docker ps
docker stop container_id
docker rm container_id
If there any problem and you'd like to view cintainer logs
note: container_id is taken from docker ps
docker logs container_id
About
Named entity recognition, based on Spacy ner, retrained on English part of Conll2003 dataset.
Topics
Resources
License
Stars
Watchers
Forks
You can’t perform that action at this time.