Skip to content

Commit af03be5

Browse files
nouizGrégoire
authored andcommitted
some updates.
1 parent a262f81 commit af03be5

File tree

2 files changed

+13
-4
lines changed

2 files changed

+13
-4
lines changed

code/rnnslu.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
import theano
1616
from theano import tensor as T
1717

18-
PREFIX = os.getenv('ATISDATA', '')
18+
PREFIX = os.getenv('ATISDATA', 'data')
1919

2020

2121
# utils functions
@@ -99,7 +99,7 @@ def download(origin):
9999
def get_perf(filename):
100100
''' run conlleval.pl perl script to obtain
101101
precision/recall and F1 score '''
102-
_conlleval = PREFIX + 'conlleval.pl'
102+
_conlleval = 'conlleval.pl'
103103
if not os.path.isfile(_conlleval):
104104
url = 'http://www-etud.iro.umontreal.ca/~mesnilgr/atis/conlleval.pl'
105105
download(url)

doc/rnnslu.txt

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -358,8 +358,17 @@ The following intervals can give you some starting point:
358358
* number of hidden units : random value from {100,200}
359359
* embedding dimension : random value from {50,100}
360360

361-
Results
362-
+++++++
361+
Running the Code
362+
++++++++++++++++
363+
364+
The user can then run the code by calling:
365+
366+
.. code-block:: bash
367+
368+
python code/rnnslu.py
369+
370+
UPDATE THE OUTPUT TO THAT SCRIPT
371+
363372

364373
**Timing**
365374

0 commit comments

Comments
 (0)