Skip to content

Commit

Permalink
v2.4
Browse files Browse the repository at this point in the history
  • Loading branch information
alvinzhou66 committed Nov 12, 2020
1 parent 09fe25e commit 566f04a
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 1 deletion.
18 changes: 18 additions & 0 deletions Docker_workspace/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
FROM continuumio/miniconda3

RUN apt-get update && apt-get install -y \
gcc

RUN git clone https://github.com/alvinzhou66/classification-of-scientific-software

RUN conda install -c conda-forge yarn

RUN cd classification-of-scientific-software && yarn install

RUN pip install --upgrade pip

COPY requirements.txt /opt/app/requirements.txt

RUN pip install -r /opt/app/requirements.txt

WORKDIR classification-of-scientific-software
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ pip install -r requirements.txt
```
3. Docker.
Install Docker first.
In the directory which has <i>our Dockerfile</i>, build the docker container:
In the directory which has <i>our Dockerfile (in folder -> /Docker_workspace)</i>, build the docker container:
```
docker build -t coss .
```
Expand Down
4 changes: 4 additions & 0 deletions binary_classifier/SOMEF_BIN_classifier.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@
"import torch \n",
"from DNN import FFN\n",
"import re\n",
"import nltk\n",
"nltk.download('punkt')\n",
"nltk.download('treebank')\n",
"nltk.download('stopwords')\n",
"from nltk.tokenize import word_tokenize\n",
"from nltk.corpus import stopwords\n",
"import pandas as pd\n",
Expand Down

0 comments on commit 566f04a

Please sign in to comment.