piyushghai commented on a change in pull request #13184: update NER example 
readme on module prediction
URL: https://github.com/apache/incubator-mxnet/pull/13184#discussion_r231975481
 
 

 ##########
 File path: example/named_entity_recognition/README.md
 ##########
 @@ -15,4 +15,11 @@ To reproduce the preprocessed training data:
 
 To train the model:
 
-- `$ cd src && python ner.py`
\ No newline at end of file
+- `$ cd src && python ner.py`
+
+To inference using trained model:
+
+1. Re-create the bucketing module using `sym_gen` defined in `ner.py`
+2. Loading saved parameters using `module.set_params()`
+
+Refere to [Bucketing Module 
example](https://github.com/apache/incubator-mxnet/blob/e9a590fa6554231fba404dad08acee5cd3e786a8/example/rnn/bucketing/cudnn_rnn_bucketing.py#L167)
 and this [issue](https://github.com/apache/incubator-mxnet/issues/5008) on 
Bucketing Module Prediction
 
 Review comment:
   Nit : Typo in 'Refere'. 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to