File tree Expand file tree Collapse file tree 2 files changed +13
-4
lines changed Expand file tree Collapse file tree 2 files changed +13
-4
lines changed Original file line number Diff line number Diff line change 15
15
import theano
16
16
from theano import tensor as T
17
17
18
- PREFIX = os .getenv ('ATISDATA' , '' )
18
+ PREFIX = os .getenv ('ATISDATA' , 'data ' )
19
19
20
20
21
21
# utils functions
@@ -99,7 +99,7 @@ def download(origin):
99
99
def get_perf (filename ):
100
100
''' run conlleval.pl perl script to obtain
101
101
precision/recall and F1 score '''
102
- _conlleval = PREFIX + 'conlleval.pl'
102
+ _conlleval = 'conlleval.pl'
103
103
if not os .path .isfile (_conlleval ):
104
104
url = 'http://www-etud.iro.umontreal.ca/~mesnilgr/atis/conlleval.pl'
105
105
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:
358
358
* number of hidden units : random value from {100,200}
359
359
* embedding dimension : random value from {50,100}
360
360
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
+
363
372
364
373
**Timing**
365
374
You can’t perform that action at this time.
0 commit comments