Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
emoUS-public
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
general
dsml
emoUS-public
Commits
772a32f1
Unverified
Commit
772a32f1
authored
Sep 4, 2020
by
Jinchao Li
Committed by
GitHub
Sep 4, 2020
Browse files
Options
Downloads
Patches
Plain Diff
Add dockerfile (#98)
* fix nlg template * add dockerfile
parent
67f9dddf
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
Dockerfile
+51
-0
51 additions, 0 deletions
Dockerfile
with
51 additions
and
0 deletions
Dockerfile
0 → 100644
+
51
−
0
View file @
772a32f1
FROM
nvidia/cuda:10.1-cudnn7-runtime-ubuntu18.04
ENV
DEBIAN_FRONTEND noninteractive
RUN
apt-get update
RUN
apt-get
install
-y
--no-install-recommends
software-properties-common
RUN
add-apt-repository ppa:deadsnakes/ppa
RUN
apt-get update
RUN
apt-get
install
-y
--no-install-recommends
python3.7 python3-pip build-essential libssl-dev libffi-dev python3.7-dev
RUN
python3.7
-m
pip
install
--upgrade
pip
RUN
python3.7
-m
pip
install
setuptools wheel
RUN
which python3.7
RUN
which pip3
RUN
ln
-f
-s
/usr/bin/python3.7 /usr/bin/python
RUN
ln
-f
-s
/usr/bin/pip3 /usr/bin/pip
RUN
python
--version
RUN
pip
install
nltk
==
3.4
RUN
pip
install
tqdm
==
4.30
RUN
pip
install
checksumdir
==
1.1
RUN
pip
install
dataclasses
RUN
pip
install
visdom
RUN
pip
install
Pillow
RUN
pip
install
future
RUN
pip
install
torch
RUN
pip
install
numpy
==
1.15.0
RUN
pip
install
scipy
RUN
pip
install
scikit-learn
==
0.20.3
RUN
pip
install
pytorch-pretrained-bert
==
0.6.1
RUN
pip
install
transformers
==
2.3.0
RUN
pip
install
tensorflow
==
1.14
RUN
pip
install
tensorboard
==
1.14.0
RUN
pip
install
tensorboardX
==
1.7
RUN
pip
install
tokenizers
==
0.8.0
RUN
pip
install
allennlp
==
0.9.0
RUN
pip
install
requests
RUN
pip
install
simplejson
RUN
pip
install
spacy
RUN
pip
install
unidecode
RUN
pip
install
jieba
RUN
pip
install
embeddings
RUN
pip
install
quadprog
RUN
pip
install
pyyaml
RUN
[
"python"
,
"-c"
,
"import nltk; nltk.download('stopwords')"
]
WORKDIR
/root
CMD
["/bin/bash"]
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment