- 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
- cd ner_proj/docker_ns
- docker build -t ner_spacy_ns .
- docker run -d -p 5000:5000 -it ner_spacy_ns
- place you text after the =, like in example below. curl http://0.0.0.0:5000/inp_text=Daniel%20is%20travelling%20to%20US
- open a browser and go to url: http://0.0.0.0:5000/inp_text=you text without ecape characters
- docker ps
- docker stop container_id
- docker rm container_id
- note: container_id is taken from docker ps
- docker logs container_id