transformers/docker/Dockerfile
2018-12-14 15:02:32 +01:00

7 lines
197 B
Docker

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