# Advice on training NER models with new entities

**URL:** <https://support.prodi.gy/t/advice-on-training-ner-models-with-new-entities/1030>\
**Category:** Uncategorized\
**Tags:** usage, ner, hr\
**Created:** [December 11, 2018, 2:28pm UTC](https://support.prodi.gy/t/advice-on-training-ner-models-with-new-entities/1030 "2018-12-11T14:28:25Z")\
**Posts on this page:** 1\
**Showing post:** 14

<div class="post-metadata">

**Author:** ![ines](https://sea2.discourse-cdn.com/flex020/user_avatar/support.prodi.gy/ines/32/3_2.png) [@ines](https://support.prodi.gy/u/ines)\
**Post date:** [January 25, 2019, 5:22pm UTC](https://support.prodi.gy/t/advice-on-training-ner-models-with-new-entities/1030/14 "2019-01-25T17:22:17Z")

</div>

Ah, sorry, I think this is related to the following issue:

> [@ner.batch-train results in KeyError](https://support.prodi.gy/t/ner-batch-train-results-in-keyerror/1096):
>
> Hi and Happy New Year! I’m having an issue running ner.batch-train to train a model on a dataset I annotated using prodigy. I get the following trace: $ prodigy ner.batch-train ner\_train\_0.1.5 en\_core\_web\_sm Traceback (most recent call last): File "/home/matthew/.pyenv/versions/3.6.6/lib/python3.6/runpy.py", line 193, in \_run\_module\_as\_main "\_\_main\_\_", mod\_spec) File "/home/matthew/.pyenv/versions/3.6.6/lib/python3.6/runpy.py", line 85, in \_run\_code exec(code, run\_globals) File "…

We haven't shipped the fix for this yet, but setting `--unsegmented` on `ner.batch-train` should do the trick.

---

_[View the full topic](https://support.prodi.gy/t/advice-on-training-ner-models-with-new-entities/1030)._
