Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
amaiya committed Mar 18, 2020
2 parents cf983b2 + c7886e1 commit a0a8ef0
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion examples/text/CoNLL2002_Dutch-BiLSTM.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,11 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"As of v0.11.0 of *ktrain*, saved NER predictors can also be used with the [shallownlp NER](https://nbviewer.jupyter.org/github/amaiya/ktrain/blob/master/examples/text/shallownlp-examples.ipynb) class to make predictions on new sentences."
"The `predictor` can be re-loaded from disk with:\n",
"```python\n",
"predictor = ktrain.load_predictor('/tmp/my_dutch_nermodel')\n",
"```\n",
"As of v0.11.x of *ktrain*, saved NER predictors can also be reloaded with the [shallownlp NER](https://nbviewer.jupyter.org/github/amaiya/ktrain/blob/master/examples/text/shallownlp-examples.ipynb) class to make predictions on new sentences."
]
},
{
Expand Down

0 comments on commit a0a8ef0

Please sign in to comment.