aaronmarkham commented on a change in pull request #13184: [Example]update NER 
example readme on module prediction
URL: https://github.com/apache/incubator-mxnet/pull/13184#discussion_r232795483
 
 

 ##########
 File path: example/named_entity_recognition/README.md
 ##########
 @@ -15,4 +15,12 @@ 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()`
+
+Refer to [Bucketing Module 
example](https://github.com/apache/incubator-mxnet/blob/master/example/rnn/bucketing/cudnn_rnn_bucketing.py#L167)
 
 Review comment:
   ```suggestion
   Refer to the [Bucketing Module 
example](https://github.com/apache/incubator-mxnet/blob/master/example/rnn/bucketing/cudnn_rnn_bucketing.py#L167)
   ```

----------------------------------------------------------------
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