Skip to content

Commit d390f8d

Browse files
authored
Merge pull request #15 from bzz/first-pass
Adding OpenNMT-tf to dependencies
2 parents d4892c4 + 3bc87de commit d390f8d

File tree

4 files changed

+16
-13
lines changed

4 files changed

+16
-13
lines changed

Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -74,9 +74,9 @@ RUN apt-get update \
7474
COPY jupyter-notebook-config.json /root/.jupyter/nbconfig/notebook.json
7575
COPY jupyter-server-config.json /root/.jupyter/jupyter_notebook_config.json
7676

77-
COPY requirements.txt conf
78-
79-
RUN pip3 install --no-cache-dir -r conf/requirements.txt
77+
COPY requirements*.txt conf/
78+
RUN pip3 install --no-cache-dir -r conf/requirements.txt \
79+
&& pip3 install --no-cache-dir -r conf/requirements-tf.txt
8080

8181
WORKDIR /devfest/notebooks
8282

README.md

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,16 @@
1-
# Understand your code with Machine Learning on Source Code
1+
# Understand your code with Machine Learning
22

33
Workshop given at [DevFest Nantes 2019](https://devfest.gdgnantes.com/sessions/understand_your_code_with_machine_learning_on_source_code/).
44

5-
<details>
5+
Slides: on [gDrive](https://docs.google.com/presentation/d/1vF0JMagmXXzn-h-OaJu6CsDt78oSQSg58YFJsBUaHxk/edit#slide=id.g4f0d75b8b4_0_0)
6+
7+
OSS tools covered:
8+
- [gitbase](https://docs.sourced.tech/gitbase)
9+
- [bblfsh](https://doc.bblf.sh)
10+
- [BigARTM](http://bigartm.org)
11+
- [OpenNMT](http://opennmt.net)
12+
13+
<details>
614
<summary>Abstract</summary>
715

816
> Machine Learning on Source Code (MLonCode) is an emerging and exciting research domain which stands at the sweet spot between deep learning, natural language processing, social science, and programming.
@@ -24,13 +32,6 @@ Workshop given at [DevFest Nantes 2019](https://devfest.gdgnantes.com/sessions/u
2432
2533
</details>
2634

27-
Slides: on [gDrive](https://docs.google.com/presentation/d/1vF0JMagmXXzn-h-OaJu6CsDt78oSQSg58YFJsBUaHxk/edit#slide=id.g4f0d75b8b4_0_0)
28-
29-
OSS tools covered:
30-
- [gitbase](https://docs.sourced.tech/gitbase)
31-
- [bblfsh](https://doc.bblf.sh)
32-
- [BigARTM](http://bigartm.org)
33-
- [OpenNMT](http://opennmt.net)
3435

3536
## Prerequisites
3637
- Docker

requirements-tf.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
youtokentome == 1.0.1
2+
OpenNMT-tf == 2.1.1
3+
coloredlogs == 10.0

requirements.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,5 @@ bblfsh == 4.1.0
44
GitPython == 3.0.3
55
PyStemmer == 1.3.0
66
pyLDAvis == 2.1.2
7-
OpenNMT-py == 1.0.0rc1
87
scikit-learn == 0.21.3
98
seriate == 1.1.1

0 commit comments

Comments
 (0)