https://github.com/deeppavlov/stand_ner_en_ontonotes
https://github.com/deeppavlov/stand_ner_en_ontonotes
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/deeppavlov/stand_ner_en_ontonotes
- Owner: deeppavlov
- Created: 2018-03-21T11:08:54.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-05-14T10:52:31.000Z (about 8 years ago)
- Last Synced: 2025-11-14T17:25:24.087Z (9 months ago)
- Language: Python
- Size: 27.3 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Demo stand. Model: NER ontonotes (English)
## Installation and start
1. Clone the repo and `cd` to project root:
```
git clone https://github.com/deepmipt/stand_ner_en_ontonotes.git
cd stand_ner_en_ontonotes
```
2. Run script to download and unpack model components:
```
./download_components.sh
```
3. Create a virtual environment with `Python 3.6`:
```
virtualenv env -p python3.6
```
4. Activate the environment:
```
source ./env/bin/activate
```
5. Install requirements:
```
pip install -r requirements.txt
```
6. Specify model endpoint host (`api_host`) and port (`api_port`) in `ner_agent_config.json`
7. Specify virtual environment path (if necessary) in `run_ner_en_ontonotes.sh`
8. Run model:
```
./run_ner_en_ontonotes.sh
```
## Building and running with Docker:
1. If necessary, build Base Docker image from:
https://github.com/deepmipt/stand_docker_cuda
2. Clone the repo and `cd` to project root:
```
git clone https://github.com/deepmipt/stand_ner_en_ontonotes.git
cd stand_ner_en_ontonotes
```
3. Build Docker image:
```
sudo docker build -t stand/ner_en_ontonotes .
```
4. Run Docker image:
```
sudo docker run -p :6010 -v :/logs stand/ner_en_ontonotes
```