File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1515import theano
1616from 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):
9999def 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 )
Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments