forked from jniehues-kit/SLT.KIT
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile.ST-Baseline
30 lines (22 loc) · 1.07 KB
/
Dockerfile.ST-Baseline
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
30
From nvidia/cuda
#PyTorch
RUN apt-get update && apt-get install -y python-pip python-dev build-essential libyaml-dev git wget xml-twig-tools libsort-naturally-perl default-jre
RUN pip install --upgrade pip
RUN pip install http://download.pytorch.org/whl/cu90/torch-0.3.0.post4-cp27-cp27mu-linux_x86_64.whl
RUN pip install torchvision
RUN pip install -U numpy
RUN pip install nltk
RUN cd /opt && \
git clone https://github.com/quanpn90/OpenNMT-py -b MultiLingual
RUN cd /opt && \
git clone https://github.com/jniehues-kit/SLT.KIT.git
RUN cd /opt && \
git clone https://github.com/moses-smt/mosesdecoder.git
RUN cd /opt && \
git clone https://github.com/rsennrich/subword-nmt.git
RUN cd /opt && \
wget http://www.cs.umd.edu/%7Esnover/tercom/tercom-0.7.25.tgz && \
tar xfvz tercom-0.7.25.tgz
RUN cd /opt && wget https://raw.githubusercontent.com/stanojevic/beer/master/packaged/beer_2.0.tar.gz && tar xfvz beer_2.0.tar.gz
RUN cd /opt && git clone https://github.com/rwth-i6/CharacTER.git
#docker run -ti --rm --runtime=nvidia -e NVIDIA_VISIBLE_DEVICES=2 nvidia/cuda