Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

Commit

Permalink
[Example]update NER example readme on module prediction (#13184)
Browse files Browse the repository at this point in the history
* update readme on module prediction

* fix typo

* update url

* improve grammar

* update link
  • Loading branch information
roywei authored and szha committed Nov 17, 2018
1 parent 2775006 commit 96a2a09
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion example/named_entity_recognition/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,12 @@ To reproduce the preprocessed training data:

To train the model:

- `$ cd src && python ner.py`
- `$ cd src && python ner.py`

To run inference using trained model:

1. Recreate the bucketing module using `sym_gen` defined in `ner.py`
2. Loading saved parameters using `module.set_params()`

Refer to the `test` function in the [Bucketing Module example](https://github.com/apache/incubator-mxnet/blob/master/example/rnn/bucketing/cudnn_rnn_bucketing.py)
and this [issue](https://github.com/apache/incubator-mxnet/issues/5008) on Bucketing Module Prediction

0 comments on commit 96a2a09

Please sign in to comment.