# \[E896\] on training existing model (NER)

**URL:** <https://support.prodi.gy/t/e896-on-training-existing-model-ner/6833>\
**Category:** Uncategorized\
**Tags:** ner, usage\
**Created:** [October 9, 2023, 9:55am UTC](https://support.prodi.gy/t/e896-on-training-existing-model-ner/6833 "2023-10-09T09:55:54Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![aheydeck](https://avatars.discourse-cdn.com/v4/letter/a/ac91a4/32.png) [@aheydeck](https://support.prodi.gy/u/aheydeck)\
**Post date:** [October 9, 2023, 9:55am UTC](https://support.prodi.gy/t/e896-on-training-existing-model-ner/6833/1 "2023-10-09T09:55:54Z")

</div>

Hi, i'm running the train recipe, but getting this error:

> RuntimeError: [E896] There was an error using the static vectors. Ensure that the vectors of the vocab are properly initialized, or set 'include\_static\_vectors' to False.

The command im using is:

> python -m prodigy train ./nercorrectoutputdir --ner prs\_correction\_dataset --base-model sv\_core\_news\_lg

Been trying to search any information about this, but come up short.  
Any ideas how to fix this issue?

---

<div class="post-metadata">

**Author:** ![ryanwesslen](https://sea2.discourse-cdn.com/flex020/user_avatar/support.prodi.gy/ryanwesslen/32/2969_2.png) [@ryanwesslen](https://support.prodi.gy/u/ryanwesslen)\
**Post date:** [October 10, 2023, 7:41pm UTC](https://support.prodi.gy/t/e896-on-training-existing-model-ner/6833/2 "2023-10-10T19:41:46Z")

</div>

hi @aheydeck!

Thanks for your question and welcome to the Prodigy community 👋

Just curious, what if you run:

```python
python -m prodigy spacy-to-data ./nercorrectoutputdir --ner --ner prs_correction_dataset --base-model sv_core_news_lg 
python -m spacy train ./nercorrectoutputdir/config.cfg --paths.train ./nercorrectoutputdir/train.spacy --paths.dev ./nercorrectoutputdir/dev.spacy

```

`prodigy train` is just a wrapper for `spacy train`. `data-to-spacy` will break up a hidden step in `prodigy train` where it creates the training/config file and instead do the first step by outputting your data into a train/eval binary files (that's the `train.spacy` and `dev.spacy`) and create a default spaCy config file. You'd then run `spacy train` on the output of `data-to-spacy` (see the [docs](https://prodi.gy/docs/recipes#data-to-spacy) for more details).

I'm wondering if there's some issue with the config file. Your error message suggests a possible resolution where you can modify the config file by either initializing your vectors (e.g., add this to your config file `vectors = "sv_core_news_lg"`) or `include_static_vectors` to False. So by using `data-to-spacy`, can you try either of these suggestions to modify your `config.cfg` file?

Does this help?
