# Can't find model 'en\_vectors\_web\_lg'. It doesn't seem to be a shortcut link, a Python package or a valid path to a data directory.

**URL:** <https://support.prodi.gy/t/cant-find-model-en-vectors-web-lg-it-doesnt-seem-to-be-a-shortcut-link-a-python-package-or-a-valid-path-to-a-data-directory/3237>\
**Category:** Uncategorized\
**Tags:** install, solved\
**Created:** [July 27, 2020, 12:30pm UTC](https://support.prodi.gy/t/cant-find-model-en-vectors-web-lg-it-doesnt-seem-to-be-a-shortcut-link-a-python-package-or-a-valid-path-to-a-data-directory/3237 "2020-07-27T12:30:05Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jakub](https://avatars.discourse-cdn.com/v4/letter/j/ecb155/32.png) [@Jakub](https://support.prodi.gy/u/Jakub)\
**Post date:** [July 27, 2020, 12:30pm UTC](https://support.prodi.gy/t/cant-find-model-en-vectors-web-lg-it-doesnt-seem-to-be-a-shortcut-link-a-python-package-or-a-valid-path-to-a-data-directory/3237/1 "2020-07-27T12:30:05Z")

</div>

Hello Prodigy team,

I'm following your tutorial here

[![](https://img.youtube.com/vi/59BKHO_xBPA/hqdefault.jpg "Training a NAMED ENTITY RECOGNITION MODEL with Prodigy and Transfer Learning") ](https://www.youtube.com/watch?v=59BKHO_xBPA)

and

> **[projects/ner-food-ingredients at master · explosion/projects](https://github.com/explosion/projects/tree/master/ner-food-ingredients)**
>
> master/ner-food-ingredients

Could you please help me debug the error in the title? I saw you were debugging it in the past here once, but I'm wasn't able to resolve my problem.

I'm quite sure I have the model installed and linked.

I am able to do

```
import spacy;
spacy.load('en_core_web_lg');

```

but not

```
prodigy train ner my_data en_vectors_web_lg --init-tok2vec ./tok2vec_cd8_model289.bin --output ./tmp_model --eval-split 0.2

```

I also tried linking to the model directly like this:

```
 prodigy train ner my_data /Users/Jakub/.pyenv/versions/3.7.7/lib/python3.7/site-packages/spacy/data/en/en_core_web_lg-2.3.1 --init-tok2vec ../tok2vec_cd8_model289.bin --output ./tmp_model --eval-split 0.2
✔ Loaded model
'/Users/Jakub/.pyenv/versions/3.7.7/lib/python3.7/site-packages/spacy/data/en/en_core_web_lg-2.3.1'
Created and merged data for 18 total examples
Using 15 train / 3 eval (split 20%)
Component: ner | Batch size: compounding | Dropout: 0.2 | Iterations: 10
✔ Initializing with tok2vec weights ../tok2vec_cd8_model289.bin

```

.. but then I'm getting

```
ValueError: could not broadcast input array from shape (128) into shape (96)

```

Could you please help?

Best regards,  
Jakub

---

<div class="post-metadata">

**Author:** ![Jakub](https://avatars.discourse-cdn.com/v4/letter/j/ecb155/32.png) [@Jakub](https://support.prodi.gy/u/Jakub)\
**Post date:** [July 27, 2020, 2:50pm UTC](https://support.prodi.gy/t/cant-find-model-en-vectors-web-lg-it-doesnt-seem-to-be-a-shortcut-link-a-python-package-or-a-valid-path-to-a-data-directory/3237/2 "2020-07-27T14:50:44Z")

</div>

The problem was the model path. I had to change it from

This:

```
/Users/Jakub/.pyenv/versions/3.7.7/lib/python3.7/site-packages/spacy/data/en/en_core_web_lg-2.3.1 

```

to this:

```
/Users/Jakub/.pyenv/versions/3.7.7/lib/python3.7/site-packages/en_core_web_lg/en_core_web_lg-2.3.1

```

The next issue is unfortunately the shape of data caused by

```
ValueError: could not broadcast input array from shape (128) into shape (96)

```

I noticed that some people have reported a similar problem on this forum with a common solution to use the LG model instead of SM. But as I'm using the LG model, I'm wondering what I'm doing wrong.

---

<div class="post-metadata">

**Author:** ![Jakub](https://avatars.discourse-cdn.com/v4/letter/j/ecb155/32.png) [@Jakub](https://support.prodi.gy/u/Jakub)\
**Post date:** [July 28, 2020, 6:55am UTC](https://support.prodi.gy/t/cant-find-model-en-vectors-web-lg-it-doesnt-seem-to-be-a-shortcut-link-a-python-package-or-a-valid-path-to-a-data-directory/3237/3 "2020-07-28T06:55:46Z")

</div>

Solved. I was using the wrong model. Use the en\_ **vectors** \_web\_lg

python -m spacy download en\_vectors\_web\_lg

For the team reference where I think it went sideways:

If you click on the model to download en\_vectors\_web\_lg, it opens "[https://spacy.io/models/en#en\_vectors\_web\_lg](https://spacy.io/models/en#en_vectors_web_lg)", notice the anchor #en\_vectors\_web\_lg. But the model is not on the webpage. As the LG is the key differentiator when it comes to the models, I concentrated on finding LG and discarded the remainder of the model name.

 ![image](https://us1.discourse-cdn.com/flex020/uploads/prodigy/original/2X/c/c4a89963903712cd0b9ba575dd15e459ee025189.png)

Maybe this will help to somebody.

---

<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:** [July 28, 2020, 9:03am UTC](https://support.prodi.gy/t/cant-find-model-en-vectors-web-lg-it-doesnt-seem-to-be-a-shortcut-link-a-python-package-or-a-valid-path-to-a-data-directory/3237/4 "2020-07-28T09:03:02Z")

</div>

> [@Jakub](#):
>
> If you click on the model to download en\_vectors\_web\_lg, it opens "[English · spaCy Models Documentation](https://spacy.io/models/en#en_vectors_web_lg)", notice the anchor #en\_vectors\_web\_lg. But the model is not on the webpage. As the LG is the key differentiator when it comes to the models, I concentrated on finding LG and discarded the remainder of the model name.

Oh, thanks for the heads-up and sorry about the confusion! I We previously had the vectors-only models on the same page as the pretrained core models, but then moved them to the "starter models" page: [English · spaCy Models Documentation](https://spacy.io/models/en-starters) This is a better fit, because the vectors are really just vectors you can train on top of and bootstrap your models with – but I guess we forgot to update the link in the README.
