Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Dockerfile and fix requirements #171

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
FROM tensorflow/tensorflow:1.15.5-gpu-py3

RUN apt-get update -y && apt-get install -y python3-dev build-essential wget

COPY . /app

WORKDIR /app

RUN pip install -r requirements.txt

RUN ./download.sh

ENV BIOBERT_DIR=./biobert_v1.1_pubmed

ENV NER_DIR=./datasets/NER/NCBI-disease

ENV OUTPUT_DIR=./ner_outputs

RUN mkdir -p $OUTPUT_DIR
8 changes: 4 additions & 4 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
tensorflow-gpu==1.15.2 # GPU version of TensorFlow >= 1.11.0. (should be under 2.0.0)

tensorflow-gpu==1.15.5 # GPU version of TensorFlow >= 1.11.0. (should be under 2.0.0)
numpy==1.18.0


# To evaluate RE answers :
sklearn
pandas==0.23
scikit-learn==0.24.2
pandas==1.1.5

# To evaluate BioASQ answers, your system should be able to execute java codes.
# Please refer https://github.com/BioASQ/Evaluation-Measures for details.