You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by GitBox <gi...@apache.org> on 2018/11/08 19:11:58 UTC

[GitHub] nswamy commented on a change in pull request #13184: update NER example readme on module prediction

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

 ##########
 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()`
+
+Refer 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:
   can you reference this relative to the master rather than a particular commit?

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services