-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
29 lines (29 loc) · 901 Bytes
/
docker-compose.yml
File metadata and controls
29 lines (29 loc) · 901 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
version: "3.9"
services:
data-review-tool:
image: metaextractor-data-review-tool:v0.0.1
build:
dockerfile: ./docker/data-review-tool/Dockerfile
context: .
ports:
- "8050:8050"
volumes:
- ./data/data-review-tool:/MetaExtractor/data/data-review-tool
entity-extraction-pipeline:
image: metaextractor-entity-extraction-pipeline:v0.0.2
build:
dockerfile: ./docker/entity-extraction-pipeline/Dockerfile
context: .
args:
HF_NER_MODEL_NAME: "roberta-finetuned-v3"
SPACY_NER_MODEL_NAME: "spacy-transformer-v3"
ports:
- "5000:5000"
volumes:
- ./data/entity-extraction/raw/original_files/:/inputs/
- ./data/entity-extraction/processed/processed_articles/:/outputs/
environment:
- USE_NER_MODEL_TYPE=huggingface
- LOG_OUTPUT_DIR=/outputs/
- MAX_SENTENCES=20
- MAX_ARTICLES=1