adding DockerFile

This commit is contained in:
thomwolf
2018-12-14 15:02:32 +01:00
parent 4a4b0e5783
commit 37378898a2

7
docker/Dockerfile Normal file
View File

@@ -0,0 +1,7 @@
FROM pytorch/pytorch:latest
RUN git clone https://github.com/NVIDIA/apex.git && cd apex && python setup.py install --cuda_ext --cpp_ext
RUN pip install pytorch-pretrained-bert
WORKDIR /workspace